IS vs AS keywords for PL/SQL Oracle Function or Procedure Creation

SqlOraclePlsql

Sql Problem Overview


I have been trying to find out what the difference is between the IS and AS keywords in PL/SQL when creating an Oracle function or procedure.

I have searched and have been unable to find any information on this. Does anyone know the difference?

Sql Solutions


Solution 1 - Sql

I've never known there to be a difference. The Oracle documentation implies that they are synonyms:

> The function body begins with the keyword IS (or AS) and ends with the keyword END followed by an optional function name.

Solution 2 - Sql

Same as DISTINCT and UNIQUE in select statements. i.e, there is no material difference between 'IS' and 'AS'. Backwards compatibility and meeting standards

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJoel CunninghamView Question on Stackoverflow
Solution 1 - SqlOMG PoniesView Answer on Stackoverflow
Solution 2 - Sqlpj.View Answer on Stackoverflow