oracle SQL statement SELECT INTO syntax development meaning

 

oracle SQL statement SELECT INTO syntax development meaning

In ORACLE SELECT INTO how to use, what does that mean? SQL SERVER and not the same?
 

And not the same sqlserver
sqlserver or access in select into is to build the table by querying the data
oracle , this can not be performed in the select into statement must be placed in a stored procedure , function , etc. inside perform
such select to_char (sysdate, 'yyyy -mm-dd ') into v_date from dual;
this variable is used to put v_date, in the subsequent process variable to call
but this time only put a value, if the value too, if desired, to use the cursor

 

[I summarize: that is, the function or stored procedure used to assign values ​​to variables]

Guess you like

Origin www.cnblogs.com/libin6505/p/11357065.html