What is the difference between “AS” and “IS” in an Oracle stored procedure?

前端 未结 6 535
不思量自难忘°
不思量自难忘° 2020-11-27 12:13

I see Oracle procedures sometimes written with \"AS\", and sometimes with \"IS\" keyword.

CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID inte         


        
6条回答
  •  死守一世寂寞
    2020-11-27 12:59

    According to TutorialsPoint

    The AS keyword is used instead of the IS keyword for creating a standalone procedure.

    and considering previous answers,

    I guess

    AS is for stand alone (outside of any block, subprogram, package) entities

    and

    IS is for embedded (within a block, subprogram or package) entities.

    .

提交回复
热议问题