Morpheus1981
Programmer
I am using this query ("SELECT * FROM INFORMATION_SCHEMA.constraint_column_usage"
with my personal DataBase "demo01", for some reason it doesn't bring primary key fields for tables which its owner is not dbo, which is very necesary.
Does anyone know why? or what can I do to make my tables with a different owner be shown by this query?
Thanks,
with my personal DataBase "demo01", for some reason it doesn't bring primary key fields for tables which its owner is not dbo, which is very necesary.
Does anyone know why? or what can I do to make my tables with a different owner be shown by this query?
Thanks,