摘要:
根据两列数据相加的拼接的值的排序查询出另一个值select top 1 rate from tbDecRate where columnname=@columnname order by (Year+Month) desc 阅读全文
摘要:
用sql 语句给字段添加描述 IF not exists (SELECT * FROM ::fn_listextendedproperty (NULL, 'user', 'dbo', 'table', 'strTableName', 'column', ''strColumnName'')) BEG 阅读全文