创建表
This commit is contained in:
15
数据库/头歌/创建表/创建表.sh
Normal file
15
数据库/头歌/创建表/创建表.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
sqlcmd -S localhost -U sa -P '<123123Aa!@>'
|
||||||
|
|
||||||
|
CREATE DATABASE TestDb;
|
||||||
|
go
|
||||||
|
|
||||||
|
USE TestDb;
|
||||||
|
go
|
||||||
|
CREATE TABLE t_emp
|
||||||
|
(
|
||||||
|
id INT,
|
||||||
|
name VARCHAR(32),
|
||||||
|
deptId INT,
|
||||||
|
salary FLOAT
|
||||||
|
)
|
||||||
|
go
|
Reference in New Issue
Block a user