|
-
Jul 11th, 1999, 12:57 PM
#1
Thread Starter
Addicted Member
I have problem using SQL to retrieve data from a table if it's name consist of two word like "My employee", Visual basic will give error that table name "My" is not exist.
Any idea how to solve this error with out changing the table name to one word.
Appreciated
-
Jul 11th, 1999, 01:13 PM
#2
Addicted Member
Try using [My employee] when you refer to the table in SQL
e.g.
SELECT * FROM [My employee]
Also in VB code.
Cheers,
John.
-
Jul 11th, 1999, 03:42 PM
#3
Thread Starter
Addicted Member
Thank you, I tried it out and it worked excellent
Best Regards
Maq
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|