From 8d5940af3540d1818794aefdfb561066c385623e Mon Sep 17 00:00:00 2001 From: GuanM <30427262+sxhoio@users.noreply.github.com.> Date: Tue, 19 Nov 2024 16:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 数据库/头歌/创建表/创建表.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 数据库/头歌/创建表/创建表.sh diff --git a/数据库/头歌/创建表/创建表.sh b/数据库/头歌/创建表/创建表.sh new file mode 100644 index 0000000..bb57ad2 --- /dev/null +++ b/数据库/头歌/创建表/创建表.sh @@ -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 \ No newline at end of file