Contents of the description of each field in the database table

xiaoxiao2021-03-06  105

When we do a code generator, you usually want to process the description of the field as an object's property description. If you get a description of the field. In fact, we can use the SQL Server internal function to implement Select * from :: Fn_ListextendedProperty (Null, 'User', 'DBO', 'Table', 'Name,' Column ', DEFAULT) Please execute in the query analyzer, where "Table name" is the table name of the database

转载请注明原文地址:https://www.9cbs.com/read-104133.html

New Post(0)