03-01-2007 10:03 AM
03-01-2007 01:28 PM
Try putting a double quote mark (") around the table name.
And find the designer of the database and slap him or her up side the head.
02-08-2012 08:46 AM
Hi Dennis. I did what you recommended and it both worked and hurt. What is it about the database that requires quotes? I am designing both the LabVIEW and SQL Express sections. Thanks.
02-08-2012 08:58 AM
The problem is that names in databases should not have spaces. Table names, column names - no spaces... To make matters worse, different DBMS use different delimiters. Some use double quotes, some (like Jet) use square brackets. It can get messy very fast. How many tables do you have that have "bad" names in them? If you created the databases originally, you might be money ahead to recreate the database with good names and write a small program to transfer all the data to the new tables.
Mike...
PS: This sort of situation is why I always recommend that you don't create tables interactively. Take the time to write the SQL scripts to allow you to edit and recreate the entire database if necesary. Alternately, Oracle distributes (for free) a tool called Data Modeler that has a nice interface for defining database structure and can then generate the SQL scripts for you in versions that are compatable with several major DBMS.