Computing.Net > Forums > Programming > Are there non-usable column names?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Are there non-usable column names?

Reply to Message Icon

Name: mking (by mkingrey)
Date: September 28, 2005 at 11:11:09 Pacific
OS: XP
CPU/Ram: 1.4 ghz
Comment:

I ran into something interesting when querying an Access database from a vb.net webform. I had two columns one named "Time" and one named "Open." I could not use the INSERT clause until I changed the name of the columns in the databases. Has anyone ever ran into something like this before?



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: September 28, 2005 at 11:35:41 Pacific
Reply:

I have comes across the problem with Time. It is because Time is a function within VB for Applications, the programming language used with Access. You will get the same problem with Date.

I imagine that the same applies to Open as Open is a function within VB for Applications.

Stuart


0

Response Number 2
Name: SN
Date: September 29, 2005 at 12:43:34 Pacific
Reply:

I've run into it in mySQL with a table named 'Order'...You should be able to workaround it by specifying the table...ie 'SELECT * FROM tablename.Time';

Good luck,
-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Copying Batch to another ... read frm another applicat...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Are there non-usable column names?

Batch file-add column names to CSV www.computing.net/answers/programming/batch-fileadd-column-names-to-csv/15851.html

Renaming columns, sp_'s, triggers www.computing.net/answers/programming/renaming-columns-sps-triggers/6392.html

Sql Query & Joining condition ? www.computing.net/answers/programming/sql-query-amp-joining-condition-/10673.html