Can we create insert and show the record from the table in single stored procedure
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
brunda kRank #3,804 · 389 reputationPosted Jun 8, 2012, 2:43 AM EDT
yes, we can
create proc sp_test
As
Begin
BEGIN TRANSACTION
insert into Test values(121,'latest','test',0)
COMMIT TRANSACTION
select * from Test
End
Ankit Shivnakr87 reputationPosted Jun 8, 2012, 5:36 AM EDT
This will help you a lot
http://forums.asp.net/t/1479564.aspx/1
&
http://forums.asp.net/t/1099198.aspx/1
Happy Coding