|
|
(6個中途的修訂版本沒有顯示) |
第1行: |
第1行: |
- | [http://s1.shard.jp/bireba/avguard-antivirus.html norton antivirus download rebate
] [http://s1.shard.jp/galeach/new194.html adventure asia international
] [http://s1.shard.jp/frhorton/y6gqutu2n.html african cave dwelling pic spider] [http://s1.shard.jp/frhorton/kbokzbuu7.html aid in africa pictures
] [http://s1.shard.jp/bireba/nortons-antivirus.html manually remove symantec antivirus client
] [http://s1.shard.jp/bireba/symantec-antivirus.html linux antivirus review
] [http://s1.shard.jp/frhorton/7bbhgy4dh.html african foods online
] [http://s1.shard.jp/galeach/new136.html camtasia studio 2 cracks
] [http://s1.shard.jp/olharder/discount-auto-part.html se auto weymouth
] [http://s1.shard.jp/olharder/chery-automobile.html knox indiana auto accidents
] [http://s1.shard.jp/olharder/1-autobiography.html auto by owner private sale used
] [http://s1.shard.jp/galeach/new191.html asian table lamps
] [http://s1.shard.jp/losaul/why-do-we-have.html australia dating online
] [http://s1.shard.jp/galeach/new150.html asia furniture manufacturing] [http://s1.shard.jp/losaul/aborigines--dreamtime.html vinidex australia
] [http://s1.shard.jp/olharder/autoroll-654.html http] [http://s1.shard.jp/bireba/symantec-antivirus.html macffe antivirus
] [http://s1.shard.jp/olharder/auto-ordance.html leader auto
] [http://s1.shard.jp/galeach/new171.html asia human rights
] [http://s1.shard.jp/frhorton/l2ids56ra.html vodashop south africa
] [http://s1.shard.jp/bireba/avg-antivirus.html symantics antivirus
] [http://s1.shard.jp/olharder/auto-bap.html tmj auto accident
] [http://s1.shard.jp/galeach/new109.html definition euthanasia
] [http://s1.shard.jp/bireba/antivirus-firewall.html avg antivirus update free
] [http://s1.shard.jp/galeach/new154.html asia ethnic in minority southeast
] [http://s1.shard.jp/olharder/prestige-auto.html 2006 used auto prices
] [http://s1.shard.jp/bireba/norton-antivirus.html symantec antivirus 8
] [http://s1.shard.jp/losaul/sai-global-australia.html sai global australia] [http://s1.shard.jp/losaul/department-of-agriculture.html department of agriculture fisheries and forestry australia] [http://s1.shard.jp/olharder/autonomy-principal.html auto tinting jacksonville fl
] [http://s1.shard.jp/losaul/australia-telescope.html italian passport australian
] [http://s1.shard.jp/bireba/map.html symantec antivirus corp 10.0] [http://s1.shard.jp/bireba/cheap-norton-antivirus.html 64 bit antivirus software
] [http://s1.shard.jp/bireba/removing-norton.html antivirus spyware protection
] [http://s1.shard.jp/bireba/extendia-antivirus.html extendia antivirus reviews] [http://s1.shard.jp/olharder/automotive-repair.html auto insurance services
] [http://s1.shard.jp/galeach/new142.html 0824519957 amazon.com asian exec obidos
] [http://s1.shard.jp/bireba/antivirus-software.html panda antivirus titanium
] [http://s1.shard.jp/frhorton/os7hwbkxo.html african american church bulletins
] [http://s1.shard.jp/frhorton/556tpvdn6.html african american child game] [http://s1.shard.jp/bireba/top-antivirus.html symantac antivirus update
] [http://s1.shard.jp/bireba/panda-online-antivirus.html symantic antivirus client
] [http://s1.shard.jp/bireba/etrust-antivirus.html avg antivirus programs
] [http://s1.shard.jp/olharder/autoroll-654.html site] [http://s1.shard.jp/olharder/internet-auto-part.html windward auto sales
] [http://s1.shard.jp/olharder/antique-autos-for.html sales tax on automobiles in texas
] [http://s1.shard.jp/olharder/automation-building.html auto shipping usaa international car shippers
] [http://s1.shard.jp/losaul/australian-oil.html australian grand motorcycle prix
] [http://s1.shard.jp/olharder/arabian-automobiles.html cac auto financing
] [http://s1.shard.jp/losaul/australia-importing.html australia importing]
| + | === 存储过程是什么 === |
- | http://www.texttrlatrrac.com
| + | 預存程序(Stored Procedure)(簡稱SP)是使用者預先寫好的資料庫Script。 |
- | === Ã¥ÂÂå¨è¿Âç¨Âæ¯ä»Âä¹ === | + | |
- | é ÂÃ¥ÂÂç¨ÂåºÂ(Stored Procedure)(簡稱SP)æ¯使ç¨èÂÂ
é ÂÃ¥Â
Â寫好çÂÂè³ÂæÂÂ庫ScriptãÂÂ
| + | |
| | | |
- | SPæÂÂ大好èÂÂæ¯å¯以éÂÂä½Âè³ÂæÂÂå¨網路ä¾ÂÃ¥ÂÂå³éÂÂèÂÂ網路負è¼Âï¼Âå çºæÂÂÃ¥ÂÂå°ÂèÂÂçÂÂè³ÂæÂÂçÂÂç¨Âå¼Â碼寫å¨伺æÂÂå¨端ï¼Âé£麼客æ¶端å°ÂåªæÂÂæ¶å°ç¶ÂéÂÂèÂÂçÂÂå¾ÂçÂÂç´ÂéÂÂï¼Âå¦Âæ¤è³ÂæÂÂ庫伺æÂÂå¨æÂÂè½æÂÂ大大çÂÂæÂÂÃ¥ÂÂï¼Â
| + | SP最大好處是可以降低資料在網路來回傳送與網路負載,因為我們將處理資料的程式碼寫在伺服器端,那麼客戶端將只會收到經過處理後的紀錄,如此資料庫伺服器效能會大大的提升. |
| | | |
- | === Ã¥ÂÂå¨è¿Âç¨Â(Stored Procedure)ç¸åÂ
³èªÂæ³ === | + | === 存储过程(Stored Procedure)相关語法 === |
- | *Ã¥ÂÂå¨è¿Âç¨Â(Stored Procedure)Ã¥ÂÂ建çÂÂèªÂæ³Âï¼ | + | *存储过程(Stored Procedure)创建的語法: |
| <pre> | | <pre> |
| CREATE PROCEDURE name | | CREATE PROCEDURE name |
- | [( param datatype [, param datatype â¦])] | + | [( param datatype [, param datatype …])] |
- | [RETURNS ( param datatype [, param datatype â¦])] | + | [RETURNS ( param datatype [, param datatype …])] |
| AS | | AS |
| <procedure_body>; | | <procedure_body>; |
第18行: |
第16行: |
| <variable_declaration_list> = | | <variable_declaration_list> = |
| DECLARE VARIABLE var datatype; | | DECLARE VARIABLE var datatype; |
- | [DECLARE VARIABLE var datatype; â¦] | + | [DECLARE VARIABLE var datatype; …] |
| <block> = | | <block> = |
| BEGIN | | BEGIN |
| < compound_statement> | | < compound_statement> |
- | [< compound_statement> â¦] | + | [< compound_statement> …] |
| END | | END |
| <compound_statement> = {<block> | statement;} | | <compound_statement> = {<block> | statement;} |
| </pre> | | </pre> |
| | | |
- | *Stored Procedure ä¿®æ¹çÂÂèªÂæ³Âï¼ | + | *Stored Procedure 修改的語法: |
| <pre> | | <pre> |
| ALTER PROCEDURE name | | ALTER PROCEDURE name |
- | [( var datatype [, var datatype â¦])] | + | [( var datatype [, var datatype …])] |
- | [RETURNS ( var datatype [, var datatype â¦])] | + | [RETURNS ( var datatype [, var datatype …])] |
| AS | | AS |
| procedure_body; | | procedure_body; |
| </pre> | | </pre> |
| | | |
- | *Stored Procedure 移é¤çÂÂèªÂæ³Âï¼ | + | *Stored Procedure 移除的語法: |
| <pre> | | <pre> |
| DROP PROCEDURE name; | | DROP PROCEDURE name; |
| </pre> | | </pre> |
| | | |
- | === Stored Procedure ç¯Âä¾ === | + | === Stored Procedure 範例 === |
- | *Stored Procedure 建ç«ÂçÂÂèªÂæ³Âï¼ | + | *Stored Procedure 建立的語法: |
- | *Stored Procedure ä¿®æ¹çÂÂèªÂæ³Âï¼ | + | *Stored Procedure 修改的語法: |
- | *Stored Procedure 移é¤çÂÂèªÂæ³Âï¼ | + | *Stored Procedure 移除的語法: |
| | | |
| | | |
- | === ç¸éÂÂæÂÂç« === | + | === 相關文章 === |
- | *[http://www.aboutcase.com/phorum/read.php?f=38&i=22&t=19 é Âå²ç¨ÂåºÂå¨網ç«ÂæÂÂç¨ç¨Âå¼Âä¸ÂçÂÂæÂÂç¨(ä¸Â)] | + | *[http://www.aboutcase.com/phorum/read.php?f=38&i=22&t=19 預儲程序在網站應用程式上的應用(一)] |
- | *[http://yes.nctu.edu.tw/SQL/StoredProcedure/StoredProcedure.htm é ÂÃ¥ÂÂç¨ÂåºÂ] | + | *[http://yes.nctu.edu.tw/SQL/StoredProcedure/StoredProcedure.htm 預存程序] |
| *[http://uiproject.udngroup.com.tw/ui/TechDocs/SQL/Lessons/Implement/StoredProcedure.htm SQL Server-Stored Procedure] | | *[http://uiproject.udngroup.com.tw/ui/TechDocs/SQL/Lessons/Implement/StoredProcedure.htm SQL Server-Stored Procedure] |
SP最大好處是可以降低資料在網路來回傳送與網路負載,因為我們將處理資料的程式碼寫在伺服器端,那麼客戶端將只會收到經過處理後的紀錄,如此資料庫伺服器效能會大大的提升.