Oracle: What is the data type of ORA_ROWSCN? -


what data type of ora_rowscn? seems number cannot find specified in documentation.

declare   myscn  ???; begin     select ora_rowscn myscn t ...; end; 

it number. can see creating simple view , describing (or selecting *_tab_columns). here's simple sqlfiddle demonstration

create table foo (    col1 number );  create view vw_foo select col1, ora_rowscn scn   foo;  select *    user_tab_cols   table_name = 'vw_foo'; 

if want more detail you'd ever care on format of scn (system change number), here one decent article


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -