create PROC [dbo].CreateUserTable
( @name NVARCHAR(60) )
AS
DECLARE @a NVARCHAR(max)
SET
@a=‘create table ‘[email protected] +‘ ([id] [int] IDENTITY(1,1) NOT NULL‘
EXEC (@a)
exec CreateUserTable ‘zhou‘
[SQL]存储过程建表
时间: 2024-10-14 08:31:36