Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange Query of Queries Error

Status
Not open for further replies.

imstillatwork

IS-IT--Management
Sep 26, 2001
1,605
US
Hell...o

the code i am using works perfect on our dev server (MX7, mysql 4.1) but not on our crystaltech server... mx7, mysql 4.1x

here is the error

Code:
 Query Of Queries runtime error.
Query Of Queries runtime error.
Unsupported Cast Excpetion: Casting to type "NULL" is unsupported.
 
The error occurred in D:\Inetpub\watg\com\content.cfc: line 135
Called from D:\Inetpub\watg\templates\pages\view_projects_by_region.cfm: line 11
Called from D:\Inetpub\watg\index.cfm: line 2

133 :     </cfoutput>
134 :    
135 :     <cfquery dbtype="query" name="qData">
136 :       SELECT * FROM qOutput
137 :     </cfquery>

I don't know where to begin. the query object 'qOutput' is fine, and is a query with several rows.

I don't get why it works on one server and not the other... any insight to this error???

Kevin
 
What happens if you select one column by name? If the first one you pick doesn't work try it with a few of the others.

SELECT ColumnA
FROM qOutput


 
IMO, You should always avoid select *

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top