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

SQL Statement with Hyphen in Table Name

Status
Not open for further replies.

koppelsteel

Technical User
Mar 1, 2001
9
0
0
US
How do I format the sql statement for an ADO recordsource when the table name has hyphens in it.

Example: select * from pub.sls-cohd
 
try

select * from [pub.sls-cohd]
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top