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

  1. pl/sql record/table , bulk processing
  2. hold data in cursor , loop through
  3. if want kind of query update -- can use in-line view (preserving primary key)

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -