随笔分类 -  SQL Server

摘要:1.C#调用存储过程,带参数返回的功能,而且是参数化拼接,这样就可以防止sql注入 System.Data.SqlClient.SqlParameter[] parameters = { new System.Data.SqlClient.SqlParameter("@i",100), new Sy 阅读全文 »
posted @ 2020-11-02 17:27 程序员不帅哥 阅读(328) 评论(1) 推荐(1) 编辑
摘要:CREATE TABLE #tempcloum( [productNum] varchar(20) null, [year1] decimal not null, [year2] decimal not null, [year3] decimal not null ) --лляD┴л DECLARE @sql VARCHAR(800) SET @sql... 阅读全文 »
posted @ 2018-04-03 16:22 程序员不帅哥 阅读(181) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示