Forum Moderators: coopster & phranque

Message Too Old, No Replies

SQL Statement

         

em00guy

12:26 am on Jan 15, 2002 (gmt 0)



I'm creating a query that will extract records from a clients DB. However some of the DB fields are assigned names with two words ("activity type" for example). IIS doesn't seem to like this. How do I query a field with a two word name with out changing the field name ?

justa

12:37 am on Jan 15, 2002 (gmt 0)

10+ Year Member



I'd advise you to rename the fields. It is a long painful task but will save you time and problems in the future. Spaces in field names are a big no no. Try to keep them to one word, or include an _ if you must have a space (although I have heard of that causing problems also).

ralnikov

8:04 am on Jan 15, 2002 (gmt 0)

10+ Year Member



set rs = conn.execute("select * from [hello hunny]")

em00guy

1:42 pm on Jan 15, 2002 (gmt 0)



That worked. Thanx.