smartline
Grasshopper
Points: 14
More actions
March 10, 2003 at 2:02 pm
#79783
Hi all,
I would like to make the SQL-SELECT command when I can use <table> as Variable sord of:
DECLARE @myvar cursor --
SET @myvar = 'orders' CURSOR SCROLL DYNAMIC
SELECT * FROM "@myvar"
GO
Is it possible ?
March 10, 2003 at 2:28 pm
#450736
Sorry,
for stupid question.
sp_executesql - ia an answer.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply