如何从存储过程向表中插入数据? [英] How to insert data into a table from stored procedure?

查看:458
本文介绍了如何从存储过程向表中插入数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

在将存储过程中的数据添加/插入表中时遇到问题.

我正在使用以下命令:-

插入@temp_Item_Indent_Details exec sp_item_indents_description @ itemL4Id



其中 @temp_Item_Indent_Details =临时表, @sp_item_indents_description =存储过程和 @ itemL4Id =存储过程参数

执行相同功能所需的程序和指令集是什么?

谢谢

Varun Sareen
Software Developer

Dear Friends,

I am facing problem while adding/inserting data from a stored procedure into a table.

I am using the command as under:-

insert @temp_Item_Indent_Details exec sp_item_indents_description @itemL4Id



Where @temp_Item_Indent_Details=temporary table, @sp_item_indents_description=stored procedure and @itemL4Id=stored procedure parameter

What is the procedure and the set of instructions required to perform the same function?

Thanks

Varun Sareen
Software Developer

推荐答案

您能否提供有关所面临问题的更多详细信息?

此外,简单的Google搜索将告诉您如何在应用程序中创建和使用存储过程.
Can you give more details about the problem that you are facing?

Moreover, a simple Google search will tell you how to create and use stored procedure in your application.


这篇关于如何从存储过程向表中插入数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆