Friday, October 18, 2013

Know the properties of the database

select * from sys.V_$VERSION;

know the properties of the database using DBLink

select * from sys.V_$VERSION@DBLink;

Friday, August 23, 2013

TO_DATE in SQL

Alternatively, you may use TO_DATE explicitly:
insert into x
values(99, to_date('1998/05/31:12:00:00AM', 'yyyy/mm/dd:hh:mi:ssam'));
The general usage of TO_DATE is:
TO_DATE('', '')

Thursday, August 22, 2013