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
Ajay Mavatkar
NA
68
12.4k
Insert result set of sp into a temp table
Jul 27 2017 2:32 AM
Hi,
I need to insert result set of SP into a temp table, however it is giving the following error.
'The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction'
Please find my effort regarding this.
DECLARE @tempTable TABLE(ID INT, [Description] NVARCHAR(50));
INSERT @tempTable EXEC sp_MyTable] 100
select * from @tempTable
Any help would be apprciated.
Reply
Answers (
4
)
while loop is not working in sql server 2012
coll balance should adjust for due in sql server.