Tsql table variable to Oracle PLSql -
i working on tsql plsql conversion. there several table variables declared , used in tsql, like
declare @table_var table( id_ int ......) while ... begin insert @table_var select ... ... select * @table_var..
i think in oracle global temporary table can used, data maximum 10k rows.
how efficient global temporary tables in case? there other way other global temporary table
, table types
in oracle convert similar sql query?
oracle version: oracle11g
or oracle12c
depending on size of data , task want achieve-- can use
- pl/sql record/table , bulk processing
- hold data in cursor , loop through
- if want kind of query update -- can use in-line view (preserving primary key)
Comments
Post a Comment