kickstart Posted November 4, 2009 Share Posted November 4, 2009 Hi I am trying to extract the contents of an Access database into SQLite so it can be downloaded and used in another app. One of the table names has a space in it and if I can I would prefer to keep all the table and column names the same. However I cannot see how to delimit table names in SQLite to allow me to use spaces. I have tried delimiting with `, [] and ", and all result in an invalid database. All the best Keith Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted November 4, 2009 Share Posted November 4, 2009 Double-quotes should work. Is there a chance that the name is all numeric characters? I would convert spaces to an under-score Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted November 4, 2009 Share Posted November 4, 2009 yes bad idea to keep spaces in table names but you just hit the reason why Quote Link to comment Share on other sites More sharing options...
kickstart Posted November 4, 2009 Author Share Posted November 4, 2009 Double-quotes should work. Is there a chance that the name is all numeric characters? I would convert spaces to an under-score Double quotes do work for column names, but don't appear to work for table names. In many ways I would prefer to use underscores, but would also prefer to keep the table names the same between the master copy and the SQLite extract copy. I really wish people wouldn't use spaces in any table or column name, or any reserved words :'( . All the best Keith Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.