Pages
Categories
Apex Audit Book review Bugs Character sets Database links Dataguard Email General musings Grid control Installs Linux Materialized views Old Oracle forms Performance tuning PL/SQL RAC Rman Scripts Security Sharepoint Space Spfile SQL*Net SQL Developer SQL server Stats Uncategorized Windows WordpressCategories
- Apex (1)
- Audit (1)
- Book review (2)
- Bugs (6)
- Character sets (6)
- Database links (1)
- Dataguard (1)
- Email (3)
- General musings (6)
- Grid control (2)
- Installs (10)
- Linux (16)
- Materialized views (2)
- Old (1)
- Oracle forms (4)
- Performance tuning (17)
- PL/SQL (4)
- RAC (6)
- Rman (10)
- Scripts (28)
- Security (2)
- Sharepoint (1)
- Space (6)
- Spfile (1)
- SQL Developer (1)
- SQL server (5)
- SQL*Net (4)
- Stats (4)
- Uncategorized (6)
- Windows (7)
- Wordpress (3)
Archives
- December 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- April 2009
- March 2009
- November 2008
- January 2008
- November 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
Recent Comments
- xnnc on Oracle Forms Dropdown List Item values populated from database table
- kelloggsville on ORA-38029 Object Statistics Are Locked – due to import with rows=n
- pawan on Cron fix for ulimit: max user processes: cannot modify limit:operation not permitted
- Adex on Fix for Oracle XE 1608: unable to create InstallDriver instance, return code -2147221164
- Shivaswamy on Oracle Data Guard Overview
Monthly Archives: June 2010
Install latest version of Oracle ODBC
To install latest version of Oracle ODBC: Go to http://www.oracle.com/technology/tech/oci/instantclient/ to download: Instant Client Package – Basic Instant Client Package – ODBC Unzip both of them into the same folder (e.g. c:\oracle). Add that folder name into the PATH environment … Continue reading
Posted in Installs, Windows
Leave a comment
O’Reilly’s Steve Feuerstein Oracle PL/SQL Programming
O’Reilly’s Steve Feuerstein Oracle PL/SQL Programming, 2nd Edition online at http://soft.buaa.edu.cn/oracle/bookshelf/Oreilly/prog2/
Posted in Book review, PL/SQL
Leave a comment
Plugins for WordPress Code Display
This plugin is pretty much essential to get wordpress to display code: Syntax Highlighter and Code Prettifier Plugin for WordPress The other plugins I use are: wp-table Google XML Sitemaps Akismet
Posted in Wordpress
Leave a comment
chr(163) for £ pound character
Use chr(163) for the ‘£’ character, especially in stored SQL such as create procedure scripts, where you can’t be sure what client character settings might be used to re-create the procedure. SELECT m.description, chr(163)||TO_CHAR(m.weekly_rate, ’999.99′) amount from my_table m; This … Continue reading
Posted in Character sets
Leave a comment
chr(13) chr(10) carriage return line feed CR LF
chr(13) and chr(10) are the carriage return line feed CR LF characters, so to strip them out: select replace(replace(m.long_notes,chr(10),’ ‘),chr(13),’ ‘) from mytable m;
Posted in Character sets
Leave a comment
sqltrpt readable formatting
Output of sqltrpt is more readable with these settings: set pages 9999 lines 192 col plan_plus_exp form a132 @?/rdbms/admin/sqltrpt
Posted in Performance tuning
Leave a comment
Setting bind variables in sql*plus
variable b1 varchar2(6) ; exec :b1 := ’2009′ Used mainly for sql tuning rather than in real code.
Posted in Performance tuning
Leave a comment
SQL profile drop
If you have accepted a sql profile from a tuning advisor recommandation like: execute dbms_sqltune.accept_sql_profile(task_name => ‘TASK_239607′, replace => TRUE); Then the regression commands to back it out are like: select name from dba_sql_profiles; exec dbms_sqltune.drop_sql_profile(‘MYNAME’)
Posted in Performance tuning
Leave a comment
Change oracle password temporarily
Want to connect as a particular user but don’t know their password? You can temporarily change it and then reset it back, if you have DBA/alter any user privilege: SQL> select password from dba_users where username = ‘MYUSER’; PASSWORD —————————— … Continue reading
Posted in Uncategorized
Leave a comment