A very simple statement can accomplish the task of finding a list of all tables in a MS SQL Server CE (*.sdf) database :
The query is given below:
SELECT table_name FROM information_schema.tables WHERE(TABLE_TYPE <> 'VIEW')
You may use SQLCommand class to execute this sql command.
Thanks
The query is given below:
SELECT table_name FROM information_schema.tables WHERE(TABLE_TYPE <> 'VIEW')
You may use SQLCommand class to execute this sql command.
Thanks
Comments
Post a Comment