<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5665473</id><updated>2011-04-21T22:22:34.493+03:00</updated><title type='text'>Oracle notes</title><subtitle type='html'>this blog will contain various oracle knowladge which i get</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://agonen.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5665473.post-116635246152548433</id><published>2006-12-17T12:44:00.000+02:00</published><updated>2006-12-17T12:47:43.580+02:00</updated><title type='text'>Regulaer experssions = Tips</title><summary type='text'>You can do wonderful stuff with regular expressions , here are some useful items : select regexp_substr('ORA-06512: at "ECTEL_ADMIN.ERR", line 20 ORA-06512: at "ECTEL_ADMIN.ERR", line 89 ORA-06512: at "FRAUD_OWNER.RULES_MGR", line 1932 ORA-06512: at "FRAUD_OWNER.ALERT_MGR", line 611 ','[^'||chr(10)||']+\Z',1,1) from dual;This get the last line , it look for all lines string with chr(10) - which </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/116635246152548433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/116635246152548433'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_12_01_archive.html#116635246152548433' title='Regulaer experssions = Tips'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-116160799471816466</id><published>2006-10-23T14:48:00.000+02:00</published><updated>2006-10-23T14:53:16.113+02:00</updated><title type='text'>Look in a list of  values with Like</title><summary type='text'>Let say , you've a table of values , and you want to a list of records which answer those records and like (support of wildcard) .The sql to do it is like the follow :  select  dt.tablespace_name from dba_tablespaces  dt  where not exists    (select 1 from br_content bc where  dt.tablespace_name like bc.component_name and job_id = 1 )Note the order of the tablespace_name and component_name.   </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/116160799471816466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/116160799471816466'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_10_01_archive.html#116160799471816466' title='Look in a list of  values with Like'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-115754502119622486</id><published>2006-09-06T15:16:00.000+03:00</published><updated>2006-09-06T15:17:03.963+03:00</updated><title type='text'>INSERT with select example</title><summary type='text'>   SQL&gt; insert into giy  values((select 900 from dual),(select 902 from  actions));   1 row  inserted     -- Must be single row query SQL&gt; insert into giy  values((select 900 from dual),(select 902 from  users));insert into giy values((select 900  from dual),(select 902 from users))  ORA-01427: single-row subquery  returns more than one row   SQL&gt; commit;   Commit  complete  </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115754502119622486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115754502119622486'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_09_01_archive.html#115754502119622486' title='INSERT with select example'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-115493096916416441</id><published>2006-08-07T09:05:00.000+03:00</published><updated>2006-08-07T09:09:30.296+03:00</updated><title type='text'>How to change database charsets</title><summary type='text'>In order to the change database charset do the following:Please note this procdure may corrupt database  which is not supported by the new charset.  Login as sys to the oracle :SHUTDOWN IMMEDIATE;STARTUP MOUNT;ALTER SYSTEM ENABLE RESTRICTED SESSION;ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;ALTER SYSTEM SET AQ_TM_PROCESSES=0;ALTER DATABASE OPEN;     ALTER DATABASE CHARACTER SET INTERNAL_USE ;SHUTDOWN</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115493096916416441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115493096916416441'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_08_01_archive.html#115493096916416441' title='How to change database charsets'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-115339948289268716</id><published>2006-07-20T15:32:00.000+03:00</published><updated>2006-07-20T15:44:43.320+03:00</updated><title type='text'>How to create new file system in sun solaries</title><summary type='text'>STEP 1 -unix&gt;formatFORMAT MENU:        disk       - select a disk        type       - select (define) a disk type        partition  - select (define) a partition table        current    - describe the current disk        format     - format and analyze the disk        repair     - repair a defective sector        label      - write label to the disk        analyze    - surface analysis        </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115339948289268716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115339948289268716'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_07_01_archive.html#115339948289268716' title='How to create new file system in sun solaries'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-115094464409002658</id><published>2006-06-22T05:45:00.000+03:00</published><updated>2006-06-22T05:50:44.373+03:00</updated><title type='text'>Waiting on enq:JI</title><summary type='text'>I got an installation which got the following problem:the user  has done the following :update all_cases set desc='aaa' where id=2;commit &lt;--- this statment got hang for about 5 mintunes.The reason for that is because we have a materialize view on commit on the this table.This materialized view is doing a full refresh due to some wrong declaration. This cause the wait above.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115094464409002658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115094464409002658'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_06_01_archive.html#115094464409002658' title='Waiting on enq:JI'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-115062708300606164</id><published>2006-06-18T13:36:00.000+03:00</published><updated>2006-06-18T13:38:03.840+03:00</updated><title type='text'>How to build databases on  \\netstore3\db</title><summary type='text'>We’ve storage to keep all the database files. The only account  which is permitted to access this account is ECTEL\dbaIt order for oracle database to access the files you need to do the following :•    Login with local administrator to the db machine – add user ectel\dba to administrator group (need to be done only once )•    Login with this user(ectel\dba) to machine which the database software </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115062708300606164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/115062708300606164'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_06_01_archive.html#115062708300606164' title='How to build databases on  \\netstore3\db'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-114853600427034815</id><published>2006-05-25T08:29:00.000+03:00</published><updated>2006-05-25T09:03:31.770+03:00</updated><title type='text'>Using DBCA - Part I</title><summary type='text'>DBCA - Database Configuration AssistantEveryone know about the GUI interface , here i will try to show how to use the command line interface.Deleting  databasedbca  -progressOnly -deleteDatabase -sourceDB  -sysDBAPassword        This will start the deletion of the database , It will ask for confirmation.  </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114853600427034815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114853600427034815'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_05_01_archive.html#114853600427034815' title='Using DBCA - Part I'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-114776182452811104</id><published>2006-05-16T09:35:00.000+03:00</published><updated>2006-05-16T09:43:44.796+03:00</updated><title type='text'>Switching To Archivelog in 10g</title><summary type='text'>Show parameter parallel_max_servers (write down old value)alter system set parallel_max_servers=0 scope=both;shutdown immediatestartup restrict mountAlter database archicvelog ;   (no need to use archive log start)alter system set parallel_max_servers= scope=both;shutdown immediatestartup</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114776182452811104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114776182452811104'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_05_01_archive.html#114776182452811104' title='Switching To Archivelog in 10g'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-114396139647340240</id><published>2006-04-02T09:57:00.000+03:00</published><updated>2006-04-02T10:03:16.826+03:00</updated><title type='text'></title><summary type='text'>Application securiny - Part ISecure the oracle password :You can use wallet to stone encrypted passwords without any application code changes.Here are the steps to implement wallet connections:1. Create the wallet directory and objectsmkstore -wrl  -create2.  Insert a new database alias to be usedmkstore -wrl  -createCredential    3. Configure the sqlnet.ora (oracle client ) to use the wallet </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114396139647340240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114396139647340240'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_04_01_archive.html#114396139647340240' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-114174458153230776</id><published>2006-03-07T17:11:00.000+02:00</published><updated>2006-03-07T17:16:21.766+02:00</updated><title type='text'></title><summary type='text'> ORACLE sort comp : NLS_SORT nls_comp v$nls_parameters binary The sort and comp (like between)  migth work differently.  --  Two examples: --  First example: DROP TABLE  TEST;   CREATE TABLE TEST ( entity VARCHAR2(4)); INSERT INTO TEST VALUES('a'); INSERT INTO TEST VALUES('0'); INSERT INTO TEST VALUES('A'); INSERT INTO TEST VALUES('1'); COMMIT;   --  sort and comp are the  same: ALTER SESSION SET</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114174458153230776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114174458153230776'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_03_01_archive.html#114174458153230776' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-114130043661409906</id><published>2006-03-02T13:49:00.000+02:00</published><updated>2006-03-02T13:53:56.960+02:00</updated><title type='text'></title><summary type='text'>FAQ  - in FraudView 8.0How to roll partitions        --&gt; Login as  ectel_admin        --&gt; exec  dbms_scheduler.run_job('ECT_DBM_PARTITION_CLEANUP_ J') </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114130043661409906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/114130043661409906'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_03_01_archive.html#114130043661409906' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113886408788606377</id><published>2006-02-02T08:49:00.000+02:00</published><updated>2006-02-02T09:08:08.196+02:00</updated><title type='text'></title><summary type='text'>Analtic functions one of my friend ask how to get the lower value of partition :SELECT TABLE_OWNER,TABLE_NAME,PARTITION_POSITION,PARTITION_NAME, LAG(PARTITION_NAME,1) OVER (ORDER BY PARTITION_NAME) BEFORE_PARTITION_NANE, LAG(PARTITION_POSITION,1) OVER (ORDER BY PARTITION_POSITION) BEFORE_PARTITION FROM all_tab_partitions WHERE table_name='UR_PROBE' AND table_owner='DBWR'</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113886408788606377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113886408788606377'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_02_01_archive.html#113886408788606377' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113825713544344167</id><published>2006-01-26T08:31:00.000+02:00</published><updated>2006-03-13T13:52:18.226+02:00</updated><title type='text'></title><summary type='text'>Working with XMLSUpdating XMLupdate im_config  set current_data =  updateXML(current_data, '/a/*[@x=2]text()', 'two')  where ID='TEST';(using clob) declare newURL  varchar2(300):='http://ServerName/businessobjects/enterprise115/desktoplaunch/InfoView/logon/logon.do';beginupdate  ui_settings  a set a.xml =   updateXML(xmltype(a.xml),'/MENUS/BUTTON/MENU[@TITLE=''Reports'']/@URL',newURL).getclobval(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113825713544344167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113825713544344167'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113825713544344167' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113819366579391027</id><published>2006-01-25T14:45:00.000+02:00</published><updated>2006-11-14T09:31:45.080+02:00</updated><title type='text'></title><summary type='text'>Enable flashback database One  Time Setting shutdown immediatestartup mountalter database archivelog;alter system set db_recovery_File_dest_Size=5G scope=both;alter system set db_recovery_File_dest='E:\oracle\recovery' scope=both;alter database flashback on;alter database open;Before applying changes/tests scripts :CREATE RESTORE POINT ZeroBaseData GUARANTEE FLASHBACK DATABASE;Do the changes  </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113819366579391027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113819366579391027'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113819366579391027' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113804145461172283</id><published>2006-01-23T20:35:00.000+02:00</published><updated>2006-01-23T20:37:34.736+02:00</updated><title type='text'></title><summary type='text'>Insert all with sequencecreate table yy  ( a number, b number) ; create table  yy2 ( a number, b number) ; insert all into yy(a)  values (PS_ALERT_NUMBER_SEQ.NEXTVAL)   into yy2(a,b) values(PS_ALERT_NUMBER_SEQ.NEXTVAL,aaa) select 1 aaa from  dual</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113804145461172283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113804145461172283'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113804145461172283' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113804134920478534</id><published>2006-01-23T20:31:00.000+02:00</published><updated>2006-01-26T05:41:22.586+02:00</updated><title type='text'></title><summary type='text'>Example of using interval   select  count(*)  from user_scheduler_jobs            where upper(JOB_action) = 'PS4_MAINTENANCE.BEGIN_();' and  ENABLED = 'TRUE'and (sysdate -   LAST_START_DATE) &lt;&gt; Interval '3' hour;this query return jobs the doesn't run for every 3 hours</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113804134920478534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113804134920478534'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113804134920478534' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113740099920315938</id><published>2006-01-16T10:40:00.000+02:00</published><updated>2006-01-16T10:43:19.476+02:00</updated><title type='text'></title><summary type='text'>How to execute Oracle stored-procedure with XMLTYPE output parameterpublic static string GetHotlistsByAlertID(long alertID){Log.WriteStartFunction("GUIData", "Hotlists", MethodInfo.GetCurrentMethod());      OracleDataReader dataReader = null;      string retValue = String.Empty;      OracleParameter[] commandParameters = new OracleParameter[]            {                  new OracleParameter("</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113740099920315938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113740099920315938'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113740099920315938' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113733262415488977</id><published>2006-01-15T15:41:00.000+02:00</published><updated>2006-01-15T15:43:44.186+02:00</updated><title type='text'></title><summary type='text'>ORACLE 10g merge example with delete create table  yy1 ( a number, b number)  ; create table  yy2 ( a number, b number)  ; insert into  yy1 values (1,1);  insert into  yy1 values (2,2);  insert into  yy2 values (2,4);  insert into  yy2 values (3,4);  commit;   SQL&gt; select * from yy1  ;            A           B ----------  ----------          1          1          2          2   SQL&gt; select * from</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113733262415488977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113733262415488977'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113733262415488977' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113678825023099517</id><published>2006-01-09T08:25:00.000+02:00</published><updated>2006-01-09T08:30:50.240+02:00</updated><title type='text'></title><summary type='text'>Problem creating database using DBCA"[Thread-9] [19:10:30:151] [CloneRmanRestoreStep.executeImpl:320]  starting with pfile=D:\oracle\product\10.2.0\admin\trp\pfile\init.ora[Thread-7] [19:10:35:198] [BasicStep.handleNonIgnorableError:430]  oracle.sysman.assistants.util.UIMessageHandler@169a50b:messageHandler[Thread-7] [19:10:35:198] [BasicStep.handleNonIgnorableError:431]  ORA-24324: service </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113678825023099517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113678825023099517'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113678825023099517' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113645080772090052</id><published>2006-01-05T10:46:00.000+02:00</published><updated>2006-01-05T10:46:47.730+02:00</updated><title type='text'></title><summary type='text'>Constaraints typesc - checkp - primary keyu - uniquer - references (fkey)v - view with check optiono - read only on a view</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113645080772090052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113645080772090052'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113645080772090052' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113644249735966954</id><published>2006-01-05T08:27:00.000+02:00</published><updated>2006-01-05T08:28:17.370+02:00</updated><title type='text'></title><summary type='text'>Example of function index in oracle CREATE UNIQUE INDEX FRAUD_OWNER.UNIQUE_ALERT_COLUMN ON FRAUD_OWNER.STONES(NVL2("ALERT_COLUMN","SOURCE_ID",NULL), ALERT_COLUMN)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113644249735966954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113644249735966954'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113644249735966954' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113631137330342609</id><published>2006-01-03T19:53:00.001+02:00</published><updated>2006-01-03T20:04:00.326+02:00</updated><title type='text'></title><summary type='text'>Refcursor examplesvariable in_object_name varchar2(100) ;variable refcursor1 refcursor ;variable Number_out number ;CREATE OR REPLACE procedure sys_refcursor_demo (in0 IN varchar2,out1 OUT sys_refcursor,out2 OUT number)isbeginopen out1 forselect to_char(line,'0999') || ' : ' line , textfrom user_sourcewhere name = in0order by line ;select count(*) into out2from user_sourcewhere name = in0 ;end </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113631137330342609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113631137330342609'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113631137330342609' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113631131339350653</id><published>2006-01-03T19:53:00.000+02:00</published><updated>2006-01-03T20:01:53.413+02:00</updated><title type='text'></title><summary type='text'>variable in_object_name  varchar2(100) ;variable refcursor1 refcursor  ;variable Number_out number  ;     CREATE OR  REPLACE procedure sys_refcursor_demo  (            in0 IN varchar2,            out1 OUT  sys_refcursor,            out2 OUT  number)       isbegin  open out1 for           select to_char(line,'0999')  || ' :    ' line , text            from user_source            where name = in0</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113631131339350653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113631131339350653'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113631131339350653' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113612686117035245</id><published>2006-01-01T16:47:00.000+02:00</published><updated>2006-01-09T08:34:06.066+02:00</updated><title type='text'></title><summary type='text'>Export using queryexp ectel_admin/ectadm@jerusalem/im1   file=im_config.dmp  log=a.log query=\" where ip='172.16.10.63'\" tables=im_configusing import as regular</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113612686117035245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113612686117035245'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113612686117035245' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113611861790900574</id><published>2006-01-01T14:29:00.000+02:00</published><updated>2006-01-01T14:30:17.920+02:00</updated><title type='text'></title><summary type='text'>Using dynamic sql , when you don't know nothing (method 4)drop table test1 cascade constraints;create table test1 (A number,b varchar2(30));insert into test1 values (1,'aaaa');commit;set serveroutput ondeclare type aaa is table of varchar2(30) index by pls_integer; c number; vdata aaa; vcolname aaa; v_rows number;begin  for i in (select rownum id,column_name from user_Tab_Columns where table_name</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113611861790900574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113611861790900574'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2006_01_01_archive.html#113611861790900574' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113507906842899212</id><published>2005-12-20T13:42:00.000+02:00</published><updated>2005-12-20T13:44:28.440+02:00</updated><title type='text'></title><summary type='text'>SQLPLUS not runningif you run sqlplus and get nothing (sqlplus crashed)  , check enviroments variable of PATH , that are some conflicts with sqlplus of instance client and regualer sqlplus</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113507906842899212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113507906842899212'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_12_01_archive.html#113507906842899212' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113454352311346458</id><published>2005-12-14T08:56:00.000+02:00</published><updated>2005-12-14T08:58:43.123+02:00</updated><title type='text'></title><summary type='text'>In oracle 10g we have a lot of warning messages , uneccery to disable one of those error look at330239.1 notethe soluation:alter system set "_kgl_large_heap_warning_threshold"=10485760 scope=spfile                         /</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113454352311346458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113454352311346458'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_12_01_archive.html#113454352311346458' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-113121705446663282</id><published>2005-11-05T20:56:00.000+02:00</published><updated>2005-11-05T20:57:34.470+02:00</updated><title type='text'></title><summary type='text'>  תצלום משפחתי מאוחד  </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113121705446663282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/113121705446663282'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_11_01_archive.html#113121705446663282' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-112908307515621211</id><published>2005-10-12T04:07:00.000+02:00</published><updated>2005-10-12T04:11:15.160+02:00</updated><title type='text'></title><summary type='text'>enchament to utplsl I've changes packages utoutputreporter and utplsql to support 10gr2 features:1. remove all code the handle split lines from utoutputreport.pl (we don't need it in 10g2)2. call dbms_utility.format_error_stack to get more data.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112908307515621211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112908307515621211'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_10_01_archive.html#112908307515621211' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-112593013243675509</id><published>2005-09-05T17:19:00.000+03:00</published><updated>2005-09-05T17:22:12.440+03:00</updated><title type='text'></title><summary type='text'>Instance client pointsif you can't use easy connect (//server:port/dB) ,then use tnsnames.ora . You must set tns_admin environment varibable to point to it</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112593013243675509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112593013243675509'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_09_01_archive.html#112593013243675509' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-112255899418406121</id><published>2005-07-28T16:54:00.000+03:00</published><updated>2005-07-28T16:56:34.190+03:00</updated><title type='text'></title><summary type='text'>Using sofistciate interval function for oracle jobs :ell, it isn't really about dbms_job, but rather "a function to return a timegiven an input"...I think:casewhen to_number(to_char(sysdate,'hh24')) between 2 and 21then sysdate+10/24/60when to_char(sysdate,'DY') in('MON','TUE','WED',THU')then trunc(sysdate)+1+2/24else next_date(trunc(sysdate),'MON')+2/24endif the hours are between 2am and 9pm, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112255899418406121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112255899418406121'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_07_01_archive.html#112255899418406121' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-112014498942017770</id><published>2005-06-30T18:22:00.000+03:00</published><updated>2005-07-01T11:26:04.583+03:00</updated><title type='text'></title><summary type='text'>--Compare packageCREATE OR REPLACE PACKAGE CompareUtils AUTHID CURRENT_USER IS  FUNCTION getDDL(object_type VARCHAR2,                  object_name VARCHAR2,                  orig_schema VARCHAR2 DEFAULT NULL,                  comp_Schema VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;  FUNCTION objectddl_fc(input_values SYS_REFCURSOR) RETURN objectddl_ty_tb    PIPELINED;END CompareUtils;/CREATE OR </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112014498942017770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/112014498942017770'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_06_01_archive.html#112014498942017770' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111987126538249891</id><published>2005-06-27T14:17:00.000+03:00</published><updated>2005-06-27T14:21:05.386+03:00</updated><title type='text'></title><summary type='text'>Look at xml data as tableSELECT ROWNUM AS  ID,u.Id CDR_TYPE,t.name PACKAGE_NAME,extract(value(e), 'day/@val').getNumberVal() FROM_DAY,'a'  FROM_TIME,'a' TO_DAY,'a' TO_TIME,extract(value(d), 'time/@user').getNumberVal() PERIOD_CLASS_IDFROM  rating_modules t JOIN  md_ur_types u ON t.ur_type_id=u.ID ,table(xmlsequence( -- return serveral rows     extract(xmltype(t.period_xml), '//period/time'))) d,-</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111987126538249891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111987126538249891'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_06_01_archive.html#111987126538249891' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111891990159106850</id><published>2005-06-16T13:58:00.000+03:00</published><updated>2005-06-16T14:05:01.596+03:00</updated><title type='text'></title><summary type='text'>Using different Quote sign Instead of problems in ' in string you can change to use other char.syntax is q'x you text x'qfor exampe         q'|' RUNNING  SELECT T.STATE,             T.LAST_START_DATE,             T.LAST_RUN_DURATION,             T.NEXT_RUN_DATE,             T.COMMENTS        FROM ALL_SCHEDULER_JOBS T WHERE T.JOB_NAME=p_ID        OR (t.owner = substr(p_id, 1, instr(p_id, ' .</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111891990159106850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111891990159106850'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_06_01_archive.html#111891990159106850' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111814273867159743</id><published>2005-06-07T14:09:00.000+03:00</published><updated>2005-06-07T14:28:38.103+03:00</updated><title type='text'></title><summary type='text'>Registering oracle10g agentIn the Remote server agent home /sysman/config directorymake a backup copy of the emd.properties file.edit the emd.properties file.Find the following and change the . to be the OMS ..For example the remote server is foo.foo.com and the OMS server is oms.foo.comREPOSITORY_URL=http://foo.foo.com:4889/em/upload/andemdWalletSrcUrl=http://foo.foo.com:4889/em/wallets/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111814273867159743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111814273867159743'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_06_01_archive.html#111814273867159743' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111814171532834793</id><published>2005-06-07T13:53:00.000+03:00</published><updated>2005-06-07T13:55:15.336+03:00</updated><title type='text'></title><summary type='text'>Cloning oracle homeTo clone an Oracle Home, lets say the 10g Database, simply copy the Oracle Home at the source to a new location either  on the same or a different machine. Next invoke the runInstaller/setup.exe from within the copied Oracle Home in clone mode:  ./runInstaller -clone ORACLE_HOME="" ORACLE_HOME_NAME=""(-clone is a new option in 10g)This feature is currently support only for </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111814171532834793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111814171532834793'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_06_01_archive.html#111814171532834793' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111711797978451749</id><published>2005-05-26T17:26:00.000+03:00</published><updated>2005-05-26T17:42:47.026+03:00</updated><title type='text'></title><summary type='text'>Reorg database ... sometime you need to move objects in the database blog.Here is how to move common objects in the database :alter table T move tablespace xxx;alter table T move partition p1 tablespace xxx;alter index I rebuild tablespace xxx;alter table T move lob(Col)  store as (tablespace xxx);</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111711797978451749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111711797978451749'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111711797978451749' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111684046565847465</id><published>2005-05-23T12:26:00.000+03:00</published><updated>2005-05-23T12:27:45.670+03:00</updated><title type='text'></title><summary type='text'>How to disable recycle bin in 10g:ALTER SYSTEM SET "_recyclebin"=FALSE SCOPE = BOTH;from note 265253.1</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111684046565847465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111684046565847465'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111684046565847465' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111636953216922192</id><published>2005-05-18T01:14:00.002+03:00</published><updated>2005-05-23T00:31:17.076+03:00</updated><title type='text'></title><summary type='text'>database creations script dbms_metadataoracle intrudes a nice package dbms_metadata which can be use to reverse engineer existing database structure and to change it. you define what the script will contain by using dbms_metadata.set_transform_param for example :    exec dbms_metadata.set_transform_param(           dbms_metadata.session_transform, 'CONSTRAINTS', FALSE);here are the some samples :</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636953216922192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636953216922192'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111636953216922192' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111636980268589203</id><published>2005-05-18T01:14:00.001+03:00</published><updated>2005-05-18T01:43:22.693+03:00</updated><title type='text'></title><summary type='text'>database creations script dbms_metadataoracle intrudes a nice package dbms_metadata which can be use to reverse engineer existing database structure and to change it. you define what the script will contain by usingdbms_metadata.set_transform_param for example :exec dbms_metadata.set_transform_param(             dbms_metadata.session_transform, 'CONSTRAINTS', FALSE);here are the some samples :</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636980268589203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636980268589203'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111636980268589203' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111636930814751665</id><published>2005-05-18T01:14:00.000+03:00</published><updated>2005-05-18T01:37:17.010+03:00</updated><title type='text'></title><summary type='text'>database creations script dbms_metadataoracle intrudes a nice package dbms_metadata which can be use to reverse engineer existing database structure and to change it. you define what the script will contain by using dbms_metadata.set_transform_param for example :    exec dbms_metadata.set_transform_param(               dbms_metadata.session_transform, 'CONSTRAINTS', FALSE);here are the some </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636930814751665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111636930814751665'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111636930814751665' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111579633392356790</id><published>2005-05-11T10:22:00.000+03:00</published><updated>2005-05-11T10:49:47.766+03:00</updated><title type='text'></title><summary type='text'>Registering database in OID using command lineCreate file a.ldif using this format :dn: cn=prod,cn=OracleContext,dc=ectel,dc=comobjectclass: topobjectclass: orclNetServicecn: prodorclNetDescString: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = sun_server)(PORT =1521))) (CONNECT_DATA = (SID = ORCL)))run the command:  ldapadd -D cn=orcladmin -w password -h host -v -f a.ldifTaken</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111579633392356790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111579633392356790'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111579633392356790' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111579312587215946</id><published>2005-05-11T09:32:00.000+03:00</published><updated>2005-05-11T09:47:48.980+03:00</updated><title type='text'>dbca</title><summary type='text'>Hi , you can use dbca to create a image of database for installation. in 10g you have option to save also database files. the DBCA create a compress file calles Template.dbc which contain the database files compress (he compress 5.5Gb database to 80Mb file)    dbca template screen</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111579312587215946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111579312587215946'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111579312587215946' title='dbca'/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111569152543435831</id><published>2005-05-10T04:51:00.000+03:00</published><updated>2005-05-10T05:36:18.500+03:00</updated><title type='text'></title><summary type='text'> two more new features in 10g                   begin   DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (  'my_first_equivalence',   'select  ename from emp'   ,'select dname from dept', false);end; This package enable to change select to work on another table . this is a greate option to "fix" sql from 3rd party vendor (i2) that doesn't work well as we need.more information at amis           </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111569152543435831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111569152543435831'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111569152543435831' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111557870759912563</id><published>2005-05-08T21:56:00.001+03:00</published><updated>2005-05-08T22:00:00.626+03:00</updated><title type='text'></title><summary type='text'>difference between order and compare.until 10g compare is always binary , which can cause problem if you change nls_sort setting.In 10g you can set nls_comp to ansi which will use the operator of the nls_sort.for more information click here</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111557870759912563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111557870759912563'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111557870759912563' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111557858904535119</id><published>2005-05-08T21:56:00.000+03:00</published><updated>2005-05-08T21:56:29.050+03:00</updated><title type='text'></title><summary type='text'>Oracle notes</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111557858904535119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111557858904535119'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111557858904535119' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111552617148510941</id><published>2005-05-08T07:19:00.000+03:00</published><updated>2005-05-08T07:23:02.363+03:00</updated><title type='text'></title><summary type='text'>dbms_schduler (replace dbms_job in 10g)you can do a lot with this new version.for example - calling external command from oracle:just run this :begin DBMS_SCHEDULER.CREATE_JOB (   job_name     =&gt;'create_dir_test',   job_type     =&gt;'executable',   job_action =&gt; 'c:\winxp\system32\cmd.exe /c mkdir c:\test\test1',   enabled      =&gt;true,auto_drop =&gt; true);commit;end;/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111552617148510941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111552617148510941'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111552617148510941' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5665473.post-111549856554137239</id><published>2005-05-07T23:40:00.000+03:00</published><updated>2005-05-07T23:42:45.546+03:00</updated><title type='text'></title><summary type='text'>hi all,this is my first attaempt if writing blog.i intened to use this blog as a centernal place for oracle knowldage and tips.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111549856554137239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5665473/posts/default/111549856554137239'/><link rel='alternate' type='text/html' href='http://agonen.blogspot.com/2005_05_01_archive.html#111549856554137239' title=''/><author><name>gonen</name><uri>http://www.blogger.com/profile/10425204006087511464</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
