miniSql

创建
zgc123@gmail.com authored at 11/19/2023 1:40:15 AM
225.00 B
Create Table.sql.mt
#@get TableName
IF OBJECT_ID('${TableName}', 'U') IS NOT NULL
  DROP TABLE [${TableName}]

CREATE TABLE [${TableName}]
(
	${TableName}Id INT IDENTITY NOT NULL, 
    CONSTRAINT PK_${TableName}Id PRIMARY KEY (${TableName}Id)
)