开发者

How to Set parameters to formula stored in Database in MSSQl

How to Set parameters to formula stored in table in MSSQl Formula parameter also st开发者_Python百科ored in different table


If you want to call MSSQL database formula

string command = "select dbo.TestFormula({0}, {1}";

string.Format(command, var1, var2);
SqlCommand cmd = new SqlCommand(command, conn);
....

Hope this help

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜