使用动态存储过程插入记录 [英] Insert record in using dynamic store procedure
本文介绍了使用动态存储过程插入记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友
i有5个表,每个表都是不同的字段,我想创建一个动态过程,这个程序帮助我想插入任何表,所以它可能是
hi friends
i have 5 table and each table are different field and i want to create one dynamic procedure and this procedure help i want to insert any table so it is possible
推荐答案
看看这里:
在T-SQL上创建和执行动态SQL [ ^ ]
动态ORDER BY,在T-SQL中有多个条件 [ ^ ]
在存储过程中构建动态SQL edure [ ^ ]
我希望它会有所帮助;)
Have a look here:
Create and Execute Dynamic SQL on T-SQL[^]
Dynamic ORDER BY with multiple criteria in T-SQL[^]
Building Dynamic SQL In a Stored Procedure[^]
I hope it will be helpful ;)
这篇关于使用动态存储过程插入记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文