|
-
March 27th, 2001, 02:36 AM
#1
Bug of Sql Server 7.0 ?
Why stored procedure can not set a parameter which represents a table name?
It is possible??
A example is following:
CREATE PROCEDURE Find_Max_Sn
(@tablename varchar(15),
@sn varchar(15))
AS
declare @maxsn integer
select @maxsn= max(@sn) from @tablename
@tablename parameter is not acceptable for sql server
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|