faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Database Backed Sites

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 9 people (56%) answered Yes
Recently 4 of 8 people (50%) answered Yes

Entry

SQL "select * from Orders" returns no result set but I know there's data?

May 16th, 2000 22:30
unknown unknown, Alexandar Minkovsky, Michael Brinkley


Did your Orders table contain a field named Order? If so, this is a
reserved word - try using '[Order]' in your SQL statement.

I had a similiar problem recently. My table name was the same as the 
database name. When I changed the table name the problem went away. Try 
changing your table name to something like: CustOrders



© 1999-2004 Synop Pty Ltd