oracle - What is the purpose of this SQL syntax (AS XYZ NUMBER)? -


I am studying this PL / SQL code, and the beginning section looks like this:

  Create or Reverted Action Part Tmpvar NUMBER as ADELS_SPROC_NAME (p_batch_mod_ind IN VARCHAR2, ... / * etc etc * /);  

I do not know

  ASTMVR NUMBER;  

What is the section doing? what is this?

AS (or IS ) your announcements The beginning of the section shows that in your Announcements section, you are declaring a local variable tmpVar type NUMBER . Generally, there are many variables declared in your manifesto section. The skeleton of your process is something like

  the process of creating or changing < & Lt; Process name & gt; & Gt; ( & gt; & gt;) AS & lt; & Lt; Local variable declared & gt; & Gt; BEGIN & lt; & Lt; Do something & gt; & Gt; END & lt; & Lt; Process name & gt; & Gt ;;  

AS is nothing directly with the announcement.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -