D
ddynet
Unregistered / Unconfirmed
GUEST, unregistred user!
CREATE procedure TableExists (@tablename varchar(20))
As
if exists (select * from tempdb.dbo.sysobjects where id = object_id('tempdb..'+@tablename))
execute ('drop table @tablename')
GO
最后一句有错误!!!!!怎么改????????????????
As
if exists (select * from tempdb.dbo.sysobjects where id = object_id('tempdb..'+@tablename))
execute ('drop table @tablename')
GO
最后一句有错误!!!!!怎么改????????????????