hiI Have a store procedure which is encrypted when i execute that store procedure i get n number of columns from that i need to select only two columns and insert into separate table the TWO columns ARE product and oee
hiKnow the answer? Post it. Somebody with the same question will find it here.
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 8, 2015, 11:20 PM EDT
KiranS subramanian6 reputationPosted Jun 9, 2015, 1:00 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 9, 2015, 1:04 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jun 9, 2015, 2:42 AM EDT
AS
BEGIN
SELECT Column1, Column2 From TableName
END
GO
KiranS subramanian6 reputationPosted Jun 9, 2015, 2:45 AM EDT
Blocked AccountRank #403 · 6.2K reputationPosted Jun 9, 2015, 3:12 AM EDT
Khrizz49 reputationPosted Jun 9, 2015, 3:17 AM EDT
Saroj Kumar SahuRank #1,766 · 849 reputationPosted Jun 9, 2015, 3:35 AM EDT
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted Jun 9, 2015, 6:30 AM EDT
as begin
select * from Employee
end
GO
INSERT INTO #TempTable
EXEC My_Pro
Step 3:
FROM #TempTable
Prasad BhagatRank #3,426 · 422 reputationPosted Jun 22, 2015, 10:57 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts