freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

每日農(nóng)產(chǎn)品價格行情管理系統(tǒng)設(shè)計課程(專業(yè)版)

2025-05-21 01:48上一頁面

下一頁面
  

【正文】 每個人都有自己的模塊設(shè)計,如組長蔣新明做觸發(fā)器這個模塊,張傳炎做數(shù)據(jù)存儲這個模塊,李梓勇做數(shù)據(jù)字典這個模塊,孫昌茂建表和最后整合數(shù)據(jù)庫。39。+39。)set where=where+39。if(ProductName39。Set where=39。139。,DistPW=39。+39。)set where=where+39。 if(DistName39。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec del_Distributer DistID=39。2.修改If exists(select name from sysobjects where name =39。39。ProductPrice =39。)set where=where+39。GOCreate procedure select_UserUserID varchar(10),UserName varchar(25),UserPW varchar(16),UserStyle int,UserPhone varchar(20),UserArea varchar(50)AsBeginDeclare where varchar(150)Declare sql varchar(250)Set where=39。239。139。set sql=39。ProductPrice =39。 and 39。39。,ProductName=39。GOCreate procedure add_ProductInfoProductID varchar(10),ProductStyle varchar(10),ProductName varchar(50),ProductOrigin varchar(20),ProductPrice Money,SupID varchar(10),DistID varchar(10)AsBegin transactionInsert into ProductInfo values (ProductID, ProductStyle, ProductName, ProductOrigin, ProductPrice,SupID,DistID)If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用插入存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec add_ProductInfo ProductID=39。+sqlENDbegin transactionexec (sql) If(error0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用查詢存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec select_Supplier SupID=39。+CONVERT(VARCHAR(10),SupStyle)if(SupPhone39。)set where=where+39。)Drop procedure del_Supplier 。修改時,每個字段都不能為空,不然修改不了)If exists(select name from sysobjects where name =39。begin insert into Distributer(DistID,DistName,DistPW,DistPhone,DistStyle,DistArea) values(UserID,UserName,UserPW,UserPhone,UserStyle,UserArea)EndGo/*當在用戶表中插入的信息中“用戶類型”為“003”或“004”時,在銷售商表中插入相同的信息*/CREATE TRIGGER UserInfo_update ON UserInfofor UPDATEAS if Update(UserID) BEGIN Update Supplier set SupID= from Supplier sp,deleted d,inserted i where =EndGo/*在用戶表更新用戶信息時將供應商表中相應的信息進行同步更新*/CREATE TRIGGER UserInfo_update1 ON UserInfofor UPDATEAS if Update(UserID) BEGIN Update Distributer set DistID= from Distributer dt,deleted d,inserted i where =END Go/*在用戶表更新用戶信息時將銷售商表中相應的信息進行同步更新*/CREATE TRIGGER Product_delete ON ProductInfofor DeleteAS begin delete C_Summery from C_Summery cs,deleted d where =END Go/*在用戶表刪除農(nóng)產(chǎn)品信息時將匯總表中相應的信息進行刪除*/ CREATE TRIGGER Product_update ON ProductInfofor updateAS begin update C_Summery set ProductName= from C_Summery cs,deleted d,inserted i where =END Go/*在用戶表更新農(nóng)產(chǎn)品信息時將匯總表中相應的信息進行同步更新*/4. 存儲過程概述:以下所有的存儲過程:插入:表示插入一條新記錄(如果記錄已經(jīng)存在,則插入失敗)。類型:varchar長度:25 有關(guān)數(shù)據(jù)機構(gòu):用戶表名字:UserPW 說明:用戶的密碼。數(shù)據(jù)庫課程設(shè)計題目: 每日農(nóng)產(chǎn)品價格行情管理系統(tǒng) 專 業(yè): 信息管理與信息系統(tǒng) 班 級: 一、 系統(tǒng)需求分析 隨著科學技術(shù)的發(fā)展,社會進步,計算機和互聯(lián)網(wǎng)技術(shù)的迅速發(fā)展,信息的傳播速度成倍加快。類型:varchar長度:16 有關(guān)數(shù)據(jù)機構(gòu):用戶表名字:UserStyle 說明:用戶的類型。修改:表示修改一條記錄(如果記錄存在則修改,否則不能修改)刪除:表示刪除一條記錄(如果記錄存在則刪除,否則不能刪除在此,我沒有考慮到級聯(lián)關(guān)系,感覺刪除這個過程用觸發(fā)器做比較好,因此,刪除應由觸發(fā)器實現(xiàn)。edit_Supplier39。GOCreate procedure del_SupplierSupID varchar(10)AsBegin transactionDelete from Supplier where SupID=SupID If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用刪除存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec del_Supplier SupID=39。 and 39。39。39。139。a39。)set where=where+39。+39。+convert(varchar(15),ProductPrice)。Select * from ProductInfo where 39。,UserName =39。,UserPW =39。error=039。 and 39。+UserPhoneif(UserArea39。,UserPhone=39。edit_Distributer39。139。39。 and 39。DistPW =39。39。 ,ProductStyle=39。error=039。39。 and 39。 Ave_Price =39。,ProductName=39。當每個組員都把自己的分工做好了,最后會由一個人把這些全部組合搭建在一起。當這些都準備好了之后,我們進行模塊的分工。,ProductStyle =39。 and 39。39。+ProductStyle 。Declare sql varchar(150)。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec edit_C_Summery C_No=39。39。 and 39。39。+DistID 。GOCreate procedure del_DistributerDistID varchar(10)AsBegin transactionDelete from Distributer where DistID=DistID 。12339。,UserStyle =39。+39。39。)Drop procedure select_User 。,UserName =39。)Drop procedure add_UserGOCreate procedure add_UserUserID varchar(10),UserName varchar(25),UserPW varchar(16),UserStyle Int,UserPhone varchar(20),UserArea varchar(50)AsBegin transactionInsert into [User] values (UserID,UserName,UserPW,UserStyle,UserPhone,UserArea)If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd測試執(zhí)行上述存儲過程use 每日農(nóng)產(chǎn)品價格管理Exec add_User UserID =39。+DistID 。+39。)set where=where+39。If(ProductID!=39。a39。)Drop procedure add_ProductInfo 。39。SupStyle=39。39。del_Supplier39。2.修改(根據(jù)記錄號進行修改,如果記錄號不存在則不能修改。00439。類型:money長度:8 有關(guān)數(shù)據(jù)機構(gòu):農(nóng)產(chǎn)品信息表名字:UserID 說明:用戶編號,編碼為3位字母加7位數(shù)字組成,其中三位字母是用戶的首字母,7位數(shù)字是用戶購買產(chǎn)品時間和序號的組合,如lzy2011001,2011表示購買時間,001表示序號,類型:varchar長度:10 有關(guān)數(shù)據(jù)機構(gòu):用戶表 供應商表 農(nóng)產(chǎn)品信息表名字:UserName 說明:用戶名稱。怎樣才能迅速準確地掌握市場的最新動態(tài)、良好的貨源和收購商成為了產(chǎn)品的商家和生產(chǎn)商在商場上立于不敗之地的重要保證。類型:int長度:4 有關(guān)數(shù)據(jù)機構(gòu):用戶表名字:UserPhone 說明:用戶 的聯(lián)系方式。)。)Drop procedure edit_Supplier 。439。+39。)set where=where+39。,SupName=39。,ProductStyle =39。,ProductOrigin=39。 and 39。 ProductName =39。if(SupID!=39。+where 。139。239。If(UserID39。+39。39。39。)Drop procedure edit_Distributer 。4. 查詢If exists(select name from sysobjects where name =39。)set where=where+39。+39。+DistPW。 分類匯總表(C_Summery)的存儲過程1.插入If exists(select name from sysobjects where name =39。q39。If(C_No39。)set where=where+39。+39。+convert(char(10),Ave_Price)。39。在具體的設(shè)計與實施中,我們看到并感受到了一個管理系統(tǒng)從無到有
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1