Getting objeects ddl in Oracle 8i

Hi ,
i believed there's no dbms_metadata package in 8i but how can i get the objects' ddl besides the export/import utility ?
tks & rgds

You need to stick to some custom SQL/PLSQL scripts then as mentioned e.g. in
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1464804639878#1817586421806
But as Tom suggests: Why discard the export/import utilities?

Similar Messages

  • Hw can i get arabic support in oracleAS using jstl: showing '?????' symbols

    Hello All,
    I am using OracleAS for portal deployment and portlets UI constructed by using jstl.
    i have used spring portlet jstl for the jsp pages.
    when i am trying to change the language, it is showing '?????' symbols.
    I have used correct unicode. i tested in pluto portal server. when i deployed in oracleAS,
    for english not a problem. for arabic it is showing as '????'.
    i have used this code to get arabic in pluto. same code i used. i am getting error.
    <c:set target="${pageContext.response}" property="characterEncoding" value="UTF-8" />
    <fmt:setLocale value="ar" />
    <fmt:requestEncoding value="UTF-8" />
    i know it is not setting charector encoding.
    i tried some other too like:
    <head>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    </head>
    and
    <%@ page pageEncoding="UTF-8" %>
    No improvement. please help me out of this.
    how can i get arabic support in oracle AS by using jstl?
    Thanks,
    Arun

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

  • We are getting ¿ stored into our Oracle 10g database  (Microsoft fault)

    We are getting ¿ stored into our Oracle 10g database that is using WE8ISO8859P1 character set.
    Problem is caused by the following:
    Microsoft released software (in particularly MS Word) before considering any ANSI or ISO standard (although they claimed so).
    At that time of pioneering graphical interface - they were the standard. Since then things changed. Microsoft initially targeted US marked, however very soon they wanted to expanded to Europe. For that they needed to get standardized character set instead of one initially being in use. Microsoft re-mapped character set in newer applications using Windows-1252 character set which is compatible with ISO-8851-1 (we are using in our Java Web applications). That cleared obstacles to forward on European market, where extended characters are necessary (like in French, Dutch, German languages...)
    What happened with the initial character codes before Microsoft agreed with ISO to standardize characters? Well - Nothing.
    So what are the consequences of that?
    If we are using Microsoft Word document in conjunction with one of the oldest character set (universe) the ice-age character mapping is still there. So when we "cut and paste" the content to another application, characters sets are not mapped anymore. Especially French language "is sensitive to this" The Microsoft character set in Word decimally coded 146 ( ' ) is very often used in French.
    Therefore if the text is generated in MS Word using old character mapping (universe) which we do, and using method of "cutting and paste" we are mismatching character set interpreted by other, newer applications.
    Initially in the MS words (apostrophe) ' had code 191; then later after implementing Windows 1252 character set being moved to code 146 in accordance to ISO. Well ISO threat character coded 191 as ¿. So if you are using MS Word universe character set, ' looks like ' but in newer applications or ISO compatible applications it looks like ¿.
    Can anyone provide me with periodically cleanup routines that replace garbled characters entered by Microsoft applications into Oracle database ?
    Thanks
    Brendon

    A simply update should work.
    SQL> CREATE TABLE CHARTESTING(COLUMN1 VARCHAR2(30));
    Table created.
    Elapsed: 00:00:00.01
    SQL>
    SQL> INSERT INTO CHARTESTING (COLUMN1) VALUES (CHR(191)||CHR(146)||DBMS_RANDOM.STRING('A',5));
    1 row created.
    Elapsed: 00:00:00.01
    SQL> COMMIT;
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    ┐ÆTeoqw
    Elapsed: 00:00:00.06
    SQL> UPDATE CHARTESTING SET COLUMN1=REPLACE(COLUMN1,CHR(191),'*');
    1 row updated.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    *ÆTeoqw
    Elapsed: 00:00:00.00
    SQL>After numerous attempts you will have to trust me that the characters are correct, my sqlplus isn't working for displaying the characters.

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • Getting error ORA-01033 : Oracle Initialization or shutdown in progress

    Getting error ORA-01033 : Oracle Initialization or shutdown in progress
    Tried to login with different users and could login thru one user. when given the command shuddown immediate, gave the error :
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    When given the command startup, gave the error :
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-00322: log 1 of thread 1 is not current copy
    ORA-00312: online log 1 thread 1: 'C:\ORACLE\ORADATA\LDESK\REDO01.LOG'
    Please guide
    Regards,
    Meenal

    ORA-00322:     log string of thread string is not current copy
    Cause:     Check of log file header at database open found that an online log appears to be an incorrectly restored backup.
    Action:     Restore correct file or reset logs.
    As already mentioned,your redo seems to be corrupted.Are you in archivelog mode with a good copy of backup with you?
    Aman....

  • Where I can get the version of Oracle Forms 11.1.1.1

    Friends.
    Someone can help me get this version of Oracle Forms 11.1.1.1.
    In the Oracle site exists only version 11.1.1.2 and 11.1.1.3
    Thanks

    That's right, look for this version of Oracle Forms 11.1.1.1, someone knows where I can download.
    Thanks

  • Error in getting process status for oracle instance: instance12- component: coreapplication_obisch1

    Hi,
    while uploading new rpd getting error message in enterpriise manger
    Error in getting process status for oracle instance: instance12- component: coreapplication_obisch1,chekced in the dignostic log found above mentioned error
    what can be cause of the probelm
    thanks

    Hi,
    1.Try using the sample rpd of it works, then the problem with the new rpd.
    2. Restart the service once then upload the new rpd.
    Regards,
    VG

  • How to get best material for Oracle 10G PL/SQL

    Please help me out to get best material for Oracle 10G PL/SQL form oracle site.
    Thanks in Advance

    There's no special book or material related Oracle 10g PL/SQL. Can you explain what you want ?
    Please refer to this page for more information:
    http://www.oracle.com/technology/tech/pl_sql/index.html
    Edited by: Kamran Agayev A. on Aug 14, 2009 11:41 AM

  • Can I get job after doing Oracle certification at this age?

    Hi
    I am 37 yrs old man from Calcutta,India. I am presently jobless for 3 years now .I am a BSc(PCM) .   I was earlier working as a salesman in a sales based company. I have no experience in IT though I have done lots of IT courses. Can I get job after doing Oracle certification at this age?
    Please advice.
    Regards

    Can I get job after doing Oracle certification at this age?
    Can you get a job if you become certified in Oracle?  Certainly!
    Will you get a job if you become certified in Oracle?  Who knows?
    Professional certifications are not magic wands.  You cannot wave a certificate and cause employers to come running to hire you. Certifications can help you to learn some of the skills required to administer Oracle, or develop in Oracle, or use various Oracle software products. There are companies that need people with this knowledge. I have written a number of articles about the topic:
    Oracle Certification Prep: What is Certification?
    Oracle Certification Prep: Oracle Certified but not Oracle Employed
    Oracle Certification Prep: I know nothing about Oracle... but I want to be a DBA.
    DBA or Developer? Deciding which one suits you best - Certification Magazine
    If you decide to pursue a certification, you can find materials to help you study here:
    Oracle Certification Prep

  • How to get connectivity between Personal Oracle 8.0.0.3 & Developer 2000 (Any Version

    Can anybody tell me how to get connectivity between Personal Oracle 8.0.3 and Developer 2000 Rel 2.1 in Win 98 Environment.
    I am able to install either Oracle 8 or Developer 2000 but not both, even if I use different Oracle Homes.
    When I posted the same question to www.xperts.com someone wrote to me saying that a patch has to be used to get the connectivity.
    I have been trying to solve the problem for last 6 months, but could not do it.
    Can you please tell me how to get the connectivity or atleast tell me which version will facilitate connectivity in a stand alone PC.
    Thanks and regards,
    Ashok
    null

    For Windows98. Worked for me, but no guarantee it will solve your problem.
    1) Install Dev2K.
    2) Install PO8i in a separate Oracle home.
    3) Use the following for TNSNAMES.ORA in your DEV2K Home:
    # C:\ORAWINKS\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\orawinKS\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MYORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    null

  • Biztalk and ddl from Oracle

    I have a number of vendor databases with this same data in slightly different formats (some mssql 2008 som oracle 11g).
    What i need to do is try to map from all these data sets to an authoritative one . For instance DataSet1 from MSSQL2008 might contain a Dr. billing number but the billing address is their home address not the clinic address which I would get from DataSet2
    ona Oracle 11g data base for instance. Is there a way in biztalk to aggregate this data from these dispariate datasources and build an autoratative datasset in BT?
    Currently I have all the relevant datasets defined in DMD format in Oracle  SQl data modeler format is there a way to import that into BT and "link" the relevant fields?

    What you need to do is to convert your DMD into an XSD. The common representation will become the "common" schema. You will use this to build the process/orchestration/action for handling th Data.
    Then for every database you need to connect to, you will use the BizTalk Add Adapter Services (through VS) to generate DB instance specific schema. You will then create a MAP (for each unique instance) where you will map elements from the specific DB instance
    into the "common" schema. You will then create One Receive Port will multiple receive locations (every time you use Add Adapter Services, BizTalk will generate a Binding file for you which can be used to create the receive ports/locations). The MAP will need
    to be assigned to the Port.
    So when BizTalk will get the data from the specific database, the XML will be matched to the appropriate MAP which will convert it into a standard (common) representation.
    Regards.

  • Where can I get SQL DDL script repository?

    Hello;
    Do you know where I can get the huge SQL DDL script repository?
    Thanks;
    Ornsiri

    Hi,
    Welcome , you can use dbms_metadata.get_ddl to get the Script.
    Example
    select dbms_metadata.get_ddl('TABLE','DEPT','SCOTT') from dual;
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1794096300346327738
    thanks

  • How get selected data from oracle data as per give input

    sir i use Sun Java Studio Creator with oracle 10g
    my direct want user give input through both listbox , textbox or string variable
    how i pass this input in sessionbeen query and page give data in table as per user need
    please give me step and code
    this is urgent
    thank's

    You would get hierarchical data from a functrion in the same way as you would any data.  Create a function returning a cursor and then use your SQL statement to open the cursor.  Very simplistically:
    Create Function My_Func Return Sys_Refcursor As
       l_cur Sys_Refcursos
    Begin
       Open l_cur For
          'select EMPNO,ENAME,SYS_CONNECT_BY_PATH(ename, '/') "Path"
           from EMP
           start with MGR is null
           connect by prior empno=mgr';
       Return l_cur;
    End;
    Then, whatever calls the function would walk through the cursor an do whatever.
    Jhn

  • How to get all tables in oracle sql developer with MS SQLServer

    Hi All,
    I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
    i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
    do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.

    Same issue here. Haven't found the answer yet..

  • How to get Historic Data in Oracle

    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
           FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.
    please advise.
    Regards,

    sri wrote:
    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
    FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);
    Unless you're using Oracle 8 (or older) then it's more efficient to say:
    SELECT     start_dt + LEVEL - 1     AS dt
    FROM     (
              SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
              ,     TRUNC (SYSDATE)                           AS end_dt
              FROM     dual
    CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    ;and it doesn't depend on how many rows happen to be in user_objects.
    NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.Sorry, I'm not sure what you're asking.
    Do you want to know if there's a simpler and/or more efficient way to get the same results as the 2nd query you posted above?
    Here's one way:
    WITH      all_dates   AS
         SELECT     start_dt + LEVEL - 1     AS dt
         FROM     (
                  SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
                  ,             TO_DATE ('10/31/2012', 'MM/DD/YYYY')     AS end_dt
                  FROM    dual
         CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    SELECT       TO_CHAR (a.dt, 'Day, Mon DD, YYYY')     AS business_date
    ,       SUM (e.sal)                                AS hist_sal
    FROM              all_dates  a
    LEFT OUTER JOIN      scott.emp  e  ON  e.hiredate = a.dt
    GROUP BY  a.dt
    ORDER BY  a.dt
    ;For testing purposes, it would be a lot clearer if you made the end_dt something like April 5, 1981 rather than October 31, 2012.
    I hope this answers your question.
    If not, post the results you want from the data in scott.emp, given some reasonable date range. (I suggest Nov. 16, 1981 through Jan. 24, 1982; that includes December 3, 1981 which has 2 rows with the same hiredate.)
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

Maybe you are looking for

  • Analysis for Office - Security

    Hello, Our Basis team has deployed 'Analysis for Office' in our BO 4.1 system. However, I am unable to see this Application in CMC in teh List of all Applications.. I need to configure Secuity for thsi Applciation. How do we do that if the applicaito

  • Beg- Flash Remoting vs ???

    I own Studio 8 (MX 2004 I believe), and have not used Flash before, though I am a good C programmer, ok in Javascript. I have written a few mashup style apps in the browser with XMLHTTPRec. I want to make a very simple Flash 'widget' for people to pu

  • Emails on Z10 and NOT on Mac

    For some reason when I open an email on my Z10 it doesn't seem to appear on my Mac PC? Is there anyway I can alter this?

  • AC adapter bad? Powerbook won't run without battery

    I think my powerbook (G4 aluminum, purchased Dec 2005) AC adapter is bad--the powerbook won't boot up without the battery (which, thankfully has not been recalled!). I did check the AC issues listed in this Apple doc: http://docs.info.apple.com/artic

  • Open new Known Error from CI

    I have a requirement to open a new KNOWNERROR form from device. I am trying through Display Option - am.display.joinfile Related -->Known Errors -->Open I have  included openke action in am.view state, proces is validate.fields. But I am getting a po