且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将整数传递给sql server

更新时间:2023-02-07 12:08:28

如果要传递变量,则必须以这种方式传递.
If you are passing variables you have to pass it in this way.
("SELECT [val1] FROM [asd].[dbo].[asede] where md_int = " + myInt1+ " AND rd_int = " + myInt2)