Retrieve column attributes
Given database, owner, table, and column names, this procedure returns one from among several column attributes such as type definition, defaults, and other types of constraints. E.g., to retrieve the type definition of the 'pubs' database's 'author.address':DECLARE @attrib VARCHAR (500) , @msg VARCHAR (8000)EXEC p_get_column_attribute 'TYPEDEF' […]
2002-07-24
126 reads