FirebirdSQL/3/Store Procedure
出自VFP Wiki
在2009年8月19日 (三) 10:41由DarliLatrb (對話 | 貢獻)所做的修訂版本
http://alcaricch.com/boeltousit.html[cozelerrac] [[1][cozelerrac]]
- http://lirolrictr.com/siteltrviel.html cozelerrac
- [cozelerrac]
- [[2]]
- [| cozelerrac]
- [3]
- [cozelerrac|http://lizelc4.com/zelelcget.html]
- ((http://cocnagetal.com/acelvidr.html cozelerrac))
- [cozelerrac](http://vicoco.com/relace.html "cozelerrac")
"cozelerrac":http://rolalvarchib.com/elzelzeldr.html
目錄 |
åå¨è¿ç¨æ¯ä»ä¹
é åç¨åº(Stored Procedure)(簡稱SP)æ¯ä½¿ç¨è é å 寫好çè³æ庫Scriptã
SPæ大好èæ¯å¯ä»¥éä½è³æå¨ç¶²è·¯ä¾åå³éèç¶²è·¯è² è¼ï¼å çºæåå°èçè³æçç¨å¼ç¢¼å¯«å¨ä¼ºæå¨ç«¯ï¼é£éº¼å®¢æ¶ç«¯å°åªææ¶å°ç¶éèçå¾çç´éï¼å¦æ¤è³æ庫伺æå¨æè½æ大大çæåï¼
åå¨è¿ç¨(Stored Procedure)ç¸å ³èªæ³
- åå¨è¿ç¨(Stored Procedure)å建çèªæ³ï¼
CREATE PROCEDURE name [( param datatype [, param datatype â¦])] [RETURNS ( param datatype [, param datatype â¦])] AS <procedure_body>; <procedure_body> = [<variable_declaration_list>] <block> <variable_declaration_list> = DECLARE VARIABLE var datatype; [DECLARE VARIABLE var datatype; â¦] <block> = BEGIN < compound_statement> [< compound_statement> â¦] END <compound_statement> = {<block> | statement;}
- Stored Procedure ä¿®æ¹çèªæ³ï¼
ALTER PROCEDURE name [( var datatype [, var datatype â¦])] [RETURNS ( var datatype [, var datatype â¦])] AS procedure_body;
- Stored Procedure 移é¤çèªæ³ï¼
DROP PROCEDURE name;
Stored Procedure ç¯ä¾
- Stored Procedure 建ç«çèªæ³ï¼
- Stored Procedure ä¿®æ¹çèªæ³ï¼
- Stored Procedure 移é¤çèªæ³ï¼