Jan 8, 2008 #1 MeanJoeGreen13 IS-IT--Management Joined Jan 6, 2008 Messages 15 How can I get the data type [size] [null or not null], schema from a table columns? Please, if this is posible, show me an example.
How can I get the data type [size] [null or not null], schema from a table columns? Please, if this is posible, show me an example.
Jan 8, 2008 1 #2 mrdenny Programmer Joined May 27, 2002 Messages 11,595 In SQL 2000 you can use the INFORMATION_SCHEMA.COLUMNS view. In SQL 2005 you can use the sys.columns view. Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) My Blog Upvote 0 Downvote
In SQL 2000 you can use the INFORMATION_SCHEMA.COLUMNS view. In SQL 2005 you can use the sys.columns view. Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) My Blog