select * from sh.sales,sh.customers, sh.channels
Blog from a software professional, Passionate to work in latest cutting edge technologies in order to get better results in business.
Thursday, April 25, 2013
Oracle : SQL to find in Top Activity in EM
Tuesday, April 23, 2013
Oracle: To Know Current System Change No.
Monday, April 22, 2013
Oracle: How to lock a table with select command
Remember to Rollback when you want to unlock later :)
Oracle: Best Practice for TABLES & INDEXES Tablespace
| Tip of the day: Best Practice (for realtime): |
| Create tablespaces for TABLES, and separate tablespaces | |||||||||||
| for INDEXES for better performance and management. | |||||||||||
Tuesday, February 12, 2013
Oracle 8i : DB Links script with credentials
The Following script is very much helpful to generate script for DB Links created in the server.
SELECT 'create '||DECODE(U.NAME,'PUBLIC','public ')||'database link '||CHR(10)
||DECODE(U.NAME,'PUBLIC',Null, U.NAME||'.')|| L.NAME||chr(10)
||'connect to ' || L.USERID || ' identified by '
||L.PASSWORD||' using ''' || L.host || ''''
||chr(10)||';' TEXT
FROM sys.link$ L, sys.user$ U
WHERE L.OWNER# = U.USER#;
Thursday, December 20, 2012
Thanks & Regards
|
Monday, November 5, 2012
Oracle: syntax to Alter materialized view
Alter materialized view MV_NAME
refresh complete
start with trunc(sysdate)+17/24
next trunc(sysdate) - to_number(to_char(sysdate - 1, 'd')) + 5;
Thanks & Regards
Fauzi


