2013-06-22 22 views
-1

定義過程時,直到我遇到IS我一直在用ASPL/SQL。是什麼東西之間作爲存儲過程的區別?

create or replace procedure myproc (cnum in customer.custno%type) is --here 
v_name char(20); 
v_phone char(10); 
begin 
...... 
end myproc; 

在我應該使用什麼樣的情況下is,而不是as

+0

已經回答 - http://stackoverflow.com/questions/230348/what-is-the-difference-between-as-and-is-in-an-oracle-stored-procedure – OldProgrammer

回答

2

他們是相同的。

函數體開始與關鍵字IS(或AS),並與 關鍵字END接着任選的函數名結束

參見here爲參考。

相關問題