文件名称:sql
介绍说明--下载内容来自于网络,使用问题请自行百度
1、说明:创建数据库
CREATE DATABASE database-name
2、说明:删除数据库
drop database dbname
3、说明:备份sql server
--- 创建 备份数据的 device
USE master
EXEC sp_addumpdevice disk , testBack , c:\mssql7backup\MyNwind_1.dat
--- 开始 备份
BACKUP DATABASE pubs TO testBack
4、说明:创建新表
create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)
-1, Descr iption: Create a database CREATE DATABASE database-name 2, Descr iption: delete the database drop database dbname 3, Descr iption: The backup sql server--- create a backup data device USE master EXEC sp_addumpdevice ' disk' , ' testBack' , ' c: \ mssql7backup \ MyNwind_1.dat ' --- start the backup BACKUP DATABASE pubs TO testBack 4, Descr iption: Create a new table create table tabname (col1 type1 [not null] [primary key], col2 type2 [not null ],..)
CREATE DATABASE database-name
2、说明:删除数据库
drop database dbname
3、说明:备份sql server
--- 创建 备份数据的 device
USE master
EXEC sp_addumpdevice disk , testBack , c:\mssql7backup\MyNwind_1.dat
--- 开始 备份
BACKUP DATABASE pubs TO testBack
4、说明:创建新表
create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)
-1, Descr iption: Create a database CREATE DATABASE database-name 2, Descr iption: delete the database drop database dbname 3, Descr iption: The backup sql server--- create a backup data device USE master EXEC sp_addumpdevice ' disk' , ' testBack' , ' c: \ mssql7backup \ MyNwind_1.dat ' --- start the backup BACKUP DATABASE pubs TO testBack 4, Descr iption: Create a new table create table tabname (col1 type1 [not null] [primary key], col2 type2 [not null ],..)
相关搜索: BACKUP SQL Server
(系统自动生成,下载前可以参看下载内容)
下载文件列表
必学SQL语句大全不学后悔.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.