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

正文內(nèi)容

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

2025-04-12 01:48本頁面
  

【正文】 七、參考資料1. 《數(shù)據(jù)庫系統(tǒng)概論》 王珊 薩師煊 2. 《數(shù)據(jù)庫系統(tǒng)概論》 王珊 薩詩軒 3. 《SQL Server 2000 實用教程》 人民郵電出版社 黃梯云 4. 《SQL SERVER2005數(shù)據(jù)庫系統(tǒng)開發(fā)完全手冊》孫明麗 王斌 劉瑩 41 / 41。在這次課程設(shè)計中,我們是以小組的形式設(shè)計與制作這個每日農(nóng)產(chǎn)品價格行情管理系統(tǒng)的,所以整個小組的合作、分工與組員之間的相互協(xié)調(diào)很重要,如在功能結(jié)構(gòu)圖、ER圖等的設(shè)計過程中是以一起討論的形式完成的。這次課程設(shè)計加深了我們對數(shù)據(jù)庫系統(tǒng)設(shè)計相關(guān)知識以及SQL SERVER 相關(guān)功能的理解。當(dāng)每個組員都把自己的分工做好了,最后會由一個人把這些全部組合搭建在一起。當(dāng)這些都準(zhǔn)備好了之后,我們進行模塊的分工。現(xiàn)在我們利用自己學(xué)到的知識設(shè)計并制作一個每日農(nóng)產(chǎn)品價格行情管理系統(tǒng), 通過這次的課程設(shè)計,可以鞏固我們對數(shù)據(jù)庫基本原理和基礎(chǔ)理論的理解,掌握數(shù)據(jù)庫應(yīng)用系統(tǒng)設(shè)計開發(fā)的基本方法,進一步提高我們綜合運用所學(xué)知識的能力。 設(shè)計心得 數(shù)據(jù)庫課程設(shè)計主要的應(yīng)該目標(biāo)是利用課程中學(xué)到的數(shù)據(jù)庫知識和技術(shù)較好的開發(fā)設(shè)計出數(shù)據(jù)庫應(yīng)用系統(tǒng)。,Ave_Price =39。,Bulk_Price =39。, Lowest_Price =39。,Higest_Price =39。,ProductName=39。,ProductStyle =39。begin transactionexec (sql) If(error!=0)BeginRollback transactionEndElsebegin Commit transactionendEnd調(diào)用查詢存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec select_C_Summery C_No =39。Select * from C_Summery where 39。+ProductID 。+39。)set where=where+39。if(ProductID39。 Ave_Price =39。 and 39。39。+convert(char(10),Bulk_Price )。+39。)set where=where+39。if(Bulk_Price39。Lowest_Price =39。 and 39。39。+convert(char(10),Higest_Price)。+39。)set where=where+39。if(Higest_Price39。 ProductName =39。 and 39。39。+ProductStyle 。+39。)set where=where+39。 if(ProductStyle39。C_No =39。 and 39。39。error=039。Declare sql varchar(150)。)Drop procedure select_C_Summery。 4. 查詢If exists(select name from sysobjects where name =39。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec del_C_Summery C_No =39。)Drop procedure del_C_Summery 。,Higest_Price=9,Lowest_Price=9,Bulk_Price=9, Ave_Price=9 If exists(select name from sysobjects where name =39。,ProductName=39。 ,ProductStyle=39。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec edit_C_Summery C_No=39。)Drop procedure edit_C_Summery。,Higest_Price =1, Lowest_Price =1, Bulk_Price =1,Ave_Price =1 2.修改If exists(select name from sysobjects where name =39。,ProductName=39。,ProductStyle =39。GOCreate procedure add_C_SummeryC_No varchar(10) ,ProductStyle varchar,ProductName varchar ,Higest_Price Money ,Lowest_Price Money,Bulk_Price Money ,Ave_Price Money,ProductID varchar(10)AsBegin transactionInsert into C_Summery values (C_No, ProductStyle, ProductName, Higest_Price, Lowest_Price, Bulk_Price, Ave_Price,ProductID)If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用插入存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec add_C_Summery C_No =39。add_C_Summery39。39。39。39。39。39。39。+where 。set sql=39。DistPW =39。 and 39。39。+DistPhone。+39。)set where=where+39。if(DistPhone39。 DistStyle =39。 and 39。39。+Distarea 。+39。)set where=where+39。if(Distarea39。 DistName =39。 and 39。39。+DistID 。+39。)set where=where+39。If(DistID39。Set where=39。GOCreate procedure select_DistributerDistID varchar(10),DistName varchar(25),Distarea varchar(50),DistStyle Int,DistPhone varchar(20),DistPW varchar(16)AsBeginDeclare where varchar(150)。select_Distributer39。139。GOCreate procedure del_DistributerDistID varchar(10)AsBegin transactionDelete from Distributer where DistID=DistID 。del_Distributer39。333339。139。139。139。GOCreate procedure edit_DistributerDistID varchar(10),DistName varchar(25),Distarea varchar(50),DistStyle Int,DistPhone varchar(20),DistPW varchar(16)AsBegin transactionUpdate Distributer set DistName=DistName, Distarea=Distarea, DistStyle=DistStyle, DistPhone =DistPhone ,DistPW=DistPW where DistID=DistID 。edit_Distributer39。12339。139。139。139。)Drop procedure add_Distributer 。銷售商表(Distributer)的存儲過程1.插入If exists(select name from sysobjects where name =39。,UserArea=39。,UserPhone=39。,UserStyle =39。,UserPW =39。,UserName =39。+where begin transactionexec (sql) If(error!=0)BeginRollback transactionEndElsebegin Commit transactionend End調(diào)用查詢存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec select_User UserID =39。+UserAreaset sql=39。+39。)set where=where+39。+UserPhoneif(UserArea39。+39。)set where=where+39。+convert(varchar(15),UserStyle)if(UserPhone39。+39。)set where=where+39。if(UserStyle39。UserPW=39。 and 39。39。UserName =39。 and 39。39。UserID=39。 and 39。39。error=039。)Drop procedure select_User 。4. 查詢If exists(select name from sysobjects where name =39。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec del_User UserID =39。)Drop procedure del_User 。If exists(select name from sysobjects where name =39。,UserArea=39。,UserStyle =22,UserPhone=39。,UserPW =39。,UserName =39。If(error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd測試執(zhí)行上述修改存儲過程use 每日農(nóng)產(chǎn)品價格管理Exec edit_User UserID =39。)Drop procedure edit_User 。2.修改If exists(select name from sysobjects where name =39。,UserArea=39。,UserStyle =12,UserPhone=39。,UserPW =39。,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。 用戶表的存儲過程(User)1.插入If exists(select name from sysobjects where name =39。,ProductPrice =39。,ProductOrigin=39。,ProductName=39。,ProductStyle =39。begin transactionexec (sql) If(error!=0)BeginRollback transactionEndElsebegin Commit transactionend End調(diào)用查詢存儲過程:use 每日農(nóng)產(chǎn)品價格管理Exec select_ProductInfo ProductID=39。Select * from ProductInfo where 39。+DistID 。+39。)set where=where+39。if(DistID!=39。 SupID =39。 and 39。3
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1