<?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-18895844</id><updated>2011-11-28T02:01:04.639+01:00</updated><category term='BI Publisher'/><category term='E-Business'/><category term='DBA'/><category term='Developer'/><category term='Documentation'/><category term='Tips'/><category term='General'/><category term='OBIEE'/><category term='Fusion'/><category term='ADF'/><category term='OAF'/><title type='text'>TEKMEN's Oracle World</title><subtitle type='html'>It is all about Oracle.

I will try to share my experiences here. Main subjects will be Development, E-Business Suite, ADF, SOA, Fusion etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>65</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18895844.post-1255886841969432566</id><published>2011-02-27T17:30:00.002+01:00</published><updated>2011-02-22T17:33:12.796+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Partitioning on W_GL_OTHER_F - 1</title><content type='html'>&lt;div style="text-align: justify;"&gt;In our database, W_GL_OTHER_F table has more then 70 million records, and reports have already started hitting bad performance. Considering we will go live on more countries in our global OBIEE project, the number of records is getting higher day by day. According to Oracle Business Intelligence Applications Version 7.9.6 Performance Recommendations (BI_Apps796_Perf_Tech_Note_V5), we have decided to go on partitiopning over W_GL_OTHER_F table. I will try to write the all steps that we followed to help other people who are trying to do the same, as we had many questions before starting this process, and we could not find quick answers by just googling.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;We are implementing the range partitioning with ACCT_PERIOD_END_DT_WID and also partitioning the data by quarterly. The first problem that we hit was how to partition the data by quarterly while the ACCT_PERIOD_END_DT_WID is a number field having populated by concatenating 3 values&lt;/div&gt;&lt;blockquote&gt;M_CAL_CAL_WID || ACCT_PERIOD_END_DT|| IIF(ADJUSTMENT_FLG='Y', '999', '000')&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;M_CAL_CAL_WID is an ID of calendar being used, in our case it is 1003. And the last 3 digits has not much impact on partitioning. Like if accounting period end is 20101031 (31 Oct 2010) and if it is adjustment record then ACCT_PERIOD_END_DT_WID would be 100320101031999.&amp;nbsp; Therefore we came up with the solution that we will be loading this data into 4th Quarter of 2010, which can be defined as "partition PART_2010Q4 values less than (&lt;span style="color: red;"&gt;1003&lt;/span&gt;&lt;span style="color: #ff6600;"&gt;20101232&lt;/span&gt;&lt;span style="color: #339966;"&gt;000&lt;/span&gt;)", see the below create table script for more detail, but itis simply that we do not need to comply with date formatting, it is a number in this column anyway, so we can play with it as we want.&lt;/div&gt;&lt;br /&gt;Steps to be done in Datawarehouse Database&lt;br /&gt;Rename the original table&lt;br /&gt;&lt;blockquote&gt;rename W_GL_OTHER_F to W_GL_OTHER_F_ORIG;&lt;br /&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;Before running the create table ddl, execute the below query in database and change the partition range value accordingly.&lt;br /&gt;&lt;blockquote&gt;SELECT row_wid&lt;br /&gt;FROM w_mcal_cal_d&lt;br /&gt;WHERE mcal_cal_name = 'YOUR CALENDAR&lt;your_calendar_name&gt;'&lt;/your_calendar_name&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;Please use the value from the above query while defining the partition  range. As in our environment the value is 1003 we have used 1003**** and  replace this with the query result.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Create the partitioned table, using range partitioning by quarter;&lt;/div&gt;&lt;blockquote&gt;Create table W_GL_OTHER_F partition by range (ACCT_PERIOD_END_DT_WID)&lt;br /&gt;(&lt;br /&gt;partition PART_MIN values less than (100320061232000),&lt;br /&gt;partition PART_2007Q1 values less than (100320070332000),&lt;br /&gt;partition PART_2007Q2 values less than (100320070632000),&lt;br /&gt;partition PART_2007Q3 values less than (100320070932000),&lt;br /&gt;partition PART_2007Q4 values less than (100320071232000),&lt;br /&gt;partition PART_2008Q1 values less than (100320080332000),&lt;br /&gt;partition PART_2008Q2 values less than (100320080632000),&lt;br /&gt;partition PART_2008Q3 values less than (100320080932000),&lt;br /&gt;partition PART_2008Q4 values less than (100320081232000),&lt;br /&gt;partition PART_2009Q1 values less than (100320090332000),&lt;br /&gt;partition PART_2009Q2 values less than (100320090632000),&lt;br /&gt;partition PART_2009Q3 values less than (100320090932000),&lt;br /&gt;partition PART_2009Q4 values less than (100320091232000),&lt;br /&gt;partition PART_2010Q1 values less than (100320100332000),&lt;br /&gt;partition PART_2010Q2 values less than (100320100632000),&lt;br /&gt;partition PART_2010Q3 values less than (100320100932000),&lt;br /&gt;partition PART_2010Q4 values less than (100320101232000),&lt;br /&gt;partition PART_2011Q1 values less than (100320110332000),&lt;br /&gt;partition PART_2011Q2 values less than (100320110632000),&lt;br /&gt;partition PART_2011Q3 values less than (100320110932000),&lt;br /&gt;partition PART_2011Q4 values less than (100320111232000),&lt;br /&gt;partition PART_2012Q1 values less than (100320120332000),&lt;br /&gt;partition PART_2012Q2 values less than (100320120632000),&lt;br /&gt;partition PART_2012Q3 values less than (100320120932000),&lt;br /&gt;partition PART_2012Q4 values less than (100320121232000),&lt;br /&gt;partition PART_MAX values less than (maxvalue)&lt;br /&gt;)&lt;br /&gt;TABLESPACE XXXDW_DATA&lt;br /&gt;PCTUSED&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;PCTFREE&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;br /&gt;INITRANS&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;MAXTRANS&amp;nbsp;&amp;nbsp; 255&lt;br /&gt;STORAGE&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INITIAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4M&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4M&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MINEXTENTS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAXEXTENTS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2147483645&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCTINCREASE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUFFER_POOL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;nologging parallel&lt;br /&gt;enable row movement&lt;br /&gt;as (select * from W_GL_OTHER_F_ORIG);&lt;br /&gt;/&lt;/blockquote&gt;Rename indexes on renamed table&lt;br /&gt;&lt;blockquote&gt;ALTER INDEX W_GL_OTHER_F_71 rename to W_GL_OTHER_F_71_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_72 rename to W_GL_OTHER_F_72_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_73 rename to W_GL_OTHER_F_73_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F59 rename to W_GL_OTHER_F_F59_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F25 rename to W_GL_OTHER_F_F25_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F36 rename to W_GL_OTHER_F_F36_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F40 rename to W_GL_OTHER_F_F40_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F5 rename to W_GL_OTHER_F_F5_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_M2 rename to W_GL_OTHER_F_M2_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_C70 rename to W_GL_OTHER_F_C70_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F13 rename to W_GL_OTHER_F_F13_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F11 rename to W_GL_OTHER_F_F11_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F60 rename to W_GL_OTHER_F_F60_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_F61 rename to W_GL_OTHER_F_F61_ORIG;&lt;br /&gt;ALTER INDEX W_GL_OTHER_F_U1 rename to W_GL_OTHER_F_U1_ORIG;&lt;/blockquote&gt;Create Global and Local indexes. Run the below statements to create indexes&lt;br /&gt;&lt;blockquote&gt;CREATE BITMAP INDEX W_GL_OTHER_F_C70 ON W_GL_OTHER_F (LOC_CURR_CODE ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_72 ON W_GL_OTHER_F (X_REFERENCE_8 ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE UNIQUE INDEX W_GL_OTHER_F_U1 ON W_GL_OTHER_F (INTEGRATION_ID ASC,DATASOURCE_NUM_ID ASC) tablespace XXXDW_DATA GLOBAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_73 ON W_GL_OTHER_F (DOC_CURR_CODE ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_71 ON W_GL_OTHER_F (DOC_STATUS_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F11 ON W_GL_OTHER_F (COMPANY_ORG_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F13 ON W_GL_OTHER_F (COST_CENTER_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F25 ON W_GL_OTHER_F (GL_ACCOUNT_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F36 ON W_GL_OTHER_F (POSTED_ON_DT_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F40 ON W_GL_OTHER_F (PROFIT_CENTER_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F5 ON W_GL_OTHER_F (BUSN_AREA_ORG_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE INDEX W_GL_OTHER_F_F59 ON W_GL_OTHER_F (ACCT_PERIOD_END_DT_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F60 ON W_GL_OTHER_F (LEDGER_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_F61 ON W_GL_OTHER_F (MCAL_CAL_WID ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;br /&gt;CREATE BITMAP INDEX W_GL_OTHER_F_M2 ON W_GL_OTHER_F (DELETE_FLG ASC) tablespace XXXDW_DATA LOCAL NOLOGGING;&lt;/blockquote&gt;And finally compute statistics on partitioned table&lt;br /&gt;&lt;blockquote&gt;BEGIN&lt;br /&gt;dbms_stats.Gather_table_stats(&lt;br /&gt;NULL,&lt;br /&gt;tabname =&amp;gt; 'W_GL_OTHER_F',&lt;br /&gt;CASCADE =&amp;gt; true,&lt;br /&gt;estimate_percent =&amp;gt; dbms_stats.auto_sample_size,&lt;br /&gt;method_opt =&amp;gt; 'FOR ALL INDEXED COLUMNS SIZE AUTO');&lt;br /&gt;END;&lt;/blockquote&gt;Database part is done, we need to do DAC changes that I will try to post later. Actually for DAC part, the document from Oracle is more than enough, but I will repeat some steps to finalize the document. My team from offshore has done good job on delivering this solution, a big thanks to them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-1255886841969432566?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/1255886841969432566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/02/partitioning-on-wglotherf-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1255886841969432566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1255886841969432566'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/02/partitioning-on-wglotherf-1.html' title='Partitioning on W_GL_OTHER_F - 1'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-6601444354136387163</id><published>2011-02-10T05:49:00.000+01:00</published><updated>2011-02-22T13:41:49.142+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Vertical Text Title in OBIEE Answers</title><content type='html'>&lt;p&gt;We had a requirement that report needs to show column titles vertically in the Answers report. We used to have similar thing for downloaded excel reports by using "mso-rotate:90" in "Use Custom CSS Style" before. But this time requirement is for answer reports. Similarly by adding the following statement into column heading formatting part, we achieved to have vertically aligned heading in the report as seen below;&lt;/p&gt;&lt;p&gt;"{writing-mode: tb-rl;filter: flipv fliph;}"&lt;/p&gt;&lt;p&gt;&lt;img src="http://lh4.ggpht.com/__aVj1aaUnQ0/TWOsFApU3HI/AAAAAAAAA20/v9Rip8pkAQk/%5BUNSET%5D.jpg" alt="" width="843" height="211" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img src="http://lh5.ggpht.com/__aVj1aaUnQ0/TWOsIfvMdOI/AAAAAAAAA24/iF0TcInS4OM/%5BUNSET%5D.jpg" alt="" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-6601444354136387163?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/6601444354136387163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/02/vertical-text-title-in-obiee-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6601444354136387163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6601444354136387163'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/02/vertical-text-title-in-obiee-answers.html' title='Vertical Text Title in OBIEE Answers'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/__aVj1aaUnQ0/TWOsFApU3HI/AAAAAAAAA20/v9Rip8pkAQk/s72-c/%5BUNSET%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-5946703775261149707</id><published>2011-01-29T05:49:00.000+01:00</published><updated>2011-02-16T14:37:26.016+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Override Session Variable in Answers</title><content type='html'>&lt;p&gt;If you wanted to override a session variable and disable cache hits, you would use a syntax like the following in Answers Advanced Tab&lt;br /&gt;SET VARIABLE LOGLEVEL=4, DISABLE_CACHE_HIT = 1;&lt;/p&gt;&lt;p&gt;SET VARIABLE OU_ORG=128;&lt;/p&gt;&lt;p&gt;&lt;img src="http://lh3.ggpht.com/__aVj1aaUnQ0/TVvTDBOrwwI/AAAAAAAAA2k/lu8KAd9Z_CI/%5BUNSET%5D.jpg" alt="" width="640" height="512" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-5946703775261149707?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/5946703775261149707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/01/override-session-variable-in-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5946703775261149707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5946703775261149707'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/01/override-session-variable-in-answers.html' title='Override Session Variable in Answers'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/__aVj1aaUnQ0/TVvTDBOrwwI/AAAAAAAAA2k/lu8KAd9Z_CI/s72-c/%5BUNSET%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3551976320161543105</id><published>2011-01-25T08:01:00.000+01:00</published><updated>2011-02-16T14:32:28.795+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Performance Tuning Tips for OBIEE</title><content type='html'>&lt;p&gt;&lt;br /&gt;1. implement caching mechanism&lt;br /&gt;2. use aggregates&lt;br /&gt;3. use aggregate navigation&lt;br /&gt;4. limit the number of initialisation blocks&lt;br /&gt;5. turn off logging&lt;br /&gt;6. carry out calculations in database&lt;br /&gt;7. use materialized views if possible&lt;br /&gt;8. use database hints&lt;br /&gt;9. alter the NQSONFIG.ini parameters&lt;/p&gt;&lt;p&gt;http://www.oraclebidwh.com/2010/02/performance-tuning-in-obiee/&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3551976320161543105?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3551976320161543105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/01/performance-tuning-tips-for-obiee.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3551976320161543105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3551976320161543105'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/01/performance-tuning-tips-for-obiee.html' title='Performance Tuning Tips for OBIEE'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-8001672024518006909</id><published>2011-01-23T05:18:00.000+01:00</published><updated>2011-02-16T14:31:00.003+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>OBIEE is not an ETL tool!</title><content type='html'>&lt;p&gt;just a reminder for whom using OBIEE as Excel Extraction tool;&lt;/p&gt;&lt;p&gt;"OBIEE is not an ETL tool. It is NOT designed to handle large amounts of non aggregated data. It&amp;rsquo;s designed to handle dimensional structured data with sufficient aggregation tables."&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-8001672024518006909?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/8001672024518006909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/01/obiee-is-not-etl-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8001672024518006909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8001672024518006909'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/01/obiee-is-not-etl-tool.html' title='OBIEE is not an ETL tool!'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-4446689813481677049</id><published>2011-01-21T11:18:00.000+01:00</published><updated>2011-02-16T14:26:51.374+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Changing the Connection Pool from Answers</title><content type='html'>&lt;p&gt;&lt;!--[if !mso]&gt;  &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --&gt; &lt;!--[endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;    Normal   0           false   false   false     EN-US   X-NONE   X-NONE                               MicrosoftInternetExplorer4                             &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;                                                                                                                                                                                                                                                                                         &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;  &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman","serif";} --&gt; &lt;!--[endif]--&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;img src="http://lh6.ggpht.com/__aVj1aaUnQ0/TVvQd7BvYGI/AAAAAAAAA2g/C2HYp-x9EQ4/%5BUNSET%5D.jpg" alt="" width="640" height="512" /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-4446689813481677049?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/4446689813481677049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/01/changing-connection-pool-from-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4446689813481677049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4446689813481677049'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/01/changing-connection-pool-from-answers.html' title='Changing the Connection Pool from Answers'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/__aVj1aaUnQ0/TVvQd7BvYGI/AAAAAAAAA2g/C2HYp-x9EQ4/s72-c/%5BUNSET%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-899218963509767397</id><published>2011-01-04T11:11:00.000+01:00</published><updated>2011-02-16T14:23:50.241+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Keeping Leading Zero's in Answers</title><content type='html'>&lt;p class="MsoNormal"&gt;Nice way to keep leading zero&amp;rsquo;s when exporting to excel from within OBIEE:&lt;/p&gt;&lt;p class="MsoNormal"&gt;Add &amp;ldquo;mso-number-format:\@&amp;rdquo; to the Custom CSS Style Options of the appropriate column in the OBIEE report.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;img src="http://lh6.ggpht.com/__aVj1aaUnQ0/TVvP3EDKv8I/AAAAAAAAA2c/5z7O0PKOK2E/%5BUNSET%5D.jpg" alt="" width="640" height="512" /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Excel rotating style&lt;/p&gt;&lt;p class="MsoNormal"&gt;mso-rotate:90&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-899218963509767397?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/899218963509767397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2011/01/keeping-leading-zero-in-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/899218963509767397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/899218963509767397'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2011/01/keeping-leading-zero-in-answers.html' title='Keeping Leading Zero&amp;#39;s in Answers'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/__aVj1aaUnQ0/TVvP3EDKv8I/AAAAAAAAA2c/5z7O0PKOK2E/s72-c/%5BUNSET%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-6178603032535504703</id><published>2010-12-04T17:47:00.000+01:00</published><updated>2011-02-16T13:25:22.704+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fusion'/><title type='text'>UDDI Connection in JDeveloper</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;    Normal   0           false   false   false     EN-US   X-NONE   X-NONE                               MicrosoftInternetExplorer4                             &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;                                                                                                                                                                                                                                                                                         &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;style&gt; /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-qformat:yes;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}&lt;/style&gt;&lt;![endif]--&gt;&lt;/p&gt;&lt;p&gt;In the Connection Wizard, provide a connection name and specify the UDDI inquiry endpoint URL. The syntax of this URL is:&lt;/p&gt;&lt;pre&gt;http://&lt;em&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;ohs_host&lt;/span&gt;&lt;/em&gt;:&lt;em&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;ohs_Port&lt;/span&gt;&lt;/em&gt;/&lt;em&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;registry_context&lt;/span&gt;&lt;/em&gt;/uddi/inquiry&lt;/pre&gt;&lt;p&gt;&lt;em&gt;ohs_host&lt;/em&gt; and &lt;em&gt;ohs_Port&lt;/em&gt; have the following definitions:&lt;/p&gt;&lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-size: 10pt; font-family: Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;ohs_host&lt;/em&gt; is the address of the Oracle Application Server host machine.; for example, &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;server07.company.com&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;&lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-size: 10pt; font-family: Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;ohs_Port&lt;/em&gt; is the HTTP listener port assigned to OHS&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-size: 12pt;"&gt;registry_context&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt; is context root used to access the target registry instance, such as "registry" or "registrypub"&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-6178603032535504703?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/6178603032535504703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/12/uddi-connection-in-jdeveloper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6178603032535504703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6178603032535504703'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/12/uddi-connection-in-jdeveloper.html' title='UDDI Connection in JDeveloper'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3743387416544872601</id><published>2010-11-02T15:35:00.001+01:00</published><updated>2011-02-22T17:34:42.228+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>How to export Security Group to create UDML</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Here is a command to extract security objects from an OBIEE repository using the UDML command, mind the “-S” in the end, it handles to export Security part only;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;C:\oracle\OBIEE\OracleBI\server\Bin\nQUDMLGen.exe -U Administrator -P xxx123 -R D:\ALL\repository\temps\yaz\050310_XXX_BAW_CS.rpd -O D:\ALL\repository\temps\yaz\tekin.udml &lt;b&gt;-S&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;C:\OracleBI\server\bin\nqudmlgen -U Administrator -P Administrator -R C:\OracleBI\server\Sample\samplesales\samplesales.rpd -O C:\OracleBI\server\Sample\samplesales\samplesales.udml -S&lt;br /&gt;&lt;br /&gt;nqudmlgen: This is the actual export command&lt;br /&gt;-U: This is the user flag, in my case Administrator&lt;br /&gt;-P: This is the password flag, in my case Administrator since I'm using sample sales&lt;br /&gt;-R: Is the source repository. I am sourcing from samplesales.rpd on a Windows box&lt;br /&gt;-O: Is the output file. I am populating a file called samplesales.udml in the same folder as the source&lt;br /&gt;-S: Exports only security objects&lt;br /&gt;&lt;br /&gt;Here is the command to import the objects&lt;br /&gt;&lt;br /&gt;nqudmlexec -U Administrator -P Administrator -I C:\OracleBI\server\Sample\samplesales\samplesales.udml -B C:\OracleBI\server\Sample\samplesales\samplesales.rpd -O C:\OracleBI\server\Sample\samplesales\samplesales2.rpd &lt;br /&gt;&lt;br /&gt;nqudmlexec : This is the actual import command&lt;br /&gt;-U: This is the user flag, in my case Administrator&lt;br /&gt;-P: This is the password flag, in my case Administrator since I'm using sample sales&lt;br /&gt;-I: This is the input script. In this case, the input to this is the output from the first command&lt;br /&gt;-B: This is the base repository. In this case, your base repository will be your target repository, the one where you want to migrate the users to.&lt;br /&gt;-O: This is the output repository. This command makes a copy and applies the changes in the UDML to that copy. So you need to specify an output file. This is the file that will have the changes. The base file will not have the new users since it is just used to make this copy.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;Example;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;EXPORT;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;C:\oracle\OBIEE\OracleBI\server\Bin\nQUDMLGen.exe -U Administrator -P xxx-R D:\ALL\repository\temps\yaz\050310_XXX_BAW_CS.rpd -O D:\ALL\repository\temps\yaz\tekin.udml&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;IMPORT;&lt;/b&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;C:\oracle\OBIEE\OracleBI\server\Bin\nQUDMLexec.exe -U Administrator -P xxx -I D:\ALL\repository\temps\yaz\tekin.udml -B D:\ALL\repository\temps\yaz\050310_BAW.rpd -O D:\ALL\repository\temps\yaz\050310_BAW.rpd&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3743387416544872601?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3743387416544872601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/11/how-to-export-security-group-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3743387416544872601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3743387416544872601'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/11/how-to-export-security-group-to-create.html' title='How to export Security Group to create UDML'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-211299017244340043</id><published>2010-10-05T15:32:00.002+02:00</published><updated>2011-02-22T17:35:13.776+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>How to delete item by UDML</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;b&gt;How to delete item by UDML&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;We are complaining about “UDML works great but we cannot delete item by using UDML”. Here is how to delete;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="text-indent: -0.25in;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Copy the item you want to delete as UDML&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.5in;"&gt;DECLARE FOLDER ATTRIBUTE "XXX - BAW Customer Service".."- Task Created By"."Created By User Name" AS "Created By User Name" UPGRADE ID 2160852698 LOGICAL ATTRIBUTE&amp;nbsp; "Core"."Dim - Created By"."User Name" OVERRIDE LOGICAL NAME&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.5in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALIASES ("User Name")&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.5in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRIVILEGES ( READ);&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="text-indent: -0.25in;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;And change it as below with DELETE command, save it.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in;"&gt;DELETE FOLDER ATTRIBUTE "XXX - BAW Customer Service".."- Task Created By"."Created By User Login";&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="text-indent: -0.25in;"&gt;3.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Run nQUDMLexec.exe, that’s it!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-211299017244340043?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/211299017244340043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/10/how-to-delete-item-by-udml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/211299017244340043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/211299017244340043'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/10/how-to-delete-item-by-udml.html' title='How to delete item by UDML'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-4843233760808194727</id><published>2010-09-25T14:23:00.003+02:00</published><updated>2010-11-25T14:25:24.127+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Length Semantics in DB Profile</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:DontVertAlignCellWithSp/&gt;    &lt;w:DontBreakConstrainedForcedTables/&gt;    &lt;w:DontVertAlignInTxbx/&gt;    &lt;w:Word11KerningPairs/&gt;    &lt;w:CachedColBalance/&gt;    &lt;w:UseFELayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val="Cambria Math"/&gt;    &lt;m:brkBin m:val="before"/&gt;    &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;    &lt;m:smallFrac m:val="off"/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val="0"/&gt;    &lt;m:rMargin m:val="0"/&gt;    &lt;m:defJc m:val="centerGroup"/&gt;    &lt;m:wrapIndent m:val="1440"/&gt;    &lt;m:intLim m:val="subSup"/&gt;    &lt;m:naryLim m:val="undOvr"/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;   &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;   &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;   &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;   &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;   &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;   &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;   &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;   &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;   &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;   &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;   &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;   &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;   &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;If we describe any table in OBIEE environment, we can find that all the string column sizes are 4 times the actual size.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;For e.g.; In table &lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt;W_SUPPLIER_ACCOUNT_D&lt;/span&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt;PAY_TERMS_CODE&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;200&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;)&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt;PAY_TERMS_NAME&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;320&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;)&lt;/span&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;If we refer the same columns in Informatica and Oracle BI Repository, the column sizes would be&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;50&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;) and &lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;80&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;) &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;respectively.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;The reason behind this anomaly is that DB profile is set with Length Semantics to BYTE instead of CHAR.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;i.e.; &lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt;PAY_TERMS_CODE&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;200&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;)&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; = &lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;200 BYTE&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;) = &lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;50 CHAR&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;)&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;So going forward whenever you extend any base table for adding a string column, specify the syntax as CHAR explicitly.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;i.e.; &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;alter&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;table&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; W_SUPPLIER_ACCOUNT_D&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;add&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; X_VAT_CODE &lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;VARCHAR2&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;span style="color: maroon; font-family: Courier; font-size: 10pt;"&gt;50&lt;/span&gt;&lt;span style="color: black; font-family: Courier; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: Courier; font-size: 10pt;"&gt;CHAR&lt;/span&gt;&lt;span style="color: #0000f0; font-family: Courier; font-size: 10pt;"&gt;);&lt;/span&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-4843233760808194727?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/4843233760808194727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/09/length-semantics-in-db-profile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4843233760808194727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4843233760808194727'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/09/length-semantics-in-db-profile.html' title='Length Semantics in DB Profile'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-5626168281393753082</id><published>2010-08-04T17:47:00.004+02:00</published><updated>2010-08-04T17:56:04.648+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Purging RPD Cache</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/__aVj1aaUnQ0/TFmNQRyeA0I/AAAAAAAAAyE/Ncdpa-g6x6c/s1600/clip_image002.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/__aVj1aaUnQ0/TFmNQRyeA0I/AAAAAAAAAyE/Ncdpa-g6x6c/s320/clip_image002.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;We can purge RPD cache without opening rpd online mode using “Oracle BI Presentation Services Administration”&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-5626168281393753082?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/5626168281393753082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/08/sss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5626168281393753082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5626168281393753082'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/08/sss.html' title='Purging RPD Cache'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__aVj1aaUnQ0/TFmNQRyeA0I/AAAAAAAAAyE/Ncdpa-g6x6c/s72-c/clip_image002.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-7922297559162873253</id><published>2010-01-06T16:13:00.000+01:00</published><updated>2010-07-06T16:17:30.945+02:00</updated><title type='text'>TO_NUMBER in OBIEE</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;div align='justify'&gt;You can use CAST function to convert from one datatype to another datatype. and you can create a new logical column in your RPD , that use this function;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;cast(MONTH("Fixed Assets Depreciation".DEPRN_RUN_DATE) as char)&lt;br/&gt;&lt;br/&gt;Technorati Tags: &lt;a rel='tag' href='http://technorati.com/tag/OBIEE' class='performancingtags'&gt;OBIEE&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-7922297559162873253?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/7922297559162873253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2010/07/tonumber-in-obiee.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7922297559162873253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7922297559162873253'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2010/07/tonumber-in-obiee.html' title='TO_NUMBER in OBIEE'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3727380851462988778</id><published>2009-12-10T12:02:00.003+01:00</published><updated>2009-12-10T12:05:57.096+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>iBot Job Scheduler Exit Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;We created conditional iBot request, and schedule it to run every morning. But when we examine the Job Scheduler log file, we noticed that there is “Exit Code” column, which is sometimes different from one run to another. Exit Code column apparently shows how many successful deliveries being done with that run.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/__aVj1aaUnQ0/SyDV0mpKI6I/AAAAAAAAAh8/sUFKPdNOCAc/s1600-h/JobSchedule.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 97px;" src="http://3.bp.blogspot.com/__aVj1aaUnQ0/SyDV0mpKI6I/AAAAAAAAAh8/sUFKPdNOCAc/s320/JobSchedule.jpg" alt="" id="BLOGGER_PHOTO_ID_5413561851802428322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;The ExitCode of an instance is set to the number of successful deliveries. The count corresponds to the number of successful deliveries to devices, and there may be more than one device for each recipient of an iBot.&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3727380851462988778?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3727380851462988778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/12/ibot-job-scheduler-exit-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3727380851462988778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3727380851462988778'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/12/ibot-job-scheduler-exit-code.html' title='iBot Job Scheduler Exit Code'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__aVj1aaUnQ0/SyDV0mpKI6I/AAAAAAAAAh8/sUFKPdNOCAc/s72-c/JobSchedule.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-8747051399896542613</id><published>2009-07-20T10:58:00.001+02:00</published><updated>2009-12-10T11:05:00.751+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Oracle Null</title><content type='html'>These are not necessarily unexplainable idiosyncrasies. Rather, this is a list&lt;br /&gt;of Null usage cases that may surprise me personally. Note: Null value is&lt;br /&gt;spelled "Null" in here.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(1) Null doesn't count in aggregate function.&lt;br /&gt;create table testnull (a number);&lt;br /&gt;insert into testnull values (1);&lt;br /&gt;insert into testnull values (2);&lt;br /&gt;insert into testnull values (null);&lt;br /&gt;select count(*) from testnull; &lt;-- returns 3&lt;br /&gt;select count(a) from testnull; &lt;-- returns 2&lt;br /&gt;&lt;br /&gt;create table test (name varchar2(10), value number);&lt;br /&gt;insert into test values ('xx', 12);&lt;br /&gt;insert into test values ('xx', null);&lt;br /&gt;insert into test values ('yy', 123);&lt;br /&gt;select name, count(*) from test group by name;&lt;br /&gt;select name, count(value) from test group by name;&lt;br /&gt;&lt;br /&gt;NAME       COUNT(VALUE)&lt;br /&gt;---------- ------------&lt;br /&gt;xx                    1 &lt;-- would be 2 if select name, count(*) ...&lt;br /&gt;yy                    1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(2) Inserted null string converted to Null.&lt;br /&gt;create table testnull (a varchar2(10));&lt;br /&gt;insert into testnull values (null);&lt;br /&gt;insert into testnull values ('');&lt;br /&gt;insert into testnull values ('' || 'Hello');&lt;br /&gt;insert into testnull values (null || 'Hello');&lt;br /&gt;select dump(a) from testnull;&lt;br /&gt;&lt;br /&gt;DUMP(A)&lt;br /&gt;---------------------------------------------&lt;br /&gt;NULL&lt;br /&gt;NULL&lt;br /&gt;Typ=1 Len=5: 72,101,108,108,111&lt;br /&gt;Typ=1 Len=5: 72,101,108,108,111&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(3) Where can Null be compared?&lt;br /&gt;select decode(null, null, 'Null equals Null in DECODE') from dual;&lt;br /&gt;&lt;br /&gt;DECODE(NULL,NULL,'NULLEQUA&lt;br /&gt;--------------------------&lt;br /&gt;Null equals Null in DECODE&lt;br /&gt;&lt;br /&gt;Oracle SQL Reference says "In a DECODE function, Oracle considers two nulls to&lt;br /&gt;be equivalent. If expr is null, then Oracle returns the result of the first&lt;br /&gt;search that is also null."&lt;br /&gt;&lt;br /&gt;Another place where Null can be compared is in range partition definition,&lt;br /&gt;where MAXVALUE is greater than Null (Ref. J. Lewis "Practical Oracle8i",&lt;br /&gt;p.241).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(4) [Related to (3)] Unique constraints.&lt;br /&gt;create table test (a number);&lt;br /&gt;create unique index unq_test on test (a);&lt;br /&gt;insert into test values (null);&lt;br /&gt;insert into test values (null); &lt;-- No error.&lt;br /&gt;You *are* able to insert another Null without getting ORA-1 (unique constraint&lt;br /&gt;violated).&lt;br /&gt;&lt;br /&gt;create table test (a varchar2(1), b varchar2(1));&lt;br /&gt;create unique index unq_test on test (a, b);&lt;br /&gt;insert into test values ('A', null);&lt;br /&gt;insert into test values ('A', null); &lt;-- Get ORA-1&lt;br /&gt;truncate table test;&lt;br /&gt;insert into test values (null, null);&lt;br /&gt;insert into test values (null, null); &lt;-- No error&lt;br /&gt;So if all columns are null, the unique constraint will not be violated. If one&lt;br /&gt;or more columns have non-null values, the constraint takes effect.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(5) Unknown OR True returns True, Unknown AND False returns False.&lt;br /&gt;create table test (a number, b number, c number);&lt;br /&gt;insert into test values (3, 4, null);&lt;br /&gt;select 'Got it' from test where b &lt; c or a &lt; b; &lt;-- returns 'Got it'&lt;br /&gt;select 'Got it' from test where not (b &gt; c and a &gt; b); &lt;-- returns 'Got it'&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Source : http://yong321.freeshell.org/computer/OracleNull.txt&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-8747051399896542613?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/8747051399896542613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/07/oracle-null.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8747051399896542613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8747051399896542613'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/07/oracle-null.html' title='Oracle Null'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-48759327328152576</id><published>2009-06-17T11:38:00.003+02:00</published><updated>2009-06-17T11:48:41.935+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Action Link for OBIEE</title><content type='html'>Prerequisite : The security setup to reach OBIEE from E-Business Suite must be completed before creating Action Link (Action link screens enable to drill back into the transactional application screen from an Oracle BI request or dashboard).&lt;br /&gt;&lt;br /&gt;Source : Metalink Note - 552735.1&lt;br /&gt;&lt;p dir="ltr"&gt;In order to generate an Action Link you will first have to do the following:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;&lt;blockquote&gt;       &lt;ol&gt;&lt;li&gt;Identify the Oracle E-Business Suite Application page/function that you want to link to. Obtain the function_id of that page and identify the querystring parameters required by that page. This will have to be done by going through Oracle E-Business Suite documentation. &lt;/li&gt;&lt;li&gt;Identify the Oracle E-Business Suite table that will support the parameters needed for the Oracle E-Business Suite function (page) that you want to build an Action link to and create this physical table in the Oracle E-Business Suite OLTP schema as an opaque view. &lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;   &lt;p dir="ltr"&gt;Here the OE_ORDER_HEADERS_ALL table was chosen because it is at the grain of the Order Header and supplies the HEADER_ID that we can use to join to the warehouse tables that contain the Order Header information. The function_id of the Oracle E-Business Suite page for Order Details and the parameters supported by that page were also identified from Oracle E-Business Suite documentation. &lt;/p&gt;&lt;p dir="ltr"&gt;The Action Link URL is generated by calling the FND_RUN_FUNCTION.GET_RUN_FUNCTION_URL() function in the Oracle E-Business Suite Database Schema. For example: &lt;/p&gt;     &lt;p&gt;&lt;code class="km"&gt;SELECT&lt;br /&gt;HEADER_ID,&lt;br /&gt;fnd_run_function.get_run_function_url(&lt;br /&gt;   CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),&lt;br /&gt;   CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_APPL_ID) AS NUMBER),&lt;br /&gt;   CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_ID) AS NUMBER),&lt;br /&gt;   CAST( VALUEOF(NQ_SESSION.OLTP_EBS_SEC_GROUP_ID) AS NUMBER),&lt;br /&gt;'HeaderId='||HEADER_ID||'&amp;amp;pFunctionName=ISC_ORDINF_DETAILS_PMV&amp;amp;pMode=NO&amp;amp;pageFunctionName=ISC_ORDINF_DETAILS_PMV',&lt;br /&gt;   NULL) as ORDER_HEADER_ACTION_LINK_URL&lt;br /&gt;FROM OE_ORDER_HEADERS_ALL&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;     &lt;p style="margin-right: 0px;" dir="ltr"&gt;The parameters to the function are:&lt;/p&gt;     &lt;p style="margin-right: 0px;" dir="ltr"&gt;p_function_id in number,&lt;br /&gt;p_resp_appl_id in number,&lt;br /&gt;p_resp_id in number,&lt;br /&gt;p_security_group_id in number,&lt;br /&gt;p_parameters in varchar2 default null,&lt;br /&gt;p_override_agent in varchar2 default null&lt;br /&gt;&lt;/p&gt;     &lt;p&gt;Here p_function_id is the function_id of the page that you want to navigate to, the next three parameters pass the security context to Oracle E-Business Suite. The value of these session variables will be set by the initialization block described in sub-section "Creating Init Block for setting Oracle E-Business Suite Context". The fourth parameter is optional and is used if the page you are navigating to accepts parameters. In many cases if you want to navigate to a particular record on the page you are navigating to (Action Links typically do this), you will need to supply those querystring parameters here. The function call returns a URL to the desired function with encrypted querystring parameters.&lt;br /&gt;&lt;br /&gt;The next step is joining this opaque view to the base fact table in the Data Warehouse schema. This join represents a join of tables in different database schemas and will therefore happen in the Oracle BI Server.&lt;/p&gt;     &lt;div class="kmnotebox"&gt;&lt;strong&gt;IMPORTANT&lt;/strong&gt;: Ensure sufficient filters are applied when requesting any columns from this opaque view so that a small data set is returned to the Oracle BI Server to join with the results from the warehouse schema. For demo environments, where the EBS table contains only thousands of rows, filters can be ignored. However, customer implementations will typically contain millions of rows so appropriate filters are required.&lt;/div&gt;          &lt;p&gt;&lt;u&gt;Map into the logical and presentation layers &lt;/u&gt;&lt;/p&gt;     &lt;p&gt;Map the URL column from the opaque view into the logical star where you want to create the Action Link. Then expose this logical column in the appropriate presentation catalog. Also ensure that the user who will be logging into Oracle E-Business Suite Applications is assigned access to the appropriate presentation catalogs. For example:&lt;br /&gt;&lt;/p&gt;          &lt;p&gt;&lt;strong&gt;Oracle BI Answers Configuration&lt;/strong&gt; &lt;/p&gt;     &lt;p&gt;When including this Action Link column in a report, edit the column properties to indicate this is of type ‘Hyperlink’. That will automatically make this a clickable link in an Answers report. Further customization can be done to embed an image instead of the text. &lt;/p&gt;     &lt;p&gt;&lt;br /&gt;&lt;strong&gt;Oracle BI Presentation Catalog Configuration&lt;/strong&gt;&lt;/p&gt;     Ensure the user who will be logging into Oracle E-Business Suite Applications is set up in the presentation catalog as a user with the appropriate permissions. You can make the dashboard that you want to embed into Oracle E-Business Suite the default dashboard for that user. This will take the user directly to that dashboard when they click on the hyperlink in Oracle E-Business Suite.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-48759327328152576?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/48759327328152576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/06/action-link-for-obiee.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/48759327328152576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/48759327328152576'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/06/action-link-for-obiee.html' title='Action Link for OBIEE'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-8000962202855980689</id><published>2009-05-18T11:00:00.003+02:00</published><updated>2009-06-17T11:26:16.797+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BI Publisher'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Calling Bursting from XML Template</title><content type='html'>With the standalone BI Publisher, we have useful Bursting tool in order to split and send the reports to relevant people via email. However, when you are using standalone BI Publisher, you may need to connect E-Business Suite and need to initialize the session for multi-org, VPD, etc. to get the relevant data. In order to do that, you will need to use report triggeres to cal a PLSQL wrapper to initialize the session. With the help of data templates, we can easily call PLSQL functions.&lt;br /&gt;&lt;br /&gt;There are 3 steps you need to follow up to be successfull on calling PLSQL function;&lt;br /&gt;&lt;br /&gt;1. Add a defaultPackage declaration to the Data Template definition, like -&lt;br /&gt;&lt;datatemplate name="yourTemplateName" description="your template description" defaultpackage=""&gt;" Version="1.0"&gt;&lt;br /&gt;2. Create a package with above name and add a boolean function to it. For my work I gave the function name as beforeReport.&lt;br /&gt;3. The parameters used in the Data Template should be declared (same name/datatype) in the package specification.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;datatemplate name="DATA" defaultpackage="XX_OBIEE_UTIL" version="1.0"&amp;gt;&lt;br /&gt;           &amp;lt;dataquery&amp;gt;&lt;br /&gt;               &amp;lt;sqlstatement name="ROW"&amp;gt;&lt;br /&gt;                   &amp;lt;!--[CDATA[SELECT   * from XX_YOUR_TABLE a ORDER BY a.region, a.CUSTOMER_NUMBER ]]--&amp;gt;&lt;br /&gt;               &amp;lt;/sqlstatement&amp;gt;&lt;br /&gt;           &amp;lt;/dataquery&amp;gt;&lt;br /&gt;           &amp;lt;datastructure&amp;gt;&lt;br /&gt;               &amp;lt;group name="ROW" source="ROW"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="RUNDATE" value="RUNDATE"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="xxEMAIL" value="xxEMAIL"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="CUSTOMER_NUMBER" value="CUSTOMER_NUMBER"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="CUSTOMER_NAME" value="CUSTOMER_NAME"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="PRODUCT" value="PRODUCT"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="REVENUE_TYPE" value="REVENUE_TYPE"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="REGION" value="REGION"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="DM" value="DM"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="CAE" value="CAE"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="SECTOR" value="SECTOR"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="CURRENT_NET_REVENUE" value="CURRENT_NET_REVENUE"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="PREVIOUS_NET_REVENUE" value="PREVIOUS_NET_REVENUE"&amp;gt;&lt;br /&gt;                   &amp;lt;element name="VARIANCE" value="VARIANCE"&amp;gt;&lt;br /&gt;&amp;lt;datatrigger name="beforeReport" source="XX_OBIEE_UTIL.beforeReport()"&amp;gt;&lt;br /&gt;&amp;lt;/datatrigger&amp;gt;&lt;br /&gt;       /datastructure&amp;gt;&amp;lt;/datatemplate&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/datatemplate&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-8000962202855980689?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/8000962202855980689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/05/calling-bursting-from-xml-template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8000962202855980689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8000962202855980689'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/05/calling-bursting-from-xml-template.html' title='Calling Bursting from XML Template'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3536760152327541190</id><published>2009-03-19T11:26:00.001+01:00</published><updated>2009-06-17T11:34:34.495+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BI Publisher'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>XSL Formatting Objects</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/__aVj1aaUnQ0/Sji4XlZ9x3I/AAAAAAAAAbg/avNr-OctxaU/s1600-h/Help+Text.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 286px;" src="http://2.bp.blogspot.com/__aVj1aaUnQ0/Sji4XlZ9x3I/AAAAAAAAAbg/avNr-OctxaU/s320/Help+Text.jpg" alt="" id="BLOGGER_PHOTO_ID_5348227272819984242" border="0" /&gt;&lt;/a&gt;When you design BI Publisher Template for the reports, you will need XSL Formatting Objects to make nice reports, like making the cell red as you can see from the picture. The following link will give you many formatting properties that you can make use of for your design.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cafeconleche.org/books/bible2/chapters/ch18.html"&gt;&lt;/a&gt;&lt;a href="http://www.cafeconleche.org/books/bible2/chapters/ch18.html"&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a href="http://www.cafeconleche.org/books/bible2/chapters/ch18.html"&gt;&lt;blockquote&gt;XSL Formatting Objects&lt;/blockquote&gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/tmentes/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/tmentes/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/tmentes/LOCALS%7E1/Temp/moz-screenshot-2.jpg" alt="" /&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/tmentes/LOCALS%7E1/Temp/moz-screenshot-3.jpg" alt="" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3536760152327541190?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3536760152327541190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/03/xsl-formatting-objects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3536760152327541190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3536760152327541190'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/03/xsl-formatting-objects.html' title='XSL Formatting Objects'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/__aVj1aaUnQ0/Sji4XlZ9x3I/AAAAAAAAAbg/avNr-OctxaU/s72-c/Help+Text.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-6355490778814227776</id><published>2009-02-27T11:36:00.000+01:00</published><updated>2009-06-17T11:38:01.051+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='BI Publisher'/><title type='text'>Math and XSLT</title><content type='html'>The following link is for understanding the Math and XSLT that you may need to focus on when you build your BI Publisher templates.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.xml.com/lpt/a/810"&gt;&lt;blockquote&gt;Math and XSLT&lt;/blockquote&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-6355490778814227776?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/6355490778814227776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/02/math-and-xslt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6355490778814227776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6355490778814227776'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/02/math-and-xslt.html' title='Math and XSLT'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-718390609488864185</id><published>2009-01-17T10:56:00.002+01:00</published><updated>2009-06-17T11:01:51.234+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='BI Publisher'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>DBMS_XMLGEN</title><content type='html'>DBMS XMLGEN is a PL/SQL package that allows programmers to extract XML data from Oracle database tables.  It might be useful when you need a XML file to create XML publisher layouts. Here are 2 examples on how to use it;&lt;br /&gt;&lt;pre&gt;&lt;blockquote&gt;SELECT DBMS_XMLGEN.getXML('SELECT * FROM emp') FROM dual;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;DECLARE&lt;br /&gt;ctx DBMS_XMLGEN.ctxHandle;&lt;br /&gt;xml CLOB;&lt;br /&gt;BEGIN&lt;br /&gt;ctx := dbms_xmlgen.newcontext('select * from emp');&lt;br /&gt;dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');&lt;br /&gt;xml := dbms_xmlgen.getxml(ctx);&lt;br /&gt;dbms_output.put_line(substr(xml,1,255));&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-718390609488864185?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/718390609488864185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2009/01/dbmsxmlgen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/718390609488864185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/718390609488864185'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2009/01/dbmsxmlgen.html' title='DBMS_XMLGEN'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-2038533871382099832</id><published>2008-12-26T20:26:00.004+01:00</published><updated>2008-12-28T00:16:29.303+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>MultiOrg setting for Concurrent Request in R12</title><content type='html'>&lt;div style="text-align: justify;"&gt;While you were upgrading to R12, if you will not implement MOAC, you should make relevant changes for Multi Org concept. In order your custom reports to be run properly, make them "Single" org to continue using without implementing MOAC.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Login into application with 'System Administration' responsibility&lt;/li&gt;&lt;li&gt;Click on 'Programs' under 'Concurrent' menu.&lt;/li&gt;&lt;li&gt;Query for short name of the concurrent program (i.e. XXSIPRNT_CA ).&lt;/li&gt;&lt;li&gt;Click on Update pencil icon of your program under result region&lt;/li&gt;&lt;li&gt;Under 'Update Concurrent Program' region, select Request tab&lt;/li&gt;&lt;li&gt;Under 'Request Setting' region, select 'Single' from the drop down of 'Operating Unit Mode' field&lt;/li&gt;&lt;li&gt;Save changes by clicking on 'Apply' button. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Or&lt;br /&gt;&lt;blockquote&gt;update FND_CONCURRENT_PROGRAMS&lt;br /&gt;set multi_org_category='S'&lt;br /&gt;where concurrent_program_id=45718;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-2038533871382099832?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/2038533871382099832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/12/multiorg-setting-for-concurrent-request.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2038533871382099832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2038533871382099832'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/12/multiorg-setting-for-concurrent-request.html' title='MultiOrg setting for Concurrent Request in R12'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-2029486280491616272</id><published>2008-12-16T20:41:00.000+01:00</published><updated>2008-12-26T20:42:30.422+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='OAF'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Enabling OAF Personalization</title><content type='html'>To enable Personalization:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;FND: Diagnostics should be set to “Yes”. This will allow the “About this Page” link to be displayed on the OA pages. &lt;/li&gt;&lt;li&gt;Personalize Self-Service Defn should be set to “Yes”. This will allow the “Personalize Page” link to be displayed on the OA pages. &lt;/li&gt;&lt;li&gt;FND: Personalization Region Link Enabled should be set to “Yes”. This will allow the Personalize Region links to be displayed at the region level. &lt;/li&gt;&lt;li&gt;FND: Developer Mode = YES (Optional for debugging)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Use Functional Administrator -&gt; Core Services -&gt; Profiles to change this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-2029486280491616272?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/2029486280491616272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/12/enabling-oaf-personalization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2029486280491616272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2029486280491616272'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/12/enabling-oaf-personalization.html' title='Enabling OAF Personalization'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-7228781988603489778</id><published>2008-10-26T20:16:00.000+01:00</published><updated>2008-12-26T20:21:52.107+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>R12 and JRE 1.5.10</title><content type='html'>In order to run R12, use JRE 1.5.10 which is located under the http://&lt;yourhost:port&gt;/OA_HTML/oaj2se.exe&lt;br /&gt;&lt;br /&gt;After installing this, Internet Explorer and Firefox can run the R12 forms screens properly.&lt;br /&gt;&lt;br /&gt;You may need to make adjustments on the Java Runtime settings in order your browser can use the proper version of Java. Check the following settings;&lt;br /&gt;&lt;br /&gt;Settings -&gt; Control Panel Java -&gt; Java -&gt; Java Application Runtime Settings&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-7228781988603489778?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/7228781988603489778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/10/r12-and-jre-1510.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7228781988603489778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7228781988603489778'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/10/r12-and-jre-1510.html' title='R12 and JRE 1.5.10'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-4013207506698429472</id><published>2008-09-06T20:31:00.000+02:00</published><updated>2008-12-26T20:33:04.462+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>The "Show Log" feature in R12</title><content type='html'>&lt;div style="text-align: justify;"&gt;The "Show Log" feature is available only to the System Administrator responsibility by default. Access is controlled using Function Security. Users can be granted access by including one or more of the following submenus or functions on a user's responsibility:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Log Search: OAM_BF_SYSLOG_READ_ONLY_MENU (Log Search: Read Only) Menu &lt;/li&gt;&lt;li&gt;Log Delete: OAM_BF_SYSLOG_DELETE (Log Delete) function &lt;/li&gt;&lt;li&gt;Log Setup: OAM_BF_SYSLOG_CONFIG (Log Setup) function &lt;/li&gt;&lt;li&gt;Full access (Search/Configure/Delete): OAM_BF_SYSLOG_ALL_MENU (Log Search: All Functions) Menu. &lt;/li&gt;&lt;/ul&gt;NOTE: After making these changes please ensure that you bounce Apache.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-4013207506698429472?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/4013207506698429472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/09/show-log-feature-in-r12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4013207506698429472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4013207506698429472'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/09/show-log-feature-in-r12.html' title='The &quot;Show Log&quot; feature in R12'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-6727981733408641241</id><published>2008-07-06T14:44:00.000+02:00</published><updated>2008-12-26T20:46:07.484+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='OAF'/><title type='text'>OAF JDeveloper Version</title><content type='html'>How to find the correct version of JDeveloper to use with E-Business Suite 11i or Release 12 - Use Metalink Note:416708.1&lt;br /&gt;&lt;br /&gt;In order to find the information regarding your installation use the link of your EBusiness Installation;&lt;br /&gt;http://host:port/OA_HTML/OAInfo.jsp&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE : &lt;/span&gt;Starting from 12.0.4 the page http://host:port/OA_HTML/OAInfo.jsp is not supported anymore, instead we need to login to Applications and select “About this Page” link. It will show us the OAF level and much more information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-6727981733408641241?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/6727981733408641241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/07/oaf-jdeveloper-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6727981733408641241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/6727981733408641241'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/07/oaf-jdeveloper-version.html' title='OAF JDeveloper Version'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3420058669094280892</id><published>2008-06-26T17:47:00.000+02:00</published><updated>2008-12-26T20:49:40.061+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='OAF'/><title type='text'>Java class header Info</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;Sometimes, we may need to find the version of the class file for OAF pages. The following shell commend will help to find out relevant information about class file;&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;strings -a ArCusOvrCO.class  | grep '$Header'&lt;/blockquote&gt;and, the output will look like;&lt;br /&gt;&lt;blockquote&gt;&lt;!-- $Header: ArBusPurDetVO.xml 120.0.12000000.6 2007/12/06 14:34:50 rmanikan ship $  --&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3420058669094280892?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3420058669094280892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/06/java-class-header-info.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3420058669094280892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3420058669094280892'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/06/java-class-header-info.html' title='Java class header Info'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-8909875413038351716</id><published>2008-05-13T20:34:00.001+02:00</published><updated>2008-12-26T20:35:38.685+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Documentation'/><title type='text'>Timezone in APPS</title><content type='html'>For time zone support to be activated, the system administrator must ensure that each of the following is true:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Oracle E-Business Suite version 11i10 or higher &lt;/li&gt;&lt;li&gt;Oracle RDBMS 9i or higher &lt;/li&gt;&lt;li&gt;The database must be configured to use the time zone file 'timezlrg.dat' rather than the 'timezone.dat' file &lt;/li&gt;&lt;li&gt;The database must be started in the standard corporate time zone &lt;/li&gt;&lt;li&gt;Profile 'Server Timezone' (SERVER_TIMEZONE_ID) must be set at the Site level, and must be set to the same standard corporate time zone as the database &lt;/li&gt;&lt;li&gt;Profile 'Client Timezone' (CLIENT_TIMEZONE_ID) must be set at the user level &lt;/li&gt;&lt;li&gt;Profile 'Enable Timezone Conversions' (ENABLE_TIMEZONE_CONVERSIONS) must be set to 'Yes' ('Y') at the Site level. &lt;/li&gt;&lt;li&gt;Profile 'Concurrent: Multiple Time Zones' (CONC_MULTI_TZ) should be set to 'No' (N) at the Site level &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-8909875413038351716?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/8909875413038351716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/05/timezone-in-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8909875413038351716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/8909875413038351716'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/05/timezone-in-apps.html' title='Timezone in APPS'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-3888726740125773855</id><published>2008-04-16T20:13:00.001+02:00</published><updated>2008-12-26T20:16:16.640+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>HRMS - fnd_session tip</title><content type='html'>&lt;div style="text-align: justify;"&gt;Almost all the HRMS views have a join to fnd_sessions table. When user changes their date-track value, it gets reflected in fnd_sessions table. Use the SQL below to create a default record for your SQL*Plus session;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;INSERT INTO fnd_sessions&lt;br /&gt;  (session_id&lt;br /&gt;  ,effective_date)&lt;br /&gt;  (SELECT userenv('sessionid')&lt;br /&gt;         ,SYSDATE&lt;br /&gt;   FROM dual&lt;br /&gt;   WHERE NOT EXISTS (SELECT 'c'&lt;br /&gt;          FROM fnd_sessions s1&lt;br /&gt;          WHERE userenv('sessionid') = s1.session_id));&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-3888726740125773855?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/3888726740125773855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/04/hrms-fndsession-tip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3888726740125773855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/3888726740125773855'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/04/hrms-fndsession-tip.html' title='HRMS - fnd_session tip'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-7271375796687742336</id><published>2008-03-26T20:10:00.000+01:00</published><updated>2008-12-26T20:12:07.087+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Getting the Dependencies</title><content type='html'>&lt;div style="text-align: justify;"&gt;This is a very easy task, in fact: Oracle maintains the relationships automatically and exposes them through three views. As such, we do not need to rely on reverse engineering DDL scripts.&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;USER_DEPENDENCIES&lt;/span&gt; returns the dependencies of the objects owned by the current user.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;ALL_DEPENDENCIES&lt;/span&gt; returns the dependencies of the objects visible to the current user (so it's a superset of the former)&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;DBA_DEPENDENCIES&lt;/span&gt; returns the dependencies of the all database objects. It requires SYSDBA privileges.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;The most useful fields are returned by the following query:&lt;br /&gt;&lt;blockquote&gt;select name, type, referenced_owner, referenced_name, referenced_type&lt;br /&gt;from user_dependencies&lt;/blockquote&gt;&lt;br /&gt;whose results can be read as "The object name of type type depends on the object referenced_name of type referenced_type owned by referenced_owner (as implied by the use of user_dependencies, the owner of the name object is the current user). The referenced_owner column is useful to filter out various Oracle objects such as DUAL.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-7271375796687742336?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/7271375796687742336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/03/getting-dependencies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7271375796687742336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/7271375796687742336'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/03/getting-dependencies.html' title='Getting the Dependencies'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-1613821075271904069</id><published>2008-02-26T13:56:00.000+01:00</published><updated>2008-12-26T20:00:26.994+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>APPEND into tables</title><content type='html'>&lt;div style="text-align: justify;"&gt;By using the APPEND hint, you ensure that Oracle always grabs "fresh" data blocks by raising the high-water-mark for the table. If you are doing parallel insert DML, the Append mode is the default and you don't need to specify an APPEND hint. Also, putting the table into NOLOGGING mode will allow Oracle to avoid almost all redo logging.&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;insert /*+ append */ into customer select  (. . .) from customer_xx;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-1613821075271904069?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/1613821075271904069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/02/append-into-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1613821075271904069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1613821075271904069'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/02/append-into-tables.html' title='APPEND into tables'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-2126085223213608795</id><published>2008-01-21T19:52:00.001+01:00</published><updated>2008-12-26T19:56:35.931+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Selecting sample data from table</title><content type='html'>Sometimes you may need to select a percentage of data from the table to create test data. The following statement will select approximately 0.2 percent of the data in the table;&lt;br /&gt;&lt;blockquote&gt;select * from RA_CUSTOMER_TRX_ALL sample(0.2);&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-2126085223213608795?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/2126085223213608795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/12/selecting-sample-data-from-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2126085223213608795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/2126085223213608795'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/12/selecting-sample-data-from-table.html' title='Selecting sample data from table'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-4007572978349018102</id><published>2008-01-06T08:04:00.000+01:00</published><updated>2008-12-26T20:09:52.574+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Commit, commit_form and forms_ddl</title><content type='html'>&lt;span style="font-weight: bold;"&gt;commit&lt;/span&gt;&lt;br /&gt;this is db command (only), not FORMS and if:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;form has upPOSTed statements they may be ignored&lt;/li&gt;&lt;li&gt;form not fire PRE, POST, ON - commit triggers&lt;/li&gt;&lt;/ul&gt;commit execute as client side statement&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;forms_ddl(commit)&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;this is dynamic sql - commit and commit execute as server side. And form doesn't know about commit. it commits the all the DML transactions if any executed and pendig for commit .&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;commit_form&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It fires commit for all the database blocks on the form&lt;/li&gt;&lt;li&gt;it commits the all the DML transactions if any executed and pendig for commit .&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-4007572978349018102?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/4007572978349018102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2008/01/commit-commitform-and-formsddl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4007572978349018102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4007572978349018102'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2008/01/commit-commitform-and-formsddl.html' title='Commit, commit_form and forms_ddl'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-996803051617608881</id><published>2007-12-23T20:54:00.000+01:00</published><updated>2008-12-26T20:56:21.398+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>STRING_TO_DATE</title><content type='html'>For the concurrent request parameters, if you are sending a VARCHAR2 type of parameter as a date variable, I would suggest to use STRING_TO_DATE function for conversion; See below;&lt;br /&gt;&lt;blockquote&gt;g_DateUB := NVL(Fnd_Conc_Date.STRING_TO_DATE (p_dateUB), SYSDATE);&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-996803051617608881?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/996803051617608881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/12/stringtodate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/996803051617608881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/996803051617608881'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/12/stringtodate.html' title='STRING_TO_DATE'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-5900452647418858409</id><published>2007-11-26T20:57:00.001+01:00</published><updated>2008-12-26T21:00:44.243+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Call a pl/sql API from forms personalization</title><content type='html'>To call a pl/sql API from forms personalization, do this&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Personalize the form&lt;/li&gt;&lt;li&gt;Create an action of type "BuiltIn"&lt;/li&gt;&lt;li&gt;BuiltIn Type for Action should be "Execute a Procedure"&lt;/li&gt;&lt;li&gt;Argument should be as below &lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;='declare&lt;br /&gt;   v_field_value VARCHAR2(200) ;&lt;br /&gt;   begin&lt;br /&gt;       xx_proc ('''||${item.BLOCKNAME.FIELDNAME.value}||''');&lt;br /&gt;   end'&lt;/blockquote&gt;Note the syntax, after =, entire declare begin end is within single quote. Also, there is no semi colon after "end"&lt;br /&gt;&lt;br /&gt;You can pass field values as&lt;br /&gt;&lt;blockquote&gt;'''||${item.BLOCKNAME.FIELDNAME.value}||'''&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-5900452647418858409?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/5900452647418858409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/11/call-plsql-api-from-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5900452647418858409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/5900452647418858409'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/11/call-plsql-api-from-forms.html' title='Call a pl/sql API from forms personalization'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-479749528888690782</id><published>2007-09-26T20:36:00.000+02:00</published><updated>2008-12-26T20:37:46.089+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Utilities:Diagnostics</title><content type='html'>Making "Profile – Utilities:Diagnostics" YES will give enduser the ability to use Diagnostic without entering the APPS Password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-479749528888690782?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/479749528888690782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/09/utilitiesdiagnostics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/479749528888690782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/479749528888690782'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/09/utilitiesdiagnostics.html' title='Utilities:Diagnostics'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-1603025857150461271</id><published>2007-08-26T20:52:00.002+02:00</published><updated>2008-12-26T20:54:18.076+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>FORMAT_ERROR_STACK</title><content type='html'>&lt;div style="text-align: justify;"&gt;Replace SQLERRM with the much better DBMS_UTILITY.format_error_stack. Now you will see the full error stack information -- but if the string exceeds 255 characters, you get an ERROR!&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;DBMS_OUTPUT.PUT_LINE (DBMS_UTILITY.format_error_stack);&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-1603025857150461271?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/1603025857150461271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/08/formaterrorstack_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1603025857150461271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1603025857150461271'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/08/formaterrorstack_26.html' title='FORMAT_ERROR_STACK'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-1626684267071523182</id><published>2007-08-26T20:52:00.001+02:00</published><updated>2008-12-26T20:53:54.075+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>FORMAT_ERROR_STACK</title><content type='html'>&lt;div style="text-align: justify;"&gt;Replace SQLERRM with the much better DBMS_UTILITY.format_error_stack. Now you will see the full error stack information -- but if the string exceeds 255 characters, you get an ERROR!&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;DBMS_OUTPUT.PUT_LINE (DBMS_UTILITY.format_error_stack);&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-1626684267071523182?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/1626684267071523182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/08/formaterrorstack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1626684267071523182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/1626684267071523182'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/08/formaterrorstack.html' title='FORMAT_ERROR_STACK'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-4512061545400242280</id><published>2007-02-20T14:50:00.000+01:00</published><updated>2007-02-20T15:01:14.175+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E-Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>MSCA Turkish</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;After successful installation of Mobile Supply Chain Applications (MSCA) of Oracle Applications Release 11.5.10, we discovered Telnet client can not display characters for the Turkish language. &lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;Telnet Protocol; Mobile Applications Framework's Presentation Manager Layer can send data to telnet clients in multi-byte. However, for telnet clients (whether it be a telnet client software on Microsoft Windows, Unix, etc. or a telnet client on a mobile device) to display characters for the specified language, system administrator's have to set the CHARACTER_SET parameter in their default_key.ini file (or whatever ini file they use for this in $MWA_TOP/secure directory) to the proper character encoding value.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;For example, for West European character sets (like French ), CHARACTER_SET has to be set to WE8ISO8859P1. When this fails for you, try using the encoding scheme format for your characterset as referenced from &lt;a href="http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html"&gt;java character codes&lt;/a&gt;: &lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;For example, we tried using 'Cp1254' (case sensitive) for Turkish charactersets as the value in CHARACTER_SET.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;Also check CLASSPATH. Some charactersets are available by default in the Basic Encoding set (rt.jar) file, while others are available in the Extended Encoding set&lt;span style=""&gt;        &lt;/span&gt;(i18n.jar or characters.jar in the upper versions of Java). Therefore, CLASSPATH needs to include the correct file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-4512061545400242280?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/4512061545400242280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2007/02/msca-turkish.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4512061545400242280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/4512061545400242280'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2007/02/msca-turkish.html' title='MSCA Turkish'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-116377043882357044</id><published>2006-11-17T14:33:00.000+01:00</published><updated>2006-11-17T14:33:58.963+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Tip : Oracle Home</title><content type='html'>&lt;div style="text-align: justify;"&gt;When you have several oracle_home, here is a way to find which is the oracle home for a particular instance:&lt;br /&gt;&lt;br /&gt;1) get the pid of a background process:&lt;br /&gt;ps -edf | grep [o]ra_smon_ORAPRD01&lt;br /&gt;oracle 307694 1 0 Jan 24 - 1:43 ora_smon_ORAPRD01&lt;br /&gt;&lt;br /&gt;2) get its current working directory from /proc:&lt;br /&gt;ls -l /proc/307694/cwd&lt;br /&gt;lr-x------ 2 oracle dba 0 Feb 28 16:00 /proc/307694/cwd -&gt; /app/oracle/product/9.2.0/dbs/&lt;br /&gt;&lt;br /&gt;Here oracle_home is /app/oracle/product/9.2.0&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-116377043882357044?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/116377043882357044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/11/tip-oracle-home.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377043882357044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377043882357044'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/11/tip-oracle-home.html' title='Tip : Oracle Home'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-116377020276071124</id><published>2006-11-17T14:29:00.000+01:00</published><updated>2006-11-17T14:30:03.083+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Tip : dbms_java</title><content type='html'>&lt;div style="text-align: justify;"&gt;By executing the following 2 statements in your session :&lt;br /&gt;&lt;br /&gt;SET SERVEROUTPUT ON SIZE 1000000;&lt;br /&gt;CALL DBMS_JAVA.SET_OUTPUT (1000000);&lt;br /&gt;&lt;br /&gt;All the output of the System.out.println command in your stored procedures will be shown in your serveroutput. This gives you simple and fast way to debug your procedure like any other pl/sql procedure. It's jus like you would use the dbms_output.put_line proc. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-116377020276071124?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/116377020276071124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/11/tip-dbmsjava.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377020276071124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377020276071124'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/11/tip-dbmsjava.html' title='Tip : dbms_java'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-116377028913293275</id><published>2006-05-13T14:30:00.000+02:00</published><updated>2006-11-17T14:31:29.240+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Tip : 10g Problem</title><content type='html'>&lt;div style="text-align: justify;"&gt;When you start to work with 10g, you will notice some "new" behavior that you didn't expect.&lt;br /&gt;After install on a unix environment you aren't able to run sqlplus, tnsping from sthat server if you aren't the user or if you don't belong to DBA group.&lt;br /&gt;&lt;br /&gt;It looks like that Oracle is not able to get the securirity right.&lt;br /&gt;Their solution is close it for everybody (as in the big, bad world) and your save.&lt;br /&gt;Now you, as a DBA, has to open it for the normal (non DBA) users and now YOU are responsable!&lt;br /&gt;That's an easy solution of Mr. Oracle.&lt;br /&gt;&lt;br /&gt;You need to run $ORACLE_HOME/install/changePerm.sh to lift the restrictions.&lt;br /&gt;Note some directories are kep to restrictive, you need to execute in the ORACLE_HOME:&lt;br /&gt;$ chmod O+rx lib lib2 ldap ldap/admin srvm/lib32&lt;br /&gt;&lt;br /&gt;(Or better: Checkout Metalink note 363721.1 and download patch 5087548.)&lt;br /&gt;&lt;br /&gt;Another effect is that the CONNECT role is changed (is more restrictive in 10g).&lt;br /&gt;Restoring the role CONNECT of 10gR2 as it was in 9i:&lt;br /&gt;&lt;br /&gt;SQL&gt; @$ORACLE_HOME/rdbms/admin/rstrconn.sql&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-116377028913293275?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/116377028913293275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/05/tip-10g-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377028913293275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/116377028913293275'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/05/tip-10g-problem.html' title='Tip : 10g Problem'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-114103882844481812</id><published>2006-02-27T12:10:00.000+01:00</published><updated>2006-02-27T12:13:48.880+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Tip : Easy Connect String</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: verdana;"&gt;EZCONNECT - Easy Connect String&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;You can avoid having to use a TNSNAMES.ORA file by specifying the full connect string at the command prompt. The hostname is the only mandatory piece.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;sqlplus username/password@ [//] hostname [:port] [/service_name]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Eg. sqlplus scott/tiger@10gserver:1521/ORCL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Ex :sqlplus scott/tiger@&lt;serverip&gt;:1521/&lt;dbname&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Set up EZCONNECT in the sqlnet.ora file as follows:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;This gives us easy and secure way of connecting to databases from client machine without leaving the DB information in TNSNAMES.ORA  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;This information is taken from &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.dba-village.com/"&gt;http://www.dba-village.com/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-114103882844481812?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/114103882844481812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/tip-easy-connect-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/114103882844481812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/114103882844481812'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/tip-easy-connect-string.html' title='Tip : Easy Connect String'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-114052263500680676</id><published>2006-02-21T12:48:00.000+01:00</published><updated>2006-02-21T12:50:35.433+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Documentation'/><title type='text'>Oracle Firefox Search Plugins</title><content type='html'>&lt;h1&gt;Mozilla Firefox&lt;/h1&gt;      &lt;h2&gt;General Oracle Search Plugins&lt;/h2&gt;      &lt;a href="javascript:addEngine('oracle-base-plugin','gif','ORACLE-BASE docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle-base-plugin.gif" alt="ORACLE-BASE.com Search Plugin" /&gt; Install oracle-base-plugin&lt;/a&gt; - Searches the ORACLE-BASE.com site.&lt;br /&gt;  &lt;a href="javascript:addEngine('otn-plugin','png','OTN docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/otn-plugin.png" alt="OTN Search Plugin" /&gt; Install otn-plugin&lt;/a&gt; - Searches the Oracle Technology Network site.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle-metalink-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle-metalink-plugin.png" alt="Oracle Metalink Search Plugin" /&gt; Install oracle-metalink-plugin&lt;/a&gt; - Searches the Oracle Metalink site.&lt;br /&gt;   &lt;h2&gt;Oracle Error Search Plugins&lt;/h2&gt;      &lt;a href="javascript:addEngine('oracle817-errors-plugin','png','error docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle817-errors-plugin.png" alt="Oracle 8.1.7 Errors Search Plugin" /&gt; Install oracle817-errors-plugin&lt;/a&gt; - Searches the Oracle 8.1.7 error messages manual.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle901-errors-plugin','png','error docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle901-errors-plugin.png" alt="Oracle 9.0.1 Errors Search Plugin" /&gt; Install oracle901-errors-plugin&lt;/a&gt; - Searches the Oracle 9.0.1 error messages manual.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle920-errors-plugin','png','error docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle920-errors-plugin.png" alt="Oracle 9.2.0 Errors Search Plugin" /&gt; Install oracle920-errors-plugin&lt;/a&gt; - Searches the Oracle 9.2.0 error messages manual.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle101-errors-plugin','png','error docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle101-errors-plugin.png" alt="Oracle 10.1.0 Errors Search Plugin" /&gt; Install oracle101-errors-plugin&lt;/a&gt; - Searches the Oracle 10.1.0 error messages manual.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle102-errors-plugin','png','error docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle102-errors-plugin.png" alt="Oracle 10.2.0 Errors Search Plugin" /&gt; Install oracle102-errors-plugin&lt;/a&gt; - Searches the Oracle 10.2.0 error messages manual.&lt;br /&gt;   &lt;h2&gt;Oracle Documentation Search Plugins&lt;/h2&gt;      &lt;a href="javascript:addEngine('oracle817-docs-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle817-docs-plugin.png" alt="Oracle 8.1.7 Documentation Search Plugin" /&gt; Install oracle817-docs-plugin&lt;/a&gt; - Searches the Oracle 8.1.7 manuals.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle901-docs-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle901-docs-plugin.png" alt="Oracle 9.0.1 Documentation Search Plugin" /&gt; Install oracle901-docs-plugin&lt;/a&gt; - Searches the Oracle 9.0.1 manuals.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle920-docs-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle920-docs-plugin.png" alt="Oracle 9.2.0 Documentation Search Plugin" /&gt; Install oracle920-docs-plugin&lt;/a&gt; - Searches the Oracle 9.2.0 manuals.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle101-docs-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle101-docs-plugin.png" alt="Oracle 10.1.0 Documentation Search Plugin" /&gt; Install oracle101-docs-plugin&lt;/a&gt; - Searches the Oracle 10.1.0 manuals.&lt;br /&gt;  &lt;a href="javascript:addEngine('oracle102-docs-plugin','png','docs')"&gt;&lt;img src="http://www.oracle-base.com/downloads/oracle102-docs-plugin.png" alt="Oracle 10.2.0 Documentation Search Plugin" /&gt; Install oracle102-docs-plugin&lt;/a&gt; - Searches the Oracle 10.2.0 manuals.&lt;br /&gt;&lt;br /&gt;This information is taken from &lt;a href="http://www.oracle-base.com"&gt;http://www.oracle-base.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-114052263500680676?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/114052263500680676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/oracle-firefox-search-plugins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/114052263500680676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/114052263500680676'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/oracle-firefox-search-plugins.html' title='Oracle Firefox Search Plugins'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113992647868859673</id><published>2006-02-14T15:10:00.000+01:00</published><updated>2006-02-14T15:17:24.640+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Standalone Reports Server on 10g R2 Developer</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;  If you tried to install report server as NT service in 10gAS R2(10.1.2.0.2) , when you  ran following command at command prompt;&lt;br /&gt;&lt;br /&gt;    rwserver -install &lt;report&gt; autostart=yes&lt;br /&gt;&lt;br /&gt;you will get the error message saying that "Please consult the installation guides for how to setup and run this program" &lt;br /&gt;&lt;/report&gt;&lt;/div&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;Beginning with Oracle Reports 10g Release 2 (10.1.2), running Reports Server as a Windows service is no longer supported ( rwserver -install server_name). As a result, the related command line keywords INSTALL and UNINSTALL are also obsolete. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;Start or stop a Reports Server registered with Oracle Enterprise Manager 10g only through Oracle Enterprise Manager 10g/OPMN. OPMN automatically restarts Reports Server if it stops responding for some reason. On Windows, OPMN itself is run as a Windows service.   Start the Reports Server as a standalone server on Windows using the following command: &lt;br /&gt;&lt;br /&gt;    rwserver server=server_name&lt;br /&gt;&lt;br /&gt;Add the BATCH command line keyword to start up the server without displaying dialog boxes or messages. &lt;br /&gt;&lt;br /&gt;    rwserver server=server_name batch=yes&lt;pre&gt;&lt;span class="italic"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113992647868859673?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113992647868859673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/standalone-reports-server-on-10g-r2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113992647868859673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113992647868859673'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/standalone-reports-server-on-10g-r2.html' title='Standalone Reports Server on 10g R2 Developer'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113982228335062188</id><published>2006-02-13T10:17:00.000+01:00</published><updated>2006-02-13T10:19:20.170+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>J2EE vs .NET: Where Is Application Development Going?</title><content type='html'>&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;" class="MsoNormal"&gt;J2EE vs .NET: Where Is Application Development Going?&lt;br /&gt;by Duncan Mills Outlines The Rise and Rise of the Meta-Framework&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;Where is application development going? What's the next cool thing? You may have answers to these questions, your answers may be the same or different to mine or anyone else's. The point is we just don't really know, and that's a problem. Saying to the manager of enterprise development shops "Oh yes just standardize on J2EE and everything will be fine" is not going to cut it. These folks are savvy enough to know that J2EE is a minefield of choice in standards and APIs. They need and deserve more direction than that. So you can make a suggestion as to a good set of technologies to use in a particular scenario - let's say &lt;a href="http://www.oracle.com/technology/products/ias/toplink/index.html"&gt;Toplink&lt;/a&gt;, &lt;a href="http://lucene.apache.org/java/docs/index.html"&gt;Lucene&lt;/a&gt;, &lt;a href="http://struts.apache.org/index.html"&gt;Struts&lt;/a&gt; and JSP, as a random example - but of course there's a catch. You've just flagged a whole bunch of different technologies and APIs, each with a learning curve, each with different download locations or vendors and possibly conflicts in the APIs they consume. This is, I think, why .NET presses a lot of the right buttons. It's a &lt;em&gt;Meta-Framework&lt;/em&gt; - a one stop shop. Say to a development manager you just have this one thing to do everything you need, and of course it's going to be attractive, irrespective of what the reality might be under the covers. There is no doubt that there are a lot of fantastic point solutions and frameworks out there in the J2EE world, but as standalone islands of functionality they have a much harder sell in the corporate market. If we look for frameworks that have been successful and widely adopted and examine them to see what gives them the edge what will we find? Take Struts for instance (love it or hate it). I'd be hard pressed to call Struts a meta-framework by my current thinking, but for it's time, it was. It wasn't just a collection of taglibs, that's what everyone was doing, it was taglibs plus a front controller, and it evolved to encompass validation as well. Struts became a worthwhile skill because with that one notch in you belt you can tackle a good chunk of an applications development. &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;strong&gt;What Defines a Meta-Framework today?&lt;/strong&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;strong&gt;Broad Scope&lt;/strong&gt; - the framework needs to cover everything from UI creation and page flow controller functionality to integration with multiple service providers including EJB, Web services, POJO and so on. It's not just a vertical slice through. Pluggability - the flexibility within the meta framework to incorporate choice into the stack. There is no reason at all that a meta-framework cannot encapsulate existing best of breed service providers, this is particularly true in an area like O/R mapping where I might want to use EJB, I might want to use a POJO based Toplink solution, or something totally new might come along. Just give me the choice (but feel free to offer best practice solutions). &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;em&gt;&lt;b&gt;Coexistence&lt;/b&gt;&lt;/em&gt; - Given that it's unlikely that a meta-framework will be able to implement everything itself it's going to be in turn a consumer of service frameworks - this is implicit in the pluggability argument. This in turn implies that the coupling between services within the framework has to be loose otherwise the pluggability dream cannot be fulfilled. Also, however, it imposes a degree of responsibility in the provider of the meta-framework.&lt;br /&gt;&lt;br /&gt;Someone has to test all this stuff together, are there classloading problems for instance, do all these components share the same version of key APIs and so on. If you construct you own bespoke architecture this is something you'd have to worry about. If you consume a meta-framework one of the things you should be getting is this certification. Of course that might mean that components within a meta-framework are not absolute cutting edge within a specific genre, but do developers want cutting edge or do they want assured working? &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;b&gt;&lt;br /&gt;&lt;em&gt;Abstraction&lt;/em&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/b&gt;- where you have choice you need abstraction. If I want to swap out my O/R mapping layer I don't want to have to adopt a whole new set of APIs at the binding or transactional glue points. The meta framework needs to add value here, standards such as the common databinding proposed by &lt;a href="http://www.jcp.org/en/jsr/detail?id=227"&gt;JSR 227&lt;/a&gt;, are ideally placed to provide this type of plumbing.&lt;br /&gt;&lt;br /&gt;I not dumb enough to suppose that swapping out is actually common within an individual application, but the point is the same skillset can be reused between projects or where a project has a heterogeneous set of providers. Abstraction generally is where meta-frameworks can add the most value because it leads into the next point - longevity.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;b&gt;Longevity&lt;/b&gt;&lt;/em&gt; - APIs change, this is a fact of life, Frameworks provide a level of abstraction on top of the base platform APIs and a degree of insulation from that change as a result. But frameworks change too with time, particularly active community driven ones. Meta-frameworks can add another layer of abstraction and programmer insulation on top of this shifting morass. You code to the Meta-framework and the plumbing in is handled for you, as the sands shift, the meta-framework adapts to that on your behalf. Can this work in reality? Well yes, certainly in the world of propriety frameworks we have environments like &lt;a href="http://www.oracle.com/technology/products/forms/index.html"&gt;Oracle Forms&lt;/a&gt; which have persisted and evolved for almost 20 years, bringing code forward from VT terminals, through Windows GUIs to the Web, essentially unchanged, although perhaps enhanced as more capabilities appeared.&lt;br /&gt;&lt;br /&gt;This then is the major carrot that meta-frameworks can offer to enterprise development shops - stability, but without stagnation. A meta-framework has to evolve and offer it's consumers the latest and greatest whilst at the same time maintaining a rock solid foundation for existing applications. &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;b&gt;&lt;br /&gt;&lt;em&gt;Tooling&lt;/em&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/b&gt;- Meta-frameworks will often be based around both coded abstraction layers and a large amount of in-metadata configuration. As such having tools support is an important part of the picture. Tooling can add yet another layer of abstraction through alternative visualizations such as diagramming or GUI screen designers. This helps with the whole future proofing issue.. &lt;b&gt;&lt;br /&gt;&lt;strong&gt;But Why Now?&lt;/strong&gt;&lt;/b&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;Why should you believe that meta-frameworks have any traction? We've not really seen any SOA-like marketing buzz around such frameworks, no great vendor splashes. Well, I think now is the time because it's happening in a stealthy and underhand way in any case. If we ignore the vendors for a second and just look at the standards and trends: What's the big trend at the moment? - well POJOs and IOC, think &lt;a href="http://www.jcp.org/en/jsr/detail?id=227"&gt;EJB 3.0&lt;/a&gt;, think &lt;a href="http://www.jcp.org/en/jsr/detail?id=227"&gt;Spring&lt;/a&gt;, you name it - loose coupling in other words.&lt;br /&gt;&lt;br /&gt;I also think that the &lt;a href="http://java.sun.com/j2ee/javaserverfaces/"&gt;JavaServer Faces&lt;/a&gt; (JSF) standard is also a key player here. JSF offers an abstracted UI definition and event handling model that can be run across multiple devices. That's a large chunk of meta-framework right there. If I learn JSF I can code for mainstream browsers, handhelds and even industrial telnet devices with a single skill set. That works for me! &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;strong&gt;Where Are The Meta-Frameworks?&lt;/strong&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;We've see that Microsoft can do it with .NET, but they have the luxury of almost total control. Are fully fledged meta-frameworks possible in the open standards J2EE space? &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;Well yes I think it can be done, many frameworks aspire, but most of those that do so do not have the scope of a true meta-framework. Maybe they only support one UI technology, or only allow EJBs for persistence. That's not good enough, a framework must be adaptable and willing to evolve to drink the soup du jour, but of course do that in a balanced and supportable way. To date I'd say that to varying degrees, the &lt;a href="http://www.oracle.com/technology/products/jdev/index.html"&gt;Oracle ADF framework&lt;/a&gt; and the Spring framework are closest in exhibiting most of the essential meta-framework attributes. &lt;a href="http://www.keelframework.org/"&gt;Keel&lt;/a&gt; is also out there in this space but is lacking traction and is unlikely to be that attractive to large enterprises. &lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;Meta-frameworks then, have the potential to offer exactly what the large enterprise shops need: a certified technology stack with the flexibility to meet the majority of requirements, and the promise of a lifetime that matches the application being built with it. I think it's inevitable that meta-frameworks are in the the domain of the commercial vendors (and I include in the grouping the vendors operating on a Service basis for open source as well as the paid-for-product vendors). Maintaining a meta-framework is a long term and expensive commitment, it's going to have to be paid for, either through license costs on the framework itself, or through support/service costs. It's also got to be backed by companies that stand a chance of being around for the required timescales.&lt;br /&gt;The vendors though, are out there and ready to jump into this space. The meta-frameworks are coming... &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: verdana;"&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113982228335062188?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113982228335062188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/j2ee-vs-net-where-is-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113982228335062188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113982228335062188'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/j2ee-vs-net-where-is-application.html' title='J2EE vs .NET: Where Is Application Development Going?'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956940742632040</id><published>2006-02-12T12:00:00.000+01:00</published><updated>2006-02-10T12:08:18.463+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Close all forms with one button</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;When you have multiform application with several open Form modules they are organized within one MDI parent runform window. It's standard behavior on Win32 that when user press 'Close' button on MDI parent window all open child windows starts to close. However, pressing 'Close' button on MDI parent Runform window will cause only the current form to be closed. In order to achieve similar functionality to standard one in MDI Runform session to we need to have following code in every involved form module;&lt;br /&gt;&lt;br /&gt;WHEN-NEW-FORM-INSTANCE trigger:&lt;br /&gt;&lt;br /&gt;    default_value('false','global.closing');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WHEN-WINDOW-ACTIVATED trigger:&lt;br /&gt;&lt;br /&gt;    if :global.closing='true' then&lt;br /&gt;&lt;br /&gt;        exit_form;&lt;br /&gt;&lt;br /&gt;    end if;&lt;br /&gt;&lt;br /&gt;Now, it is up to Forms developer from where he/she triggers this closing process. A special toolbar button or menu item for this purpose can be used with code:&lt;br /&gt;&lt;br /&gt;    :global.closing := 'true';&lt;br /&gt;&lt;br /&gt;    exit_form;&lt;br /&gt;&lt;br /&gt;and all open forms within the current Forms MDI Runform parent window starts to close.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956940742632040?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956940742632040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/close-all-forms-with-one-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956940742632040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956940742632040'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/close-all-forms-with-one-button.html' title='Close all forms with one button'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956920951206203</id><published>2006-02-10T11:57:00.000+01:00</published><updated>2006-02-10T12:11:28.753+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Using the COPY and NAME_IN built-in</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;Using the COPY and NAME_IN built-in functions in Forms isn't explained that well in the documentation. But they can be very useful in making your forms more generic by enabling you to build up field names dynamically and subsequently set and/or get the field values. In addition with the COPY function its possible to programatically insert non-numeric characters such as '%' into numeric fields, thus allowing wild-card searches to be performed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;NAME_IN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The name_in function allows you to get the value of a variable which itself is held as a variable name. Consider a form with two text fields on it - field1 and field2. Now into field1 enter the string 'Hello' and into field2 enter the string 'field1'. Now if you do a message(name_in(:field2)) it will display the string 'Hello'. As another example suppose you want to know what the value contained in the current form item is.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You look at the help and see that there is system variable called current_item. Great, I'll just message this out, however you'll soon discover that system.current_item is the name of the current item - not what it contains. To get at the value of the current item just enclose it within the name_in built-in - name_in(:system.current_item)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;COPY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;COPY is the complement of the NAME_IN function in that it allows you to set the value of a variable which itself is held as a variable. For example suppose you wish to set the value of the current item to the string 'Hello' - assuming the current item will be a text field. You can't simply do&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    :system.current_item:='Hello' ;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;as Forms disallows this. But you can do a&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    COPY('Hello',:system.current_item);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Often you may have to dynamically create variables holding the name of fields on your form and set them to some value. Say you have 5 blocks - block1, block2 etc… all containing a text field of the same name - stock_id. To set the value of the stock_id field that the cursor is currently on you might use code like:-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    COPY(' IBM',:system.current_block||'.stock_id');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;One other use that COPY has is to place non-numeric characters into numeric fields programmatically during enter-query mode. Why would you want to do that? Mostly to allow the placing of wildcard characters such as '%'. You'll find that if you simply try:-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    :num_field := '123%'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Forms will issue an error message&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;However doing COPY('123%',:num_field) works OK.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This only works during entry-query mode and you only need to use this if you have to enter the characters programmatically. You can just type in such characters normally if required.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956920951206203?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956920951206203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/using-copy-and-namein-built-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956920951206203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956920951206203'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/using-copy-and-namein-built-in.html' title='Using the COPY and NAME_IN built-in'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956614714464494</id><published>2006-02-10T11:08:00.000+01:00</published><updated>2006-02-10T11:09:08.906+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Oracle Technical Interview Questions Answered</title><content type='html'>&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;1. Explain the difference between a hot backup and a cold backup and the benefits associated with each.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;A hot backup is basically taking a backup of the database while it is still up and running and it must be in archive log mode. A cold backup is taking a backup of the database while it is shut down and does not require being in archive log mode. The benefit of taking a hot backup is that the database is still available for use while the backup is occurring and you can recover the database to any point in time. The benefit of taking a cold backup is that it is typically easier to administer the backup and recovery process. In addition, since you are taking cold backups the database does not require being in archive log mode and thus there will be a slight performance gain as the database is not cutting archive logs to disk.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;2. You have just had to restore from backup and do not have any control files. How would you go about bringing up this database?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;I would create a text based backup control file, stipulating where on disk all the data files where and then issue the recover command with the using backup control file clause.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;3. How do you switch from an init.ora file to a spfile?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Issue the create spfile from pfile command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;4. Explain the difference between a data block, an extent and a segment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;A data block is the smallest unit of logical storage for a database object. As objects grow they take chunks of additional storage that are composed of contiguous data blocks. These groupings of contiguous data blocks are called extents. All the extents that an object takes when grouped together are considered the segment of the database object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;5. Give two examples of how you might determine the structure of the table DEPT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Use the describe command or use the dbms_metadata.get_ddl package.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;6. Where would you look for errors from the database engine?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;In the alert log.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;7. Compare and contrast TRUNCATE and DELETE for a table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Both the truncate and delete command have the desired outcome of getting rid of all the rows in a table. The difference between the two is that the truncate command is a DDL operation and just moves the high water mark and produces a now rollback. The delete command, on the other hand, is a DML operation, which will produce a rollback and thus take longer to complete.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;8. Give the reasoning behind using an index.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Faster access to data blocks in a table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;9. Give the two types of tables involved in producing a star schema and the type of data they hold.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Fact tables and dimension tables. A fact table contains measurements while dimension tables will contain data that will help describe the fact tables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;10. . What type of index should you use on a fact table?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;A Bitmap index.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;11. Give two examples of referential integrity constraints.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;A primary key and a foreign key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;12. A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Disable the foreign key constraint to the parent, drop the table, re-create the table, enable the foreign key constraint.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;13. Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;ARCHIVELOG mode is a mode that you can put the database in for creating a backup of all transactions that have occurred in the database so that you can recover to any point in time. NOARCHIVELOG mode is basically the absence of ARCHIVELOG mode and has the disadvantage of not being able to recover to any point in time. NOARCHIVELOG mode does have the advantage of not having to write transactions to an archive log and thus increases the performance of the database slightly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;14. What command would you use to create a backup control file?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Alter database backup control file to trace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;15. Give the stages of instance startup to a usable state where normal users may access it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;STARTUP NOMOUNT - Instance startup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;STARTUP MOUNT - The database is mounted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;STARTUP OPEN - The database is opened&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;16. What column differentiates the V$ views to the GV$ views and how?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;The INST_ID column which indicates the instance in a RAC environment the information came from.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;17. How would you go about generating an EXPLAIN plan?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Create a plan table with utlxplan.sql.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Use the explain plan set statement_id = 'tst1' into plan_table for a SQL statement&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Look at the explain plan with utlxplp.sql or utlxpls.sql&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;18. How would you go about increasing the buffer cache hit ratio?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Use the buffer cache advisory over a given workload and then query the v$db_cache_advice table. If a change was necessary then I would use the alter system set db_cache_size command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;19. Explain an ORA-01555&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;You get this error when you get a snapshot too old within rollback. It can usually be solved by increasing the undo retention or increasing the size of rollbacks. You should also look at the logic involved in the application getting the error message.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;20. Explain the difference between $ORACLE_HOME and $ORACLE_BASE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;ORACLE_BASE is the root directory for oracle. ORACLE_HOME located beneath ORACLE_BASE is where the oracle products reside.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:10;"&gt;Well, we have gone through the first 25 questions as I would answer them during an interview. Please feel free to add your personal experiences to the answers as it will always improve the process and add your particular touch. As always remember these are "core" DBA questions and not necessarily related to the Oracle options that you may encounter in some interviews. Take a close look at the requirements for any job and try to come up with questions that the interviewer may ask. Next time we will tackle the rest of the questions. Until then, good luck with the process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956614714464494?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956614714464494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/oracle-technical-interview-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956614714464494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956614714464494'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/oracle-technical-interview-questions.html' title='Oracle Technical Interview Questions Answered'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956512761226923</id><published>2006-02-10T10:51:00.000+01:00</published><updated>2006-02-10T10:55:04.616+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Solaris Logadm</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;Solaris 9 has added a new command called logadm which is useful in managing Oracle log files as well as any other log files that are used on your system. I don't know whether other flavours of UNIX have similar commands or not.&lt;br /&gt;&lt;br /&gt;The command is '/usr/sbin/logadm'. The default configuration file is '/etc/logadm.conf', but a user configuration file can be specified.&lt;br /&gt;&lt;br /&gt;The way I have used this is to create a cron job as below. This uses an Oracle specific config file.&lt;br /&gt;====================&lt;br /&gt;0 01 * * * "/usr/sbin/logadm -f /opt/apps/oracle/utils/logadm/logadm.conf"&lt;br /&gt;====================&lt;br /&gt;&lt;br /&gt;Then I created the config file as below. The configuration file must be left writable, as the logadm updates the command with the -P option to keep track of last processed timestamps&lt;br /&gt;====================&lt;br /&gt;# &lt;log&gt; &lt;options&gt;&lt;br /&gt;/oracle/admin/GANDALF/bdump/alert_GANDALF1.log -C 3 -c -p 1w -z 1&lt;br /&gt;/oracle/product/10.1.0/db/network/log/listener.log -C 3 -c -p 1w -z 1&lt;br /&gt;/oracle/product/10.1.0/db/network/log/sqlnet.log -C 3 -c -p 1w -z 1&lt;br /&gt;====================&lt;br /&gt;Using the switch '-c' means that 'logadm' is able to process the listener.ora file without problems due to locking.&lt;br /&gt;&lt;br /&gt;For further details consult the 'logadm' man page.&lt;br /&gt;&lt;br /&gt;&lt;/options&gt;&lt;/log&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956512761226923?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956512761226923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/solaris-logadm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956512761226923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956512761226923'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/solaris-logadm.html' title='Solaris Logadm'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113949807233653851</id><published>2006-02-09T16:11:00.000+01:00</published><updated>2006-02-09T16:16:22.633+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Rollback Segments</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;Each time Oracle makes a change to schema data it records the information required to undo that change in a special type of database area called a rollback segment. This information is always kept at least until the transaction making the change has committed, but as soon as the transaction is complete its rollback or undo data can be overwritten. How soon this happens depends on how much undo space is available and how quickly current and future transactions create new undo records. Within a few seconds, or minutes, or hours the undo information will be overwritten or, in some cases, simply   discarded. Since the introduction of Oracle Version 6 in 1988 the     allocation of rollback segment space has been a major concern for Oracle DBA's who have had to decide both how many rollback segments an instance should have and how large each one should be. Resolving this issue has typically required a number of compromises that are outside the scope of this post. &lt;br /&gt;&lt;p class="MsoPlainText" style="text-align: justify;"&gt;&lt;span style=";font-size:12;" &gt;&lt;/span&gt;&lt;/p&gt;Oracle9i supports the traditional rollback segment management features that have evolved over the past 13 years, but also introduces Automatic Undo Management. In this mode the DBA only has to create an "undo tablespace", tell Oracle to use this tablespace, and specify for how many seconds each undo record must be retained. The records will, of course, be kept for longer if the transaction that creates them does not commit within the time interval.   In Oracle9i the following three instance parameters will guarantee that all undo entries will remain available for 15 minutes:&lt;span style=";font-size:12;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;  &lt;p class="MsoPlainText" style="text-align: justify;"&gt;&lt;span style=";font-size:12;" &gt;&lt;/span&gt;&lt;/p&gt;undo_management = AUTO &lt;br /&gt;undo_retention = 900 # seconds &lt;br /&gt;undo_tablespace = UNDOTBS&lt;p class="MsoPlainText" style="text-align: justify;"&gt;&lt;span style=";font-size:12;" &gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    However a potentially unwanted side effect is that the Oracle server will not retain the data for much longer than the time specified even if the instance is running with a relatively light updating load i.e. even if there is no great demand to write new undo information. This contrasts markedly with traditional   rollback segment management, where under light updating loads undo entries could (and would) remain available for several hours to generate read consistent data sometimes required by long running reports. Fortunately the instance parameter undo_retention can be altered dynamically using alter system set and this may become necessary at sites which have long report runs take place and cannot completely prevent update from occurring while these reports are running.  &lt;span style=";font-size:12;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113949807233653851?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113949807233653851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/rollback-segments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949807233653851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949807233653851'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/rollback-segments.html' title='Rollback Segments'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113939919967859103</id><published>2006-02-08T12:45:00.000+01:00</published><updated>2006-02-09T16:23:38.196+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADF'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>ADF JClient: Creating monolithic jar files to run JClient applications</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;The following information will save mylife :) I do not know where I got it (therefore sorry for not referencing it), but it would be useful if you think to make your code as an standalone jar file, having lots of different types of external libraries.&lt;br /&gt;&lt;br /&gt;Within JDeveloper 10g it doesn't seem to be obvious on how to deploy a JClient application within a monolithic Java archive file that then can be used to run the JClient application on the client using java -jar   The assumption that is made by the default deployment setting is that all dependency libraries are part of the classpath on the deployment platform, which means that only the application specific classes need to be deployed in the application's archive file. This assumption makes sense if you have more than one ADF JClient application that runs on the local client.  To deploy JClient application so they run stand alone out of a jar file, with no additional setup required on the client machine, you need to add all the dependency classes to the application deployment jar, which quickly can become 17 MB in size due to this.   Do as follows:&lt;br /&gt;&lt;br /&gt;1) In the ADF JClient project, create a new JAR File deployment profile.&lt;br /&gt;&lt;br /&gt;2) In the profile settings, for the JAR options, specify the name of the runnable class (to make a runnable jar file)&lt;br /&gt;&lt;br /&gt;3) Create a new "Dependency Analysis" File group.&lt;br /&gt;&lt;br /&gt;4) Select all the libraries from the Libraries tab on the Contributors page.&lt;br /&gt;&lt;br /&gt;5) Make sure "Include Contents in Output" is checked. Otherwise the jar files of this libraries will be added, which is of no help at runtime.&lt;br /&gt;&lt;br /&gt;6) Deploy the application to the jar file&lt;br /&gt;&lt;br /&gt;7) Run the jar file, e.g: java -jar archive1.jar &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113939919967859103?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113939919967859103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/adf-jclient-creating-monolithic-jar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113939919967859103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113939919967859103'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/adf-jclient-creating-monolithic-jar.html' title='ADF JClient: Creating monolithic jar files to run JClient applications'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956584856799814</id><published>2006-02-06T11:03:00.000+01:00</published><updated>2006-02-10T11:05:01.153+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>Helpful hints for Designer</title><content type='html'>&lt;p  style="text-align: justify;font-family:verdana;" class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;Process Modeler&lt;/span&gt;&lt;span style="font-size:10;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div face="verdana" style="text-align: justify;"&gt;  &lt;/div&gt;&lt;ol  style="text-align: justify;font-family:verdana;" start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;To display the Flow Name automatically, right      click in the swim lane, select Customize Graphics, and click the Display      Flow Name (On Create) checkbox. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;To increase/decrease the width of the swim      lane, select the organizational unit, press shift + down arrow or shift +      up arrow respectively. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;To change a process to a decision point and      denote by using a diamond, right click in the swim lane, select customize      graphics, select Decision Point from the drop down list, select Enhanced      Symbol from the Mode group box. You will need to change each Process      Modeler Diagram that will have a decision point. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;After a process, etc. is created, it is      automatically added to the repository even if you have not saved the      diagram. Therefore, if you make a mistake and the process, etc. should not      be included, you must Delete it from the repository. If you Cut a process,      etc. from a diagram, this merely removes it from the diagram, it does not      delete it from the repository. Be careful how you use Cut and Delete. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div face="verdana" style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="text-align: justify; font-weight: bold; font-family: verdana;"&gt;Entity Relationship Diagram&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;ol  style="text-align: justify;font-family:verdana;" start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;If your diagram is large and you would like to      view only the entities and their relationships, you can opt not to display      the attributes by selecting, Options&gt; Customize from the menu bar.      Click the Attributes checkbox in the View group box to remove the      checkmark. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;When creating a relationship, to straighten      the line between them, click the line and then use the up and down arrows      or left and right arrows depending upon if the line is vertical or horizontal.      Another option is to select Options&gt;Customize from the menu bar and      click the Snap checkbox in the Grid group box. You can also display the      grid by clicking the Display checkbox in the Grid group box. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;To improve the readability and understanding      of your relationships, you may need to create dog-legs or angled lines.      After the initial relationship is created between two entities, you can      click on intermediate points to create angled lines. To get the desired      angle, you hold down the shift key and click the middle of the line to      create a drawing point. You can then drag this drawing point to the      desired spot. To remove the drawing point, press the shift key and click      on the point again. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="text-align: justify; font-weight: bold; font-family: verdana;"&gt;Repository Object Navigator (RON)&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;ol  style="text-align: justify;font-family:verdana;" start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;To insert documents such as Word or email,      from the RON navigator expand Reference Data Definition heading, highlight      Documents and click the + (Create Object) button on the left side.       The Document Properties window will open.  Enter a document name,      author, type, comment, and other information as necessary.  Under the      Documentation heading, single click the yellow icon located to the left of      Document Text, a text pad window opens.  Type information or copy and      paste from another document and then save it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="text-align: justify; font-weight: bold; font-family: verdana;"&gt;Repository Reports&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;span style="font-size:10;"&gt;To generate a report with an html format that can be viewed by a client or non-Designer type person via a browser, select the required report in the navigator and then the Parameters Palette window will open.  Set the Destination Type to be File, enter the LAN path into the Destination Name with .htm as the extension, change the Destination Format to html, and the Mode should be bitmap.  Run the report.  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956584856799814?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956584856799814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/helpful-hints-for-designer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956584856799814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956584856799814'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/helpful-hints-for-designer.html' title='Helpful hints for Designer'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956560575832221</id><published>2006-02-03T10:56:00.000+01:00</published><updated>2006-02-10T11:00:05.923+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Setup UNIX Sendmail to Access SMTP Gateway</title><content type='html'>&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The steps below are relevant to Sun SOLARIS Servers running Solaris 2.6 or 2.8, consult your System Administration manual for details on how to perform this&lt;span style=""&gt; &lt;/span&gt;for other hardware vendors / operating systems. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;   &lt;/span&gt;1. If the sendmail daemon is currently running on your system, terminate it&lt;span style=""&gt; &lt;/span&gt;with the following command: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;/etc/init.d/sendmail stop &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;2. Copy /etc/mail/main.cf to /etc/mail/sendmail.cf &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;3. Edit /etc/hosts and place an entry here for the SMTP gateway machine, e.g: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;1.2.3.4&lt;span style=""&gt;        &lt;/span&gt;mailhost &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;4. To test connectivity to the SMTP machine called mailhost, enter the&lt;span style=""&gt; &lt;/span&gt;following command: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;telnet mailhost 25 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;     &lt;/span&gt;This will initiate a telnet session with the mailhost machine on port 25,&lt;span style=""&gt; &lt;/span&gt;which is the port that the SMTP daemon listens for incoming messages. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;5. Edit the /etc/mail/sendmail.cf file and edit the following entries: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Change Dmsmartuucp to Dmether &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;     &lt;/span&gt;This changes the mailer program for remote mail delivery from uucp to the&lt;span style=""&gt; &lt;/span&gt;smtp mailer. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Change DR ddn-gateway to DR mailhost &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Change CR ddn-gateway to CR mailhost &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;     &lt;/span&gt;This changes the behavior of the sendmail daemon to route all remote mail&lt;span style=""&gt; &lt;/span&gt;generated from this server to be directed at the SMTP host you defined&lt;span style=""&gt; &lt;/span&gt;in /etc/hosts &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;6. Save the sendmail.cf configuration file &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;7. Start the sendmail daemon by issuing the following command: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;/etc/init.d/sendmail start &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;8. Run $POM_TOP/bin/MasterScript.sh stop &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;9. Add /usr/lib to the PATH in the .profile file and activate it &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;10. Run $POM_TOP/bin/MasterScript.sh start apps/apps &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956560575832221?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956560575832221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/setup-unix-sendmail-to-access-smtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956560575832221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956560575832221'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/setup-unix-sendmail-to-access-smtp.html' title='Setup UNIX Sendmail to Access SMTP Gateway'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113940020600102257</id><published>2006-02-01T13:00:00.000+01:00</published><updated>2006-02-09T16:24:38.126+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>tip : dbms_random</title><content type='html'>&lt;pre&gt;&lt;/pre&gt;&lt;span style="color: rgb(0, 0, 153); font-family: verdana;"&gt;SELECT&lt;/span&gt;&lt;span style="font-family: verdana;"&gt; dbms_random.string('U', 2)||TRUNC(dbms_random.VALUE(1000, 9999))&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-family: verdana;"&gt;FROM&lt;/span&gt;&lt;span style="font-family: verdana;"&gt; dual; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Output :   au3910 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     &lt;span style="color: rgb(0, 0, 153); font-family: verdana;"&gt;SELECT&lt;/span&gt;&lt;span style="font-family: verdana;"&gt; dbms_random.string('U', 2)||TRUNC(dbms_random.VALUE(1, 9))|| &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;                dbms_random.string('U', 2)||TRUNC(dbms_random.VALUE(1,9))||&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;                dbms_random.string('U', 2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-family: verdana;"&gt;FROM&lt;/span&gt;&lt;span style="font-family: verdana;"&gt; dual; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Output : AI7KU4EE&lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Courier;font-size:10;color:black;"   &gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113940020600102257?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113940020600102257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/02/tip-dbmsrandom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113940020600102257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113940020600102257'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/02/tip-dbmsrandom.html' title='tip : dbms_random'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113941383316761430</id><published>2006-01-30T16:48:00.000+01:00</published><updated>2006-02-09T16:27:00.640+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Meaning of Oracle Release Numbers</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;Have you know what is the meaning of oracle 9.2.0.1.0 or 9.2.0.4.0?&lt;br /&gt;&lt;br /&gt;Oracle release numbers consist of 5 digits - for example Oracle9i.9.2.0.1.0 means First digit is the major version number (8), second is the release number (1), third is the maintenance release number (7), fourth is the generic patch number (3) and fifth is the platform specific patch set number (2).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113941383316761430?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113941383316761430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/meaning-of-oracle-release-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941383316761430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941383316761430'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/meaning-of-oracle-release-numbers.html' title='Meaning of Oracle Release Numbers'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113941190342654340</id><published>2006-01-29T16:17:00.000+01:00</published><updated>2006-02-08T16:24:17.446+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Report changes from alert.log file (unix server only)</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;In the morning yo want to check the alert.log file, but only for the changes. There is some work required to determine when udid you last time look at the file, where to start reading etc. Also on Monday you want to report since Friday etc. &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; The following commands will extract only the changes since the last time you have run the report: &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; # get the log filename &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; log=$ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_${ORACLE_SID}.log &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; if [[ -f $log.last ]] then &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #get the last reported line &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; today=`cat $log.last` &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; else &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #find the last date in the file &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; lastdt=`tail $log|grep :|grep 200|tail -1|cut -c-11` &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #get the first occurrence of that date &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; today=`grep -n "$lastdt" $log|head -1|tr ':' '\012'|head -1` &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; fi &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #remember the last line: &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; echo `wc -l $log`&gt;$log.last &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #today's file &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; newlog=/tmp/mon_alert_${ORACLE_SID}.log &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #extract only today's data &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; sed -n $today,'$'p $log|tr '\09' ' '&gt;$newlog &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; # the rest is up to you. &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; Alternatively, you could run a cron job to get the number of lines: &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; # get the log filename &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; log=$ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_${ORACLE_SID}.log &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; echo `wc -l $log`&gt;$log.last &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #In the morning you just report data from the file: &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #today's file &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; newlog=/tmp/mon_alert_${ORACLE_SID}.log &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; #extract only today's data &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; sed -n $today,'$'p $log|tr '\09' ' '&gt;$newlog &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; Look for anything of interest in the $newlog file&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113941190342654340?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113941190342654340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/report-changes-from-alertlog-file-unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941190342654340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941190342654340'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/report-changes-from-alertlog-file-unix.html' title='Report changes from alert.log file (unix server only)'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113941203790483469</id><published>2006-01-20T16:20:00.000+01:00</published><updated>2006-02-10T10:50:54.856+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Unix Core Files</title><content type='html'>&lt;div style="text-align: justify;"&gt;    &lt;p class="NormalWeb1"&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt;When you are running a program on a UNIX machine that terminates abnormally, possibly because it crashed, the operating system creates a &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file in the current working directory. The system dumps information into the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file about what the program was doing at the time it crashed, e.g., which subroutine it was calling or what memory address it was accessing. The format of the information in this file is pretty cryptic, but the file can be post-processed by an appropriate debugging tool to give application developers useful information. If you are not trying to diagnose a bug in an application, the file contains no other useful information and can be safely deleted. In fact, it should be deleted because often it is quite large (&gt;100 MB).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NormalWeb1"&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt;How can you prevent the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file from getting so large? One option is to create a directory named &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; in your current working directory. When the application crashes, the operating system cannot write the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file because a directory with the name already exists. A second option is to set a limit on how big the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file is allowed to grow using the command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="HTMLPreformatted1"&gt;&lt;span style="font-size:11;"&gt;limit coredumpize &lt;i&gt;xxxx&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NormalWeb1"&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;i&gt;&lt;span style="font-size:11;"&gt;xxxx&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; is the maximum size in kB that the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file is allowed to be. In theory, the &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;core&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file will never exceed the limit. However, in practice, some operating systems ignore it. This command has been incorporated into the standard NML &lt;/span&gt;&lt;span class="HTMLTypewriter1"&gt;&lt;span style="font-size:11;"&gt;.cshrc&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Verdana;font-size:10;"  &gt; file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113941203790483469?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113941203790483469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/unix-core-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941203790483469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113941203790483469'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/unix-core-files.html' title='Unix Core Files'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113949749639153807</id><published>2006-01-17T16:03:00.000+01:00</published><updated>2006-02-09T16:04:56.546+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>oraenv and coraenv Utilities</title><content type='html'>&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;oraenv&lt;/em&gt; and &lt;em&gt;coraenv&lt;/em&gt; utilities both aid in setting the Oracle environment on UNIX systems (other utilities exist on Windows platform that enable the Oracle Home to be set.) The &lt;em&gt;coraenv&lt;/em&gt; utility is appropriate for the UNIX C Shell; &lt;em&gt;oraenv&lt;/em&gt; should be used with either the Bourne or Korn shells. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;Database operations require the &lt;em&gt;ORACLE_HOME&lt;/em&gt; to be set before the user may access the database. If &lt;em&gt;ORACLE_HOME&lt;/em&gt; is not set, commands such as &lt;em&gt;sqlplus&lt;/em&gt;, &lt;em&gt;exp&lt;/em&gt;, or any other utility for that matter, will not be found. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;Both utilities are shell scripts that do the same thing in the different UNIX shells. They will prompt for a SID of the database unless &lt;em&gt;ORAENV_ASK&lt;/em&gt; is set to N. The utility will also append the ORACLE_HOME value to the path, marking the location of the utility. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;oraenv&lt;/em&gt; command will prompt for the SID of the database that you wish &lt;em&gt;$ORACLE_HOME&lt;/em&gt; to access.&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;$ . oraenv&lt;br /&gt;ORACLE_SID = [] ? ASG920&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;dbhome&lt;/em&gt; utility can now be used to verify that &lt;em&gt;$ORACLE_HOME&lt;/em&gt; is correct. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;$ dbhome&lt;br /&gt;/usr/oracle/9.2.0&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The “dot space” part of the command is required to make the environment change with the parent shell, as opposed to entering a command without it which would only affect the subshell running that process. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;These commands can be used to avoid specifying the network service name when issuing commands. For instance, without using &lt;em&gt;oraenv&lt;/em&gt;, an &lt;em&gt;sqlplus&lt;/em&gt; command would look like: &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;$ sqlplus system/manager@nameofservice as sysdba &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;whereas after &lt;em&gt;oraenv&lt;/em&gt; has been executed, the following command would work: &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;$ sqlplus system/manager as sysdba&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113949749639153807?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113949749639153807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/oraenv-and-coraenv-utilities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949749639153807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949749639153807'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/oraenv-and-coraenv-utilities.html' title='oraenv and coraenv Utilities'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113949759855634576</id><published>2006-01-14T16:05:00.000+01:00</published><updated>2006-02-09T16:06:38.656+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Starting and Stopping on Windows</title><content type='html'>&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;dbstart&lt;/em&gt; and &lt;em&gt;dbstop&lt;/em&gt; shell scripts do not exist on Windows platforms. Consequently Oracle database startup and shutdown is implemented completely differently. The &lt;em&gt;oradim&lt;/em&gt; utility is used on the Windows platform to perform these tasks. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager&lt;br /&gt;-starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;ul style="font-family: verdana; text-align: justify;" type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;em&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;startup&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;span style="font-size: 10pt;"&gt; — Indicates that the      specified instance should be started. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;em&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;sid&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;span style="font-size: 10pt;"&gt; — The SID of the database to      start. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;em&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;usrpwd&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;span style="font-size: 10pt;"&gt; — The password for the      database user. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;em&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;starttype&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;span style="font-size: 10pt;"&gt; — Specifies whether to start      the instance, the service, or both (SRVC, INST). &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The following command can be used to shutdown the instance with &lt;em&gt;oradim&lt;/em&gt;: &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;C:\oracle9i\bin\oradim -shutdown -sid ORCL92 -shutttype SRVC,INST&lt;br /&gt;–shutmode A &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;Notice that no password is needed to perform this task. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;shuttype&lt;/em&gt; parameter specifies what is to be stopped – the service (SRVC), the instance (INST), or both (SRVC, INST). The &lt;em&gt;shutmode&lt;/em&gt; specifies the method that should perform the shutdown – (A)bort, (I)mmediate, or (N)ormal. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;Each operation, regardless of success, is logged in the &lt;em&gt;oradim&lt;/em&gt; log file (&lt;em&gt;ORACLE_HOME\database\OraDim.Log&lt;/em&gt;). This file should be checked for errors after each &lt;em&gt;oradim&lt;/em&gt; command is executed. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;The &lt;em&gt;oradim&lt;/em&gt; utility provides more than just the ability to start and stop Windows databases. &lt;em&gt;oradim&lt;/em&gt; can create and edit databases. It also allows DBAs to configure script-based installation mechanisms, bypassing the Oracle Database Configuration Assistant’s graphical user interface (GUI). &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="font-family: verdana; text-align: justify;"&gt;&lt;span style="font-size: 10pt;"&gt;For a reference of all &lt;em&gt;oradim&lt;/em&gt; commands, use the &lt;em&gt;oradim–help&lt;/em&gt; command. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: verdana;"&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113949759855634576?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113949759855634576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/starting-and-stopping-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949759855634576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113949759855634576'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/starting-and-stopping-on-windows.html' title='Starting and Stopping on Windows'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113916645635960310</id><published>2006-01-12T20:01:00.000+01:00</published><updated>2006-02-05T20:22:33.776+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Automatic Startup &amp; Shutdown</title><content type='html'>&lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;The following list summarizes the functions performed by the different Oracle startup and shutdown scripts (which are invoked during system startup and shutdown, respectively).  &lt;span style="" lang="EN-GB"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 167.4pt;" valign="top" width="223"&gt;   &lt;p style="margin: 0in 0in 0.0001pt; text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;Script&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2"  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 258.7pt;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="345"&gt;   &lt;p style="margin: 0in 0in 0.0001pt; text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.4pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="223"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;$ORACLE_HOME/bin/dbstart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2"  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.7pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="345"&gt;   &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;Ensures   a clean startup of database instance(s), even after system failure&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.4pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="223"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;$ORACLE_HOME/bin/dbshut&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2"  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.7pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="345"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Ensures   a clean shutdown for database instances&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.4pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="223"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/var/opt/oracle/oratab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2"  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.7pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="345"&gt;   &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;Contains   a field that specifies whether a particular database instance should be   brought up/down at system startup /shutdown time by specifying "Y"   in this field, the "dbstart" and "dbshut" scripts bring   this database and instance up or down.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td colspan="2"  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/etc/inittab&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Controls   the initialization process&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;!--[if !supportMisalignedColumns]--&gt;  &lt;tr height="0"&gt;   &lt;td style="border: medium none ;" width="223"&gt;&lt;br /&gt;&lt;/td&gt;   &lt;td style="border: medium none ;" width="1"&gt;&lt;br /&gt;&lt;/td&gt;   &lt;td style="border: medium none ;" width="344"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;!--[endif]--&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div align="center"&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 167.8pt;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt; text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;Relevant   Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/etc/init.d/dbstart&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Script   to call $ORACLE_HOME/bin/dbstart&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/etc/init.d/dbshut&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Script   to call $ORACLE_HOME/bin/dbshut&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/etc/rc2.d/S99dbstart&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Link   to the script /etc/init.d/dbstart&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;/etc/rc0.d/K01dbshut&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Link   to the script /etc/init.d/dbshut&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;$ORACLE_HOME/lsnr_start.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Script   to start listener&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 167.8pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="224"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;$ORACLE_HOME/lsnr_stop.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 258.3pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="344"&gt;   &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;Script   to stop listener&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;/div&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;System V initialization scripts are contained in /etc/rc&lt;n&gt;.d directories where "n" is the run-level value of the script.  A run-level of 0 usually signifies power shutdown mode, while a run-level of 2 signifies multi-user mode. The directories contain initialization scripts such as "S75cron" and "K30tcp". These scripts are named using the following method:    &lt;span style="" lang="EN-GB"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/n&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;span style=""&gt;                              &lt;/span&gt;&lt;span style=""&gt;                                                   &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span  lang="EN-GB" style="color:navy;"&gt;&lt;span style=""&gt;     &lt;/span&gt;[K or S][two-digit number][descriptive filename]&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;span style=""&gt;                                                                                 &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;Names starting with "S" indicate scripts that are called at startup; names starting with "K" indicate scripts that are called at shutdown time.            &lt;br /&gt;&lt;br /&gt;Scripts containing larger numbers in their names are executed after those with lower numbers.  Oracle startup scripts typically contain larger numbers in their names, such as "S99oracle", indicating that the script should be run after the system has been started up.  Oracle shutdown script names, on the other hand, usually contain smaller numbers, such as "K01oracle" indicating that the script should be run before system shutdown.                                                        &lt;br /&gt;&lt;br /&gt;Every Oracle installation has an 'oratab' file which contains an entry for every database in the system. You will need 'root' privileges to accomplish the following:&lt;/div&gt;&lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="" lang="EN-GB"&gt;STEPS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;1.&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt; &lt;/span&gt;Edit the 'oratab' file (/var/opt/oracle/oratab): &lt;span style="" lang="EN-GB"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;&lt;span style=""&gt;   &lt;/span&gt;mlive:/export/home/app/oracle/product/8.1.6:Y&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt; &lt;/span&gt;As oracle user, create the following shell script files “lsnr_start.sh” and “lsnr_stop.sh” in the $ORACLE_HOME directory and ensure that both files are executable by the oracle userid. Since all files “lsnrctl” needs are not in the default directory, those scripts that include the needed information have to be used to start listener:&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;lsnr_start :&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;PATH=/export/home/app/oracle/product/9.2.0.1.0/bin:.;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export PATH&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;ORATAB=/var/opt/oracle/oratab;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export ORATAB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;ORACLE_HOME=/export/home/app/oracle/product/9.2.0.1.0;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export ORACLE_HOME&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;lsnrctl start&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;lsnr_stop :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;PATH=/export/home/app/oracle/product/9.2.0.1.0/bin:.;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export PATH&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;ORATAB=/var/opt/oracle/oratab;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export ORATAB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;ORACLE_HOME=/export/home/app/oracle/product/9.2.0.1.0;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;export ORACLE_HOME&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;lsnrctl stop&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt; &lt;/span&gt;As root, create the following OS script files dbstart and dbshut in the /etc/init.d directory and ensure that both files are executable by the oracle userid:&lt;span style="" lang="EN-GB"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;dbstart :&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;su oracle -c /export/home/app/oracle/product/9.2.0.1.0/bin/dbstart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;su oracle -c /export/home/app/oracle/product/9.2.0.1.0/lsnr_start.sh&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;dbshut :&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;su oracle -c /export/home/app/oracle/product/9.2.0.1.0/bin/dbshut&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;su oracle -c /export/home/app/oracle/product/9.2.0.1.0/lsnr_stop.sh&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b&gt;&lt;span style="" lang="EN-GB"&gt;4.&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt; &lt;/span&gt;As a root, link the dbshut and dbstart to /etc/rc*.d directory:&lt;span style="" lang="EN-GB"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="FR" &gt;# ln -s /etc/init.d/dbshut /etc/rc0.d/K01dbshut &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="FR" &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;color:navy;"   lang="EN-GB" &gt;# ln -s /etc/init.d/dbstart /etc/rc2.d/S99dbstart &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-GB" &gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style="" lang="EN-GB"&gt;Relevant Oracle Metalink Documents&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;1005041.6&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;&lt;a href="http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&amp;p_id=1005041.6" target="corner"&gt;&lt;span style="text-decoration: none;color:#000000;" &gt;How to Automatically Start the Listener On UNIX&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;61333.1&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;Automatic startup and shutdown of oracle instances&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;105957.1&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;How to setup Oracle to startup automatically if system is restarted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;1068670.6&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;Listener will not start autostart at boot time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;1031930.6&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;Solaris RC&amp;RC.D startup&amp;amp;shutdown scripts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in 0in 0.0001pt;"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;91815.1&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-GB"&gt;The Annotated dbstart Script&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113916645635960310?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113916645635960310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/automatic-startup-shutdown.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916645635960310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916645635960310'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/automatic-startup-shutdown.html' title='Automatic Startup &amp; Shutdown'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113916687660757465</id><published>2006-01-05T20:10:00.000+01:00</published><updated>2006-02-08T12:48:22.316+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Availability of the DB and listener</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;/p&gt;Under the “/export/tmscs/db_cron” folder, “db_check.sh” script seen below is created.&lt;br /&gt;&lt;br /&gt;db_check.sh&lt;br /&gt;                     &lt;br /&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;############################&lt;br /&gt;# FUNCTION: IsListenerRunning&lt;br /&gt;############################&lt;br /&gt;#&lt;br /&gt;IsListenerRunning()&lt;br /&gt;{&lt;br /&gt;ps -ef | egrep '/bin/tnslsnr' | egrep -v 'grep' &gt; /dev/null 2&gt;&amp;1&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;&lt;br /&gt;# FUNCTION: IsListenerUp&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;IsListenerUp()&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;lsnrctl status &gt; /dev/null 2&gt;&amp;amp;1&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;&lt;br /&gt;# MAIN PROGRAM&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;CHECK_LISTENER=1&lt;br /&gt;&lt;br /&gt;CHECK_LISTENER_IS_UP=1&lt;br /&gt;&lt;br /&gt;SPOOLFILE=/export/tmscs/db_cron/db.log&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# check if database is running&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;if [ `echo "select dummy||'OK' from dual;" | sqlplus -s system/manager | grep XOK` ]&lt;br /&gt;&lt;br /&gt;then&lt;br /&gt;&lt;br /&gt;IS_OK="XOK"&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;IS_OK="FALSE"&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# check if listener is running&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;IsListenerRunning || CHECK_LISTENER=0&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# check if listener is up#&lt;br /&gt;&lt;br /&gt;IsListenerUp || CHECK_LISTENER_IS_UP=0&lt;br /&gt;&lt;br /&gt;date +"Date is %D %nTime is %T" &gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if [ $IS_OK = "XOK" ]&lt;br /&gt;&lt;br /&gt;then&lt;br /&gt;&lt;br /&gt;echo "SELECT 'Database has been up and running for '|| round(24*(SYSDATE-logon_time),1) || ' hour(s)' FROM sys.V_\$SESSION WHERE sid=1;" | sqlplus&lt;br /&gt;&lt;br /&gt;-s system/manager | grep running &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;echo "Database is down" &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if [ $CHECK_LISTENER = 0 ]&lt;br /&gt;&lt;br /&gt;then&lt;br /&gt;&lt;br /&gt;echo "Listener is not Running" &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if [ $CHECK_LISTENER_IS_UP = 0 ]&lt;br /&gt;&lt;br /&gt;then&lt;br /&gt;&lt;br /&gt;echo "Listener is down" &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;lsnrctl start &amp;&amp;amp; echo "Listener is started succesfully" &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;echo "Listener is up" &gt;&gt; $SPOOLFILE&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;If listener is not running, script will start it. But if database is down, script will do nothing.&lt;br /&gt;&lt;br /&gt;The crontab jobs executing this script is created under the user ROOT, and since ROOT user has already several crontab jobs, the new job line is added to the crontab file and then this file is submitted to the system (/var/spool/cron/crontabs/root);&lt;br /&gt;&lt;br /&gt;15,30,45,01 * * * * su - oracle -c "/export/tmscs/db_cron/db_check.sh" &gt; "/export/tmscs/db_cron/err.log"&lt;br /&gt;&lt;br /&gt;And then to submit the file;&lt;br /&gt;&lt;br /&gt;crontab crontab_filename&lt;br /&gt;&lt;p class="MsoBodyText" style="background: rgb(230, 230, 230) none repeat scroll 0% 50%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" align="left"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;Essentially, root is the super user and can thus impersonate oracle without a password. su oracle will enable root to become oracle. The -c means 'execute the following command as oracle'. The extra '-' between su and oracle is crucial - because of this, the script is being executed as if the user oracle had logged in himself. In other words all environment variables like $ORACLE_HOME, $ORACLE_SID and $PATH are set correctly.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;This job runs every fifteen minutes.&lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;&lt;/span&gt;&lt;/p&gt;    After running the script, the crontab job will produce 2 files (db.log and err.log) under the folder “/export/tmscs/db_cron”&lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoBodyText"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-GB"&gt;db.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;It gives information about database and listener.&lt;br /&gt;&lt;br /&gt;If database and listener are running;&lt;br /&gt;&lt;br /&gt;Date is 01/07/03&lt;br /&gt;&lt;br /&gt;Time is 10:12:57&lt;br /&gt;&lt;br /&gt;Database has been up and running for 119.4 hour(s)&lt;br /&gt;&lt;br /&gt;Listener is up&lt;br /&gt;&lt;br /&gt;If database is down and listener is running;&lt;br /&gt;&lt;br /&gt;Date is 01/07/03&lt;br /&gt;&lt;br /&gt;Time is 13:53:43&lt;br /&gt;&lt;br /&gt;Database is down&lt;br /&gt;&lt;br /&gt;Listener is up&lt;br /&gt;&lt;br /&gt;If database is up and listener is down;&lt;br /&gt;&lt;br /&gt;Date is 01/07/03&lt;br /&gt;&lt;br /&gt;Time is 13:54:37&lt;br /&gt;&lt;br /&gt;Database has been up and running for 0 hour(s)&lt;br /&gt;&lt;br /&gt;Listener is up&lt;br /&gt;&lt;br /&gt;If both database and listener is down;&lt;br /&gt;&lt;br /&gt;Date is 01/07/03&lt;br /&gt;&lt;br /&gt;Time is 13:45:01&lt;br /&gt;&lt;br /&gt;Database is down&lt;br /&gt;&lt;br /&gt;Listener is not Running&lt;br /&gt;&lt;br /&gt;Listener is down&lt;br /&gt;&lt;p class="MsoBodyText" style="background: rgb(230, 230, 230) none repeat scroll 0% 50%; margin-left: 0.5in; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="" lang="EN-GB"&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-GB"&gt;err.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;$ more err.log&lt;br /&gt;&lt;br /&gt;PATH is /usr/bin:&lt;br /&gt;&lt;br /&gt;PATH is&lt;br /&gt;&lt;br /&gt;/export/home/app/oracle/product/&lt;br /&gt;&lt;br /&gt;9.2.0.1.0/bin:.:/usr/bin:.:/usr/local/bin&lt;br /&gt;&lt;br /&gt;Sun Microsystems Inc. SunOS 5.7 Generic October 1998&lt;br /&gt;&lt;br /&gt;You have mail.&lt;br /&gt;&lt;br /&gt;Running Oracle .login ...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;It shows the log of last process and if an error occurs, what the error is can be seen in this file;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;Note that when the folder (/export/tmscs/db_cron) is changed both crontab and db_check.sh script files must be corrected.    &lt;p class="MsoBodyText"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-GB"&gt;Configuration : &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;    &lt;ul&gt;&lt;li&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;!--[if !supportLists]--&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang="EN-GB"&gt;Variable &lt;i&gt;SPOOLFILE&lt;/i&gt; in &lt;i&gt;db_check.sh&lt;/i&gt; file must be configured (now &lt;i&gt;SPOOLFILE=/export/tmscs/db_cron/db.log&lt;/i&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;!--[if !supportLists]--&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang="EN-GB"&gt;Given Password for system user in &lt;i&gt;db_check.sh&lt;/i&gt; file must be corrected (now &lt;i&gt;system/manager&lt;/i&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;!--[if !supportLists]--&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang="EN-GB"&gt;Given path for db_clean.sql and err.log files must be corrected (now &lt;i&gt;/export/tmscs/db_cron/&lt;/i&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;!--[if !supportLists]--&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang="EN-GB"&gt;All created scripts and folders must be owned by &lt;i&gt;oracle:dba&lt;/i&gt; with the rights of “711”&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113916687660757465?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113916687660757465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/availability-of-db-and-listener.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916687660757465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916687660757465'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/availability-of-db-and-listener.html' title='Availability of the DB and listener'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113916556459484569</id><published>2006-01-05T19:48:00.000+01:00</published><updated>2006-02-08T12:59:12.256+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Server and Database Naming</title><content type='html'>&lt;div style="text-align: justify;"&gt;As servers and databases are deployed for global applications, it becomes critical that server and database names are standardized globally. This document provides the guidelines that should be followed to name servers and databases for global applications.  The naming conventions detailed in this document are provided as a formula. Certain components of the formula have been standardized so that they can be utilized very easily. However, there will be exceptions where the naming convention cannot be applied to a global application. It is then up to the GEOs to get together and agree on a naming convention that works for the specific application and that can be implemented on a global basis.&lt;/div&gt;&lt;p style="line-height: 100%; text-decoration: none; text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 100%; text-decoration: none;" align="left"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Server Naming Formula: &lt;/b&gt;&lt;span style=""&gt;application + function &lt;b&gt;.&lt;/b&gt; domain&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="line-height: 100%;" align="left"&gt;&lt;b&gt;Database Naming Formula: a&lt;/b&gt;pplication + function + geo specification&lt;/p&gt; &lt;p style="line-height: 100%; text-align: justify;"&gt;The following tables provide the recommended abbreviation standards to be used in naming servers and databases for global applications.&lt;/p&gt;&lt;p style="line-height: 100%; text-align: justify;"&gt;Examples :&lt;/p&gt;&lt;p style="line-height: 100%; text-align: justify;"&gt;&lt;/p&gt;FUNCTION                         ABBREVIATION                                                  &lt;br /&gt;Disaster Recovery database                         DR                                      &lt;br /&gt;Disaster Recovery server                                   DR or DBDR                                      &lt;br /&gt;Test database                         TST                                      &lt;br /&gt;Test server                         TST or TEST                                      &lt;br /&gt;Development                         DEV                                      &lt;br /&gt;Training                         TRN                                      &lt;br /&gt;Release                         REL                                      &lt;br /&gt;Test Reporting                         TRP                                      &lt;br /&gt;DBnet (off SWAN)                         DBX                                      &lt;br /&gt;Middle tier                         MT                                       Middle tier (partner)                         MTP                                      &lt;br /&gt;                              Web server                         WS&lt;br /&gt;&lt;br /&gt;GEO                                   DOMAIN                                                  &lt;br /&gt;APAC                         singapore; japan                                      &lt;br /&gt;EMEA                         holland; turkey                                      &lt;br /&gt;Americas                         central; east                          &lt;dl&gt;&lt;dl&gt;&lt;dl&gt;&lt;dl&gt;&lt;dd&gt;    &lt;/dd&gt;&lt;/dl&gt;&lt;/dl&gt;&lt;/dl&gt;&lt;/dl&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in; line-height: 100%;"&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; line-height: 100%; text-align: justify;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;ol style="text-align: justify;"&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;Oracle  database names (SIDs) typically should be uppercase.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;There  is no hard limit to the length of a server name. It is recommended  that server names no more than 8-14 characters, if possible.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;Server  names typically should be lower case.   &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;Server  names can include a hyphen to separate the application and function  components of the server name. However, it has been discovered that  a hyphen in the server name causes a problem when the Oracle  database init.ora parameter global_names is set to TRUE and the  db_domain parameter is set to the server name. To avoid this  problem, do not use a hyphen in the server name.   &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;The  domain component of the server name will always be separated with a  period ('.') from the application and function components.&lt;/p&gt;  &lt;/li&gt;In  applications where there will be multiple servers of the same  function, sequence numbers can be used. As an example, Radiance has  3 different servers hosting the middle tier. They are named  rad-mt01.domain, rad-mt02.domain, rad-mt03.domain.&lt;br /&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;     &lt;p style="margin-bottom: 0in; line-height: 100%;"&gt;Oracle  database names (SIDs) are limited to 8 charactersApplication   component of Oracle database name can be up to 3 characters&lt;/p&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Application   component of Oracle database name can be up to 3 characters&lt;/li&gt;&lt;li&gt;Function   component of Oracle database name can be up to 3 characters&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;GEO   specification is limited to 2 characters&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113916556459484569?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113916556459484569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2006/01/server-and-database-naming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916556459484569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113916556459484569'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2006/01/server-and-database-naming.html' title='Server and Database Naming'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113956538111231860</id><published>2005-12-29T10:55:00.000+01:00</published><updated>2006-02-10T10:56:21.233+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><title type='text'>Database Interview Questions</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What are the different types of joins? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Explain normalization with examples. &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What cursor type do you use to retrieve multiple record sets? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Difference between a "where" clause and a "having" clause &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is the difference between "procedure" and "function"? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How will you copy the structure of a table without copying the data? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How to find out the database name from SQL*PLUS command prompt? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Takeoffs with having indexes &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Talk about "Exception Handling" in PL/SQL? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is the difference between "NULL in C" and "NULL in Oracle?" &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is Pro*C? What is OCI? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Give some examples of Analytical functions. &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is the difference between "translate" and "replace"? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is DYNAMIC SQL method 4? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How to remove duplicate records from a table? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is the use of analyzing the tables? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How to run SQL script from a Unix Shell? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is a "transaction"? Why are they necessary? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Explain Normalization and Demoralization with examples. &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;When do you get constraint violation? What are the types of constraints? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How to convert RAW data type into TEXT? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Difference - Primary Key and Aggregate Key &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How functional dependency is related to database table design? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is a "trigger"? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Why can a "group by" or "order by" clause be expensive to process? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What are "HINTS"? What is "index covering" of a query? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is a VIEW? How to get script for a view? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What are the Large object types supported by Oracle? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is SQL*Loader? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;Difference between "VARCHAR" and "VARCHAR2" data types. &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table? &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Difference between "ORACLE" and "MICROSOFT ACCESS" databases. &lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;&lt;span style=""&gt;   &lt;/span&gt;How to create a database link? &lt;/pre&gt;&lt;span style="font-family: verdana;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113956538111231860?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113956538111231860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2005/12/database-interview-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956538111231860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113956538111231860'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2005/12/database-interview-questions.html' title='Database Interview Questions'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113387168284816648</id><published>2005-12-06T13:13:00.000+01:00</published><updated>2005-12-06T14:09:05.403+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>A Brief History of Oracle</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Way back in June 1970, Dr E F Codd published a paper entitled A Relational Model of Data for Large Shared Data Banks. This relational model, sponsored by IBM, then came to be accepted as the definitive model for relational database management systems – RDBMS. The language developed by IBM to manipulate the data stored within Codd's model was originally called Structured English Query Language, or SEQUEL, with the word 'English' later being dropped in favor Structured Query Language – SQL.&lt;br /&gt;&lt;br /&gt;In 1979 a company called Relational Software, Inc. released the first commercially available implementation of SQL. Relational Software later came to be known as Oracle Corporation.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6751/1852/1600/timeline_vert.1.gif"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/6751/1852/320/timeline_vert.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Today, the Oracle DBMS is supported on over 80 different operating environments, ranging from IBM mainframes, DEC VAX minicomputers, UNIX-based minicomputers, Windows NT and several proprietary hardware-operating system platforms, and is clearly the world's largest RDBMS vendor.&lt;br /&gt;&lt;br /&gt;Oracle employs more than 42,000 professionals in 93 countries around the world. Their expenditure for research and development is approximately 13% of their revenues.&lt;br /&gt;&lt;br /&gt;Lawrence Joseph (Larry) Ellison (Born: 1944, Chicago) is president and CEO of Oracle corporation.&lt;br /&gt;&lt;br /&gt;He's the Oracle worlds hero, and he should be. Oracle Corporation, the company he founded with Robert N. (Bob) Miner and Edward A. (Ed) Oates back in 1977, has emerged as the world's largest vendor of software that helps large corporations and governments better manage their information.&lt;br /&gt;&lt;br /&gt;(Below is taken from &lt;a href="http://www.orafaq.com/" target="_blank"&gt;ORAFAQ&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;So, who is Scott?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Bruce Scott was one of the first employees at Oracle (then Software Development Laboratories). He co-founded Gupta Technology (now known as Centura Software) in 1984 with Umang Gupta, and later became CEO and founder of PointBase, Inc.&lt;br /&gt;&lt;br /&gt;Bruce was co-author and co-architect of Oracle V1, V2 and V3. The SCOTT schema (EMP and DEPT tables), with password TIGER, was created by him. Tiger was the name of his cat.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Where did the word Oracle originate from?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The word Oracle means:&lt;br /&gt;&lt;br /&gt;"Prophecy or prediction; answer to a question believed to come from the gods; a statement believed to be infallible and authoritative; a shrine at which these answers are given"&lt;br /&gt;&lt;br /&gt;There is, however, more to the word Oracle: used for the name of the database engine, and then later for the company itself. Larry Ellison and Bob Miner were working on a consulting project for the CIA (Central Intelligence Agency in USA) where the CIA wanted to use this new SQL language that IBM had written a white paper about. The code name for the project was Oracle (the CIA saw this as the system to give all answers to all questions or something such ;-).&lt;br /&gt;&lt;br /&gt;The project eventually died (of sorts) but Larry and Bob saw the opportunity to take what they had started and market it. So they used that project's codename of Oracle to name their new RDBMS engine. Funny thing is, that one of Oracle's first customers was the CIA...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How fast is the Oracle database?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The standard Oracle license agreement normally prevents users from publishing benchmark results. The best source for performance related data is the Transaction Processing Performance Council (TPC). Visit their Home Page for &lt;a href="http://www.tpc.org/" target="_blank"&gt;database benchmark results&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113387168284816648?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113387168284816648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2005/12/brief-history-of-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113387168284816648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113387168284816648'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2005/12/brief-history-of-oracle.html' title='A Brief History of Oracle'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18895844.post-113334299299106753</id><published>2005-11-30T10:19:00.000+01:00</published><updated>2005-11-30T13:18:29.653+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Start</title><content type='html'>&lt;div align="justify"&gt;&lt;a href="http://photos1.blogger.com/blogger/6751/1852/1600/oraclelogo.gif"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/6751/1852/320/oraclelogo.gif" border="0" /&gt;&lt;/a&gt; This blog totaly focuses on Oracle Technologies (Database, APPS, Developer, JDeveloper, . . .). I am gonna try to write all tips, problems, ideas I face with. Also there will be various articles, quotation gathered from other oracle releated sites (by referencing them). Hope, this blog will be used as a reference among all oracle lovers like me:) I am also waiting for your cooperations, experts.&lt;br /&gt;&lt;br /&gt;Love Oracle . . .&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18895844-113334299299106753?l=oraclepro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclepro.blogspot.com/feeds/113334299299106753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oraclepro.blogspot.com/2005/11/start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113334299299106753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18895844/posts/default/113334299299106753'/><link rel='alternate' type='text/html' href='http://oraclepro.blogspot.com/2005/11/start.html' title='Start'/><author><name>tekmen</name><uri>http://www.blogger.com/profile/18295784259698878644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://photos1.blogger.com/blogger/6751/1852/1600/SEKER2.jpg'/></author><thr:total>0</thr:total></entry></feed>
