February 15, 2009 at 7:23 am
i wanna know the name of column with its data type and constraints
as all i need in my final year project.
Any know so email me or redirect or post some reply
February 15, 2009 at 7:29 am
With this being your final year project at school, it wouldn't be right for us to do the work...you'd never gain the knowledge by copying our code. Being aware of where to get the meta data is a bedrock skill set of a future DBA.
Show us what have you tried so far, and why do you think it isn't working?
vaibhav_vasani (2/15/2009)
i wanna know the name of column with its data type and constraintsas all i need in my final year project.
Any know so email me or redirect or post some reply
Lowell
February 15, 2009 at 7:48 am
sir
I working on my final year project on data migration and conversion using XML
so in that project i need to know the name of column name with data type as well constraints in sql server
no matter if copy code.
i need to know it, that is meta data
its essential for me
i need it.
February 15, 2009 at 8:00 am
Are you looking for coulmn information with respect to a table?
February 15, 2009 at 8:05 am
if so you could look it up in the sys.columns tables....for the constraint info you could use the sp_helpConstraint followed by the table name to list the column names that have a constraint on it....
These info are also available to you in the information_schema catalog tables in the master database....
February 15, 2009 at 8:08 am
somewhere in your classes, notes and lectures, you must have heard there is an INFORMATION about SCHEMA information in the database I wonder if you were to look at some sort of system views you could look for that kind of information.
Lowell
February 15, 2009 at 6:50 pm
vaibhav_vasani (2/15/2009)
I working on my final year project ... no matter if copy code.
So much for the first rule of DBA's... ethics.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply