12 2017 档案

摘要:方法一:convert(float,字段名) as 别名 select convert(float,round(10.123232,2)) 结果:10.12 select convert(float,round(10,2)) 结果:10 方法二:cast(round(字段名,2) as numeri 阅读全文
posted @ 2017-12-15 17:30 Claricre 阅读(1382) 评论(0) 推荐(0)
摘要:EXEC SP_RENAME '名字','名字' 例:EXEC SP_RENAME '存储过程SP1','存储过程SP2' 阅读全文
posted @ 2017-12-09 11:27 Claricre 阅读(2218) 评论(0) 推荐(0)
摘要:引自https://www.cnblogs.com/JiangLe/p/4007091.html 前期准备: create table Employee ( ID int not null primary key, Name nvarchar(4), Credit_Card_ID varbinary 阅读全文
posted @ 2017-12-07 17:09 Claricre 阅读(1284) 评论(0) 推荐(0)