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

正文內(nèi)容

每日農(nóng)產(chǎn)品價(jià)格行情管理系統(tǒng)設(shè)計(jì)課程-資料下載頁(yè)

2025-04-09 01:48本頁(yè)面
  

【正文】 m Distributer where DistID=@DistID 。If(@@error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理Exec del_Distributer @DistID=39。139。4. 查詢If exists(select name from sysobjects where name =39。select_Distributer39。)Drop procedure select_Distributer 。GOCreate procedure select_Distributer@DistID varchar(10),@DistName varchar(25),@Distarea varchar(50),@DistStyle Int,@DistPhone varchar(20),@DistPW varchar(16)AsBeginDeclare @where varchar(150)。Declare @sql varchar(200)。Set @where=39。@@error=0 39。If(@DistID39。39。)set @where=@where+39。 and 39。+39。DistID =39。+@DistID 。 if(@DistName39。39。)set @where=@where+39。 and 39。+39。 DistName =39。+@DistName 。if(@Distarea39。39。)set @where=@where+39。 and 39。+39。Distarea =39。+@Distarea 。if(@DistStyle39。39。)set @where=@where+39。 and 39。+39。 DistStyle =39。+convert(varchar(15),@DistStyle)。if(@DistPhone39。39。)set @where=@where+39。 and 39。+39。 DistPhone =39。+@DistPhone。if(@DistPW39。39。)set @where=@where+39。 and 39。+39。DistPW =39。+@DistPW。set @sql=39。 Select * from Distributer where 39。+@where 。begin transactionexec (@sql) If(@@error!=0)BeginRollback transactionEndElsebegin Commit transactionend End調(diào)用查詢存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理exec select_Distributer @DistID =39。39。,@DistName =39。39。,@DistArea=39。39。,@DistStyle=39。39。,@DistPhone=39。39。,@DistPW=39。39。 分類匯總表(C_Summery)的存儲(chǔ)過(guò)程1.插入If exists(select name from sysobjects where name =39。add_C_Summery39。)Drop procedure add_C_Summery 。GOCreate procedure add_C_Summery@C_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)用插入存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理Exec add_C_Summery @C_No =39。239。,@ProductStyle =39。139。,@ProductName=39。139。,@Higest_Price =1, @Lowest_Price =1, @Bulk_Price =1,@Ave_Price =1 2.修改If exists(select name from sysobjects where name =39。edit_C_Summery39。)Drop procedure edit_C_Summery。GOCreate procedure edit_C_Summery@C_No varchar(10) ,@ProductStyle varchar(10),@ProductName varchar(50),@Higest_Price Money,@Lowest_Price Money ,@Bulk_Price Money,@Ave_Price Money,@ProductID varchar(10)Asbegin transactionUpdate C_Summery set ProductStyle =@ProductStyle,ProductName =@ProductName,Higest_Price =@Higest_Price,Lowest_Price =@Lowest_Price, Bulk_Price=@Bulk_Price,Ave_Price =@Ave_Price,ProductID=@ProductID where C_No =@C_No 。If(@@error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理Exec edit_C_Summery @C_No=39。139。 ,@ProductStyle=39。q39。,@ProductName=39。q39。,@Higest_Price=9,@Lowest_Price=9,@Bulk_Price=9, @Ave_Price=9 If exists(select name from sysobjects where name =39。del_C_Summery39。)Drop procedure del_C_Summery 。GOCreate procedure del_C_Summery@C_No varchar(10)AsBegin transactionDelete from C_Summery where C_No =@C_No 。If(@@error!=0)BeginRollback transactionEndElsebegin Commit transactionEnd調(diào)用修改存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理Exec del_C_Summery @C_No =39。139。 4. 查詢If exists(select name from sysobjects where name =39。select_C_Summery39。)Drop procedure select_C_Summery。GOCreate procedure select_C_Summery@C_No varchar(10) ,@ProductStyle varchar(10) ,@ProductName varchar(50) ,@Higest_Price Money,@Lowest_Price Money ,@Bulk_Price Money ,@Ave_Price Money,@ProductID varchar(10)AsBeginDeclare @where varchar(100)。Declare @sql varchar(150)。Set @where=39。@@error=039。If(@C_No39。39。)set @where=@where+39。 and 39。+39。C_No =39。+@C_No。 if(@ProductStyle39。39。)set @where=@where+39。 and 39。+39。 ProductStyle =39。+@ProductStyle 。if(@ProductName39。39。)set @where=@where+39。 and 39。+39。 ProductName =39。+@ProductName 。if(@Higest_Price39。39。)set @where=@where+39。 and 39。+39。Higest_Price =39。+convert(char(10),@Higest_Price)。if(@Lowest_Price39。39。)set @where=@where+39。 and 39。+39。Lowest_Price =39。+convert(char(10),@Lowest_Price)。if(@Bulk_Price39。39。)set @where=@where+39。 and 39。+39。 Bulk_Price =39。+convert(char(10),@Bulk_Price )。if(@Ave_Price39。39。)set @where=@where+39。 and 39。+39。 Ave_Price =39。+convert(char(10),@Ave_Price)。if(@ProductID39。39。)set @where=@where+39。 and 39。+39。 ProductID =39。+@ProductID 。set @sql=39。Select * from C_Summery where 39。+@where 。begin transactionexec (@sql) If(@@error!=0)BeginRollback transactionEndElsebegin Commit transactionendEnd調(diào)用查詢存儲(chǔ)過(guò)程:use 每日農(nóng)產(chǎn)品價(jià)格管理Exec select_C_Summery @C_No =39。39。,@ProductStyle =39。39。,@ProductName=39。39。,@Higest_Price =39。39。, @Lowest_Price =39。39。,@Bulk_Price =39。39。,@Ave_Price =39。39。 設(shè)計(jì)心得 數(shù)據(jù)庫(kù)課程設(shè)計(jì)主要的應(yīng)該目標(biāo)是利用課程中學(xué)到的數(shù)據(jù)庫(kù)知識(shí)和技術(shù)較好的開(kāi)發(fā)設(shè)計(jì)出數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)。雖然學(xué)了數(shù)據(jù)庫(kù)這么久了,但是我們還是缺少經(jīng)驗(yàn)。現(xiàn)在我們利用自己學(xué)到的知識(shí)設(shè)計(jì)并制作一個(gè)每日農(nóng)產(chǎn)品價(jià)格行情管理系統(tǒng), 通過(guò)這次的課程設(shè)計(jì),可以鞏固我們對(duì)數(shù)據(jù)庫(kù)基本原理和基礎(chǔ)理論的理解,掌握數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)設(shè)計(jì)開(kāi)發(fā)的基本方法,進(jìn)一步提高我們綜合運(yùn)用所學(xué)知識(shí)的能力。當(dāng)我們這組決定做每日農(nóng)產(chǎn)品價(jià)格行情管理系統(tǒng)時(shí),我們并沒(méi)有馬上著手編寫(xiě)這個(gè)數(shù)據(jù)庫(kù),而是每個(gè)組員聚集一起商量這個(gè)系統(tǒng)概述、系統(tǒng)目標(biāo)、系統(tǒng)需求等,然后建立系統(tǒng)功能結(jié)構(gòu)圖、ER圖和數(shù)據(jù)庫(kù)關(guān)系模型。當(dāng)這些都準(zhǔn)備好了之后,我們進(jìn)行模塊的分工。每個(gè)人都有自己的模塊設(shè)計(jì),如組長(zhǎng)蔣新明做觸發(fā)器這個(gè)模塊,張傳炎做數(shù)據(jù)存儲(chǔ)這個(gè)模塊,李梓勇做數(shù)據(jù)字典這個(gè)模塊,孫昌茂建表和最后整合數(shù)據(jù)庫(kù)。當(dāng)每個(gè)組員都把自己的分工做好了,最后會(huì)由一個(gè)人把這些全部組合搭建在一起。在具體的設(shè)計(jì)與實(shí)施中,我們看到并感受到了一個(gè)管理系統(tǒng)從無(wú)到有的過(guò)程,對(duì)具體的設(shè)計(jì)步驟、思路、方法、技巧都有了進(jìn)一步的了解。這次課程設(shè)計(jì)加深了我們對(duì)數(shù)據(jù)庫(kù)系統(tǒng)設(shè)計(jì)相關(guān)知識(shí)以及SQL SERVER 相關(guān)功能的理解。比如在建立基本的表、數(shù)據(jù)字典、存儲(chǔ)過(guò)程、觸發(fā)器等,都比以前更加熟悉了,并在解決各種問(wèn)題的過(guò)程中學(xué)到了很多新的知識(shí)。在這次課程設(shè)計(jì)中,我們是以小組的形式設(shè)計(jì)與制作這個(gè)每日農(nóng)產(chǎn)品價(jià)格行情管理系統(tǒng)的,所以整個(gè)小組的合作、分工與組員之間的相互協(xié)調(diào)很重要,如在功能結(jié)構(gòu)圖、ER圖等的設(shè)計(jì)過(guò)程中是以一起討論的形式完成的。在模塊分工時(shí),我們也盡量想著讓組員們揚(yáng)長(zhǎng)避短,個(gè)及所長(zhǎng),如觸發(fā)器該由誰(shuí)做、存儲(chǔ)過(guò)程又由誰(shuí)做等等,這樣可以很好的提高大家的積極性和合作意識(shí),才能更好更快地設(shè)計(jì)出這個(gè)每日農(nóng)產(chǎn)品價(jià)格行情管理系統(tǒng)。七、參考資料1. 《數(shù)據(jù)庫(kù)系統(tǒng)概論》 王珊 薩師煊 2. 《數(shù)據(jù)庫(kù)系統(tǒng)概論》 王珊 薩詩(shī)軒 3. 《SQL Server 2000 實(shí)用教程》 人民郵電出版社 黃梯云 4. 《SQL SERVER2005數(shù)據(jù)庫(kù)系統(tǒng)開(kāi)發(fā)完全手冊(cè)》孫明麗 王斌 劉瑩 41 / 41
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1