Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Simple question but its urgent
I am running a copy of SQL server management studio
I have created my own database named 'ProjectManager'

I am trying to get a list of all tables that refer to a table
i.e child tables

I have the correct query as verified elsewhere
but my database is not appearing in INFORMATION_SCHEMA queries

Not in INFORMATION_SCHEMA.TABLES, INFORMATION_SCHEMA.KEY_COLUMN_USAGE... nowhere

Can anyone answer me why this could be?
Posted
Updated 31-May-12 13:31pm
v2
Comments
Nelek 31-May-12 19:33pm    
People here answer when they can, saying "it is urgent" won't help. They try to help in their spare time and for free.

1 solution

Do not use INFORMATION_SCHEMA views to determine the schema of a data type. The only reliable way to find the schema of a type is to use the TYPEPROPERTY function. Refer MSDN article at http://msdn.microsoft.com/en-us/library/ms188348.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900