How does one determine ROWGUIDCOL property in a SQL Compact database?
Compact schema is exposed through INFORMATION_SCHEMA only, and as half expected, I’m having no luck finding Microsoft’s proprietary ROWGUIDCOL property information inside.
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.
This is the only (undocumented) way that I know of:
If the value of column_flags is 378 or 282, the column is ROWGUIDCOL
(You can also use my Scripting API to get this info, saves you writing SQL code)