USE ...
GO
ALTER PROC foobar
AS
SELECT clientID, Nm FROM client
GO
CREATE TABLE #foos (clientID INT, Nm VARCHAR (255))
GO
INSERT #foos (clientID, Nm)
EXEC foobar
SELECT * FROM #foos
-- DROP TABLE #foos
Thursday, April 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment