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