TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rupesh Kahane
102
19.1k
4.2m
Insert into table variable from SP in SQL
Mar 3 2020 12:50 AM
My store procedure returns / select 3 tables after execution.
How can I insert only 1st table in table variable in SQL?
The below code is I am using
declare @myTable as table
(
A_Name nvarchar(128),
A_Id nvarchar(128),
A_Total varchar(128)
--- more columns
)
INSERT INTO @myTable
EXEC
'sp_helpdb'
'Param1'
Thanks in advance
Reply
Answers (
1
)
What is difference between Clustered & Non-Clustered in SQL.
Find UnUsed Stored Procedures in Sql 2008