sqlserver create table

①sql 语句创建(项目使用)

use sps_db
go
if exists(select name from sys.tables where name='event_profile_level2s')
drop table event_profile_level2s
go
create table event_profile_level2s
(id bigint primary key,
version int not null,
created_by varchar(28),
dat datetime not null
)

②右键创建(项目使用)

猜你喜欢

转载自www.cnblogs.com/baxianhua/p/9117296.html