MSSQL view query with datediff creates undefined query variable
Hi,
In coldfusion 9 i use a view as a table, defined in a MSSQL 2005 db. nothing weird so far.
code:
<cfquery name="viewQuery" datasource="foo">
select bar from ViewTable where datediff(d,date1, date2) = 0
</cfquery>
When the result is 0 de ViewQuery variable is undefined, in previous versions it wasn't the case, because it acted like a normal table.
Is this going to stay this way or is it a bug?
Kind regards,
Chris
