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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

characters in SQL

Status
Not open for further replies.

rhintintin

Technical User
Jan 31, 2001
12
GB
I have queries and tables with the characters ( ) and / in them, but when you write a SQL it gets all confused and starts to give error messages, can this be stopped or do i have to rename all my queries etc... this is really bugging me cos if you can have queries and table names with these characters in why does SQL get in such a stress

cheers
 
In SQL the () characters are used to delimit fields etc, or in the case of column names it thinks they are functions. There is nothing that I know of that you can do about this, unless you put [] around the table names. This works in SQL to note that it is either a table or column name rather than a fubction name. That might work.

James :)

James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top