Is there a way to get a record count or a space-used value for all the tables in a SQL Server Compact database file (SQL CE 3.5.1)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SELECT CARDINALITY FROM INFORMATION_SCHEMA.INDEXES WHERE TABLE_NAME = N’Categories’
– will give you the recordcount.
http://support.microsoft.com/kb/827968/en-us – how to calculate the size (there is no space used value available)