House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

SQL Issue with NULL

Author:
Matthew Walker
04/27/2003 04:07 PM

I had a query of a query working like this: WHERE Response_DT IS NOT NULL Does that work for you? > Matthew, > > I wish that was it. But it still doesn't work I've tried this query > every way and the only time it runs is when I take NULL out of the QoQ. > > Regards, > JB > > > <CFQUERY name="CallCachedQuery" dbtype="query"> > SELECT * > FROM CreateTimedCached > WHERE NOT Response_DT IS NULL > </CFQUERY> > > Error Diagnostic Information > Query Manipulation Error Code = 0 > > Invalid Operator NOT > SQL = "SELECT * FROM CreateTimedCached WHERE NOT Response_DT IS NULL" > Data Source = "" > > Date/Time: 04/27/03 10:37:06 > Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) > Remote Address: 127.0.0.1 > > > Matthew Walker wrote: > > >>Error Executing Database Query. > >>[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name > >>'CreateTimedCached'. > >>  The Error Occurred in C:\CFusionMX\wwwroot\testQ0Q.cfm: line 23 > >> 21 : FROM CreateTimedCached > >>22 : WHERE NOT Response_DT IS NULL > >>23 : </CFQUERY> > >> > >> > > > >Here's the thing: This is a SQL Server error but SQL Server shouldn't be > >involved in a QoQ right? It's all done by the CF server, so as Philip > >pointed out the datasource in your cfquery is causing confusion. > > > > > > >


Search cf-talk

May 25, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference