且构网

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

如何在Insert Sql语句中动态传递列和值。?

更新时间:2023-01-19 23:38:56

很简单,你必须创建临时表并将它们发送到您的存储过程。



尝试阅读:

http://aspalliance.com/1891_Pass_Tables_to_Stored_Procedure__Table_Valued_Parameter.2 [ ^ ]



这是一个很好的例子;)
It is easy, you have to create temporary tables and send them into you stored procedure.

Try to read this:
http://aspalliance.com/1891_Pass_Tables_to_Stored_Procedure__Table_Valued_Parameter.2[^]

It is a good example ;)