亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sms.sql

?? 畢業設計作品--超市管理系統
?? SQL
?? 第 1 頁 / 共 2 頁
字號:
--------------------------------------------------------------
----超市管理系統
--------------------------------------------------------------

--------------------------------------------------------------
----建庫
--------------------------------------------------------------
use master
go
if exists (select 1 from sysdatabases where name = 'DB_SMS')
	drop database DB_SMS
go
create database DB_SMS
on primary
(
	/*主數據文件描述*/
	name = 'DB_SMS_data',
	filename =  'D:\DataBase\DB_SMS_data.mdf',
	size = 5MB,
	maxsize = 100MB,
	filegrowth = 10%
)
log on
(
	/*日志文件描述*/
	name = 'DB_SMS_log',
	filename = 'D:\DataBase\DB_SMS_log.ldf',
	size = 3MB,
	filegrowth = 1MB
)
go

--------------------------------------------------------------
----建表
--------------------------------------------------------------
use DB_SMS
go
if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_EMPLOYEE') and o.name = 'FK_TB_EMPLO_RELATIONS_TB_EMPLO')
alter table TB_EMPLOYEE
   drop constraint FK_TB_EMPLO_RELATIONS_TB_EMPLO
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_GOODS') and o.name = 'FK_TB_GOODS_RELATIONS_TB_GOODS')
alter table TB_GOODS
   drop constraint FK_TB_GOODS_RELATIONS_TB_GOODS
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_SALE_GOODS') and o.name = 'FK_TB_SALE__RELATIONS_TB_GOODS')
alter table TB_SALE_GOODS
   drop constraint FK_TB_SALE__RELATIONS_TB_GOODS
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_SALE_GOODS') and o.name = 'FK_TB_SALE__RELATIONS_TB_SALE_')
alter table TB_SALE_GOODS
   drop constraint FK_TB_SALE__RELATIONS_TB_SALE_
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_SALE_SHEET') and o.name = 'FK_TB_SALE__RELATIONS_TB_EMPLO')
alter table TB_SALE_SHEET
   drop constraint FK_TB_SALE__RELATIONS_TB_EMPLO
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_STOCK_GOODS') and o.name = 'FK_TB_STOCK_RELATIONS_TB_STOCK')
alter table TB_STOCK_GOODS
   drop constraint FK_TB_STOCK_RELATIONS_TB_STOCK
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_STOCK_GOODS') and o.name = 'FK_TB_STOCK_RELATIONS_TB_GOODS')
alter table TB_STOCK_GOODS
   drop constraint FK_TB_STOCK_RELATIONS_TB_GOODS
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_STOCK_SHEET') and o.name = 'FK_TB_STOCK_RELATIONS_TB_PROVI')
alter table TB_STOCK_SHEET
   drop constraint FK_TB_STOCK_RELATIONS_TB_PROVI
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_STOCK_SHEET') and o.name = 'FK_TB_STOCK_RELATIONS_TB_EMPLO')
alter table TB_STOCK_SHEET
   drop constraint FK_TB_STOCK_RELATIONS_TB_EMPLO
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_STORAGE') and o.name = 'FK_TB_STORA_RELATIONS_TB_GOODS')
alter table TB_STORAGE
   drop constraint FK_TB_STORA_RELATIONS_TB_GOODS
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_SUPPLY') and o.name = 'FK_TB_SUPPL_RELATIONS_TB_PROVI')
alter table TB_SUPPLY
   drop constraint FK_TB_SUPPL_RELATIONS_TB_PROVI
go

if exists (select 1
   from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
   where r.fkeyid = object_id('TB_SUPPLY') and o.name = 'FK_TB_SUPPL_RELATIONS_TB_GOODS')
alter table TB_SUPPLY
   drop constraint FK_TB_SUPPL_RELATIONS_TB_GOODS
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_EMPLOYEE')
            and   name  = 'Relationship_8_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_EMPLOYEE.Relationship_8_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_EMPLOYEE')
            and   type = 'U')
   drop table TB_EMPLOYEE
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_EMPLOYEE_TYPE')
            and   type = 'U')
   drop table TB_EMPLOYEE_TYPE
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_GOODS')
            and   name  = 'Relationship_1_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_GOODS.Relationship_1_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_GOODS')
            and   type = 'U')
   drop table TB_GOODS
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_GOODS_TYPE')
            and   type = 'U')
   drop table TB_GOODS_TYPE
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_MEMBER')
            and   type = 'U')
   drop table TB_MEMBER
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_PROVIDER')
            and   type = 'U')
   drop table TB_PROVIDER
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_SALE_GOODS')
            and   name  = 'Relationship_9_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_SALE_GOODS.Relationship_9_FK
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_SALE_GOODS')
            and   name  = 'Relationship_3_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_SALE_GOODS.Relationship_3_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_SALE_GOODS')
            and   type = 'U')
   drop table TB_SALE_GOODS
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_SALE_SHEET')
            and   name  = 'Relationship_7_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_SALE_SHEET.Relationship_7_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_SALE_SHEET')
            and   type = 'U')
   drop table TB_SALE_SHEET
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_STOCK_GOODS')
            and   name  = 'Relationship_10_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_STOCK_GOODS.Relationship_10_FK
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_STOCK_GOODS')
            and   name  = 'Relationship_4_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_STOCK_GOODS.Relationship_4_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_STOCK_GOODS')
            and   type = 'U')
   drop table TB_STOCK_GOODS
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_STOCK_SHEET')
            and   name  = 'Relationship_6_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_STOCK_SHEET.Relationship_6_FK
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_STOCK_SHEET')
            and   name  = 'Relationship_5_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_STOCK_SHEET.Relationship_5_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_STOCK_SHEET')
            and   type = 'U')
   drop table TB_STOCK_SHEET
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_STORAGE')
            and   name  = 'Relationship_2_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_STORAGE.Relationship_2_FK
go

if exists (select 1
            from  sysobjects
           where  id = object_id('TB_STORAGE')
            and   type = 'U')
   drop table TB_STORAGE
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_SUPPLY')
            and   name  = 'Relationship_12_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_SUPPLY.Relationship_12_FK
go

if exists (select 1
            from  sysindexes
           where  id    = object_id('TB_SUPPLY')
            and   name  = 'Relationship_11_FK'
            and   indid > 0
            and   indid < 255)
   drop index TB_SUPPLY.Relationship_11_FK
go

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩av一区二区三区在线播放| 国产成人精品亚洲777人妖| 日韩高清在线一区| 成人av中文字幕| 欧美一级欧美三级在线观看| 中文字幕永久在线不卡| 奇米色一区二区| 91久久精品一区二区三区| 久久久久久麻豆| 舔着乳尖日韩一区| 色综合天天天天做夜夜夜夜做| 337p粉嫩大胆噜噜噜噜噜91av| 午夜视频在线观看一区| 91小视频免费看| 国产一区二区三区四区五区入口| 日韩欧美国产麻豆| 中文字幕制服丝袜成人av | 欧美日韩黄色一区二区| 亚洲欧洲精品一区二区精品久久久| 国产毛片精品视频| 亚洲福中文字幕伊人影院| 91麻豆.com| 亚洲一区二区三区四区在线 | 久久久久久一二三区| 精品久久一区二区| 色综合久久久久久久久久久| 国精产品一区一区三区mba视频| 午夜激情一区二区三区| 成人免费av网站| 久久免费午夜影院| 精品无人区卡一卡二卡三乱码免费卡 | 一区二区在线观看视频| 成人妖精视频yjsp地址| 久久亚洲欧美国产精品乐播| 麻豆成人综合网| 日韩精品中文字幕在线不卡尤物| 五月天激情综合| 欧美一区二区三区免费大片| 亚洲丝袜精品丝袜在线| 亚洲综合久久久| 日韩高清一区在线| 欧美一卡二卡三卡| 久久精品99国产精品| 欧美xxxxxxxxx| 粉嫩13p一区二区三区| 国产精品不卡在线| 欧美亚日韩国产aⅴ精品中极品| 亚洲九九爱视频| 欧美日韩视频一区二区| 蜜臀久久99精品久久久久宅男| 日韩一区二区三| 男女性色大片免费观看一区二区| 国产女人aaa级久久久级| 亚洲人成7777| 三级在线观看一区二区| 亚洲国产va精品久久久不卡综合| 国产日韩欧美亚洲| 26uuu久久综合| 国产精品女上位| 亚洲国产精品久久不卡毛片| 奇米777欧美一区二区| 国产成人在线观看| 欧美一区二区三区啪啪| 欧美xxxx老人做受| 美女尤物国产一区| 国产天堂亚洲国产碰碰| 日本一区二区视频在线观看| 国产免费观看久久| 一区二区三区小说| 中文字幕亚洲一区二区av在线 | 一本到不卡精品视频在线观看| 久久精品国产99久久6| 最新不卡av在线| ...av二区三区久久精品| 亚洲国产日韩av| 亚洲国产精品一区二区久久恐怖片 | 成人深夜视频在线观看| 91国偷自产一区二区使用方法| 欧美日韩精品一区二区| 国产免费成人在线视频| 亚洲成av人片一区二区梦乃| 日韩avvvv在线播放| 久久久噜噜噜久久人人看| 香蕉乱码成人久久天堂爱免费| 成人一二三区视频| 538prom精品视频线放| 国产成人免费视频一区| 日本成人在线电影网| 国产精品久久毛片a| 日韩欧美国产精品| 欧美日韩国产在线观看| 成人午夜电影网站| 久久99精品久久久久久国产越南| 亚洲国产视频一区二区| 国产精品福利一区| 久久久久久**毛片大全| 久久久久成人黄色影片| 欧美日韩免费高清一区色橹橹| 成人一二三区视频| 国产一区二区免费看| 久久成人免费电影| 日韩不卡在线观看日韩不卡视频| 亚洲免费观看高清在线观看| 国产日韩欧美亚洲| 国产日产精品1区| 久久精品视频在线免费观看| 精品久久久久香蕉网| 欧美电影免费观看完整版| 欧美日韩亚洲另类| 欧美性猛片xxxx免费看久爱 | 中文字幕一区二区日韩精品绯色| 欧美精品一区二区三区高清aⅴ| 日韩欧美中文一区二区| 9191成人精品久久| 91麻豆精品国产| 欧美二区三区91| 欧美一级欧美一级在线播放| 欧美一级在线视频| 91精品国产综合久久久久久| 欧美另类高清zo欧美| 欧美男生操女生| 欧美tk—视频vk| 精品盗摄一区二区三区| 精品嫩草影院久久| 亚洲精品在线电影| 久久久99久久| 国产精品福利av| 亚洲免费在线视频一区 二区| 最新高清无码专区| 一区二区在线观看免费视频播放| 亚洲福利一区二区| 蜜臀a∨国产成人精品| 亚洲欧美一区二区不卡| 亚洲成a人v欧美综合天堂| 18欧美乱大交hd1984| 久久久美女艺术照精彩视频福利播放| 欧美丰满少妇xxxxx高潮对白| 欧美一级免费观看| 精品国产欧美一区二区| 国产精品天干天干在观线| 最新不卡av在线| 视频一区二区国产| 国产酒店精品激情| 99久久伊人久久99| 欧美老肥妇做.爰bbww视频| 精品日韩在线一区| 亚洲天堂久久久久久久| 日韩电影在线免费看| 成人午夜免费av| 欧美视频一区二| 精品美女一区二区三区| 亚洲欧美在线观看| 美女在线一区二区| 91亚洲精品乱码久久久久久蜜桃| 欧美日本高清视频在线观看| 亚洲精品在线观看视频| 亚洲精品久久久久久国产精华液| 天使萌一区二区三区免费观看| 国产激情精品久久久第一区二区 | 91老司机福利 在线| 日韩一区二区三免费高清| 亚洲欧洲国产日本综合| 麻豆一区二区在线| 91黄色激情网站| 国产精品美女一区二区在线观看| 午夜精品久久久久久久久久久| 国产a区久久久| 欧美一区二区三区四区在线观看 | 综合精品久久久| 国产一区二区三区四区五区入口| 色噜噜夜夜夜综合网| 国产精品福利av| 精品在线播放午夜| 欧美四级电影在线观看| 中文字幕制服丝袜一区二区三区| 美女视频一区在线观看| 欧美高清视频www夜色资源网| 国产精品久久久久久久久图文区| 激情另类小说区图片区视频区| 色成年激情久久综合| 久久久不卡网国产精品二区| 日韩精品五月天| 欧美三级一区二区| 亚洲欧美日韩电影| 粉嫩aⅴ一区二区三区四区| 欧美精品一区二区三区在线播放| 亚洲1区2区3区4区| 欧美丰满少妇xxxbbb| 成人永久aaa| 亚洲免费观看高清| 欧美日韩亚洲综合| 午夜精品久久久久久久99樱桃| 成人综合在线网站| 亚洲三级小视频| 欧美乱妇20p| 在线观看视频一区二区| 美女爽到高潮91| 夜夜精品浪潮av一区二区三区| 69久久夜色精品国产69蝌蚪网| 国产成人综合精品三级|