SAMPLE PERCENT option in oracle 8i

Hi OTN members
Has anyone used the SAMPLE option in the select statementin oracle 8i
I was looking for PERCENT option in the SAMPLE option.i wanted to know how it works ?
Thanks in advance
Vinny
null

Great to meet the legend of the Oracle! Don't exaggerate, please :-) Thank you anyway, but I can't do what you're asking. I did it once, and was not a good move (spam and everything else). I'll be glad to answer your questions here (if I can).

Similar Messages

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • Sample XML SQL to Oracle

    hi
    we need some help for a sample sql to a oracle database
    sql Plus is working
    select
           MANDT,
           VBELN,
           ERDAT
           from sapm05.vbak
           where MANDT = '100'
           and VBELN = '0000000002'
           and ERDAT = '20050430'
    when we put a sql like this (
    - <nr1:Senden xmlns:nr1="http://www.mummert.de/xi/oracle/sql">
      <dbTableName action="SELECT" />
      <table>SAPM05.VBAK</table>
      <access col1="MANDT" col2="VBELN" col3="ERDAT" />
      <key1 col1="100" col2="0000000002" col3="20050430" />
      </nr1:Senden>
    we get following error.
    #1.5#000BCD5C946C004D00000030000019E80003FB8A3D5455A1#1120996082695#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#sap.com/com.sap.aii.af.app#com.sap.aii.adapter.jdbc.xml2sql.addAuditLog(PublicMessageKey, String, AuditLogStatus, String, String)#J2EE_GUEST#0####cfaf282bf12f11d98474000bcd5c946c#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.aii.adapter.jdbc.xml2sql#Plain###JDBC_ERR_403#
    #1.5#000BCD5C946C004D00000032000019E80003FB8A3D5456D6#1120996082695#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#sap.com/com.sap.aii.af.app#com.sap.aii.adapter.jdbc.xml2sql.processList()#J2EE_GUEST#0####cfaf282bf12f11d98474000bcd5c946c#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.aii.adapter.jdbc.xml2sql#Plain###Structure:#
    #1.5#000BCD5C946C004D00000034000019E80003FB8A3D5457DB#1120996082695#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#sap.com/com.sap.aii.af.app#com.sap.aii.adapter.jdbc.xml2sql.processList()#J2EE_GUEST#0####cfaf282bf12f11d98474000bcd5c946c#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.aii.adapter.jdbc.xml2sql#Plain###Analyzed structure:
    0.  Level 2 Name: 'dbTableName'
    #1.5#000BCD5C946C004D00000036000019E80003FB8A3D5459BB#1120996082695#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#sap.com/com.sap.aii.af.app#com.sap.aii.adapter.jdbc.xml2sql.service(Object, Object)#J2EE_GUEST#0####cfaf282bf12f11d98474000bcd5c946c#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.aii.adapter.jdbc.xml2sql#Plain### error in sax handler parsing request: Error when executing statement for table/stored proc. 'null': java.lang.IndexOutOfBoundsException: Index: 1, Size: 1#
    #1.5#000BCD5C946C004D00000038000019E80003FB8A3D54DF2A#1120996082725#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC#sap.com/com.sap.aii.af.app#com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessageBinary(Binary,String,IGUID,String)#J2EE_GUEST#0####cfaf282bf12f11d98474000bcd5c946c#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.aii.adapter.jdbc.XI2JDBC#Plain###Error processing request, rollback:
    Error processing request in sax parser: Error when executing statement for table/stored proc. 'null': java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
         at com.sap.aii.adapter.jdbc.xml2sql.service(xml2sql.java:230)
         at com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessage(XI2JDBC.java:390)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter_i(SapAdapterServiceFrameImpl.java:173)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:149)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:204)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:159)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl1.process(ModuleLocalLocalObjectImpl1.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:227)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:241)
         at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0.onMessage(AFWListenerLocalObjectImpl0.java:103)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:282)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:825)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:112)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:447)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    can some one help us.
    regards olaf

    Hi Olaf,
    why did you specify access, and key values as attributes?
    try looking at:
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    the example of a select statement:
    <StatementName4>
    <dbTableName action=”SELECT”>
        <table>realDbTableName</table>
    <access>
    <col1/>
    <col2/>
    <col3/> 
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName> 
      </StatementName4>
    you can also take a look at:
    RDBMS system integration using XI 3.0 JDBC Sender/Receiver adapter
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    FILE to JDBC Adapter using SAP XI 3.0
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    to see how jdbc adapters are used
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • How to enable olap option in oracle enterprise edition 10g?

    what are the settings/steps one should take in enabling OLAP option in oracle enterprise edition 10g?
    If we have an installation of Oracle EE 10g,how can we know that OLAP is enabled or not?
    Can anyone throw light on OLAP_TABLE function?
    In Analytic Workspace manager 10g,i have created a workspace ,under that i am having some dimensions,cubes,as well.
    After mapped to source table,and maintained,when i do a right click on measures, to view data, i get a error ORA-06553:PLS-222:no function with the name 'OLAP_TABLE' exists in this scope

    The Export function is disabled when the responsibility is opened initially .
    When we enter into a specific form its automatically enabled .
    Login to a user who has Application Developer responsibility & to Application >Register & press f11 and Ctrl f11 .

  • How to install Procedural Option in Oracle 10g Database express edition

    When i try execute exec send_mail shows error ORA-00900: invalid SQL statement.
    Error code shows "This error can occur if the Procedural Option is not installed "
    How to install Procedural Option in Oracle 10g express edition
    I'm using Oracle 10g Database express edition. Let me know how to run a procedure.

    I'm not sure of the meaning of ORA-00900 for Oracle XE but I think that PL/SQL is already installed by default according to the XE features list.
    See the Oracle® Database Express Edition 2 Day Developer Guide about procedure call.

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • Porblem to install oracle datamining option in oracle 10g R2

    Hello,
    I am having some problem of installing DATA MINING option on oracle 10g R2.
    After installing the database I am trying to configure it through DBCA but "DATA MINING" check box is always showing disabled.
    I also tried it in different ways.
    ..............1) With Oracle Base Installation.
    2) With Oracle Advanced Installation.(choosing the datamining options)
    Please help me.
    Thanks.

    Oracle Data Mining option is installed by default when you create a pre-configured 10gR2 database. You may issue the following SQL statements as SYS to verify the ODM installation:
    SQL>connect / as sysdba;
    SQL>select comp_id, version, status from dba_registry where comp_id = 'ODM';
    SQL>select * from v$option where parameter = 'Data Mining';
    For detailed instruction of ODM installation, refer to the following documentation:
    http://st-doc.us.oracle.com/10/102/datamine.102/b14338.pdf
    Xiafang

  • Sample applications built using Oracle developer 6.0

    Please tell me how can if find sample applications built using oracle developer.
    Is there any web site on the offering such a service ?

    Ali,
    Try www.oraclefans.com/oraclefans/
    Louis D.

  • Export Option of Oracle SQL Developer isn't working .

    Hi ,
    I use SQL Developer for querying Database .
    The problem is that after getting data as a result of a Search operation inside Oracle SQL Developer tool , i can't able
    to export those Data using export Option of Oracle SQL Developer .
    Could anybody please help me on this.

    Did Richard answer your question? I'm not clear if Unload isn't working for you
    I cant say whether he has answered my question or not , the problem is that , i am using different version of Oracle SQL Developer , that is Oracle SQL Developer 1.5.3 , and there is no such option in that .

  • Integration services options in oracle

    Hi All,
    Do we have integration services option in Oracle, Like we have SQL Server integration Services?
    I am working on Oracle 11g
    Thanks....
    Sriram Satish

    Oracle have two data integration tools :
    - Oracle Warehouse Builder (OWB)
    - Oracle Data Integration (ODI)
    OWB is delivered with the 11g Database Installation
    http://gerardnico.com/wiki/dw/etl/owb/installation11.2
    And you can find a lot of tutorial on this link :
    http://www.oracle.com/technology/obe/admin/owb_main.html
    Cheers
    Nico

  • 8kHz sample rate option broken for stream sounds in CS5

    I've made several test files where all I do is add a sound to a keyframe, set it to Stream sound, add a sufficient number of frames to hear the sound (about 300), then change publish settings to override as MP3 with "use 8kHz sample rate" option.
    Testing movie yields a SWF that has NO SOUND at all.
    Changing the sound to Event sound and republishing PLAYS THE SOUND AS EXPECTED.
    Changing it back to Stream sound and turning off the "use 8kHz sample rate" option again yields a SWF that has NO SOUND at all.
    It seems to make no difference what sound I import and use.
    I'm on a Mac Octocore.
    This Publish Setting appears to be broken in Flash CS5.

    The only setting that I could find in compressor that lets your change the bitrate to 44.1 is when you create a new dolby digital setting and then under the inspectors audio tab/Target System button, change the button to Generic AC-3. When done, you can change the Sample Rate to 44.1.
    Hope this helps?

  • IIIegal sample percent 100 on statistics

    Hi,
    Gathering statistics with a sample percent of 100 (default in dialog) gives me:
    An error was encountered performing the requested operation:
    ORA-20001: IIIegal sample percent 100: must be in the range
    [0.000001,100)
    ORA-06512: a "SYS.DBMS_STATS", Iine 7190
    ORA-06512: a "SYS.DBMS_STATS", Iine 7203
    ORA-06512: a line 2
    Vendor code 20001
    Reading the explanation leads to raise an eyebrow: 100 isn't in the range up to 100?
    Is that only happening for me?
    Running latest build 14.67 on Win2000...
    PS: Other percentages do work

    Ran in to the same problem myself and from what I'm reading it's a bit of both. Contrary to documentation, 100 is an invalid estimate_percent (atleast in 9i) and a null should instead be passed in when 100 is select which instructs the database to compute statistics.

  • Is there any option in oracle 10g to rename a column?

    Hi friends,
    Is there any option in oracle 10g to rename a column? Please send me reply....Waiting for that...

    You can even rename a column in oracle 8i or 9i
    E.g:
    ALTER TABLE TABLE_NAME RENAME COLUMN OLD_COLUMN_NAME TO NEW_COLUMN_NAME;Message was edited by:
    Mohana Kumari

  • Sample/Demo Data for Oracle 10g

    Is there such data available? if so, can you point me to it please? thanks!

    Depending on the install method you use, you may not have included 'the samples'.
    For 10g, the samples are
    1) included with the database install as a transposrtable tablespace and available IF you ask using DBCA at database create time;
    2) included on the Companion CD which is a separate download and install;
    3) Documented in the Oracle Samples manual that is in the 10g doc set (http://tahiti.oracle.com)
    In addition, many features and tutorials (http://otn.oracle.com/obe) have their own sample data set. Those would be downloaded from the feature portal, which you access by starting at http://otn.oracle.com and going to the Product or Technology portal (left edge menu) and then drilling to the specific features.
    For example, Discoverer 'end user' is a middleware product now well hidden in the BI Standard Edition. To get to the Discoverer Relational and Olap samples, use
    http://otn.oracle.com
    -> see Products in left side menu and click on Middleware
    -> scroll down to the Business Intelligence area (middle section) and click on 'Business Intelligence'
    -> scroll to the "Business Intelligence Foundation" area (middle section) and click on "Oracle BI Standard Edition"
    -> scroll down (middle area) and click on "Oracle BI Discoverer" to get to the "Oracle BI Discoverer" portal
    -> Samples and tutorials would be available through the links on the right side menu..
    (Now I have that figured out, Oracle will probably change the layout <g>)

  • Invoking Sample Java Graphs thro Oracle Express 6.3.2

    We have installed Oracle Express 6.3.2 to develop OLAP web application.
    At the outset we tried to invoke sample Java Graph Pages created
    using the samples.db after setting the page as JAVATABLE type through the link http:\machineid\oew-install\sample\index.html.
    oew-install is the virtual directory that points the path -
    oxhome\olap\oes632\owa632
    We could only view the OLAP cube as HTMLTABLE type.
    Where are we wrong in not viewing the Graphs???
    Have we missed anything during installation??

    Hi Aneel
    Thanks for your support.
    As per your sugessions We have checked the browser options, we could not find the Java 2 option but we had three options under microsoft VM which are as given below
    1. Java Console Enable
    2. Java Login Enable
    3. JIT compiler for virtual macine enabled.
    We have checked 1 and 3 options and restarted the IE browser still we could not succed in getting the Java Graphs in Sample appication.
    More over as asked by you the version of Java console is "Microsoft (R) VM for Java, 5.0 Release 5.0.0.3234"
    With netscape it was showing "Applet owagraph can't start : Error"
    Hi Can I have your mailId?
    Thanks
    Nanda Kishore

Maybe you are looking for