Is there set of basic oracle type wich are exists in all oracle versions

hello
i want to ask is there some set of type wich are avilable for all oracle versions ?

784633 wrote:
so the base type set is:
blob, clob, date, number, varcher2
i want to create replication betwen oracle and db2 and i need the section betwen basic types of the oracle and db2Ok, so NOW we know the business problem -- or are at least closer to it.. You need to replicate data between various versions of oracle (Most de-supported versions) and DB2. And of course we don't know if you mean DB2-UDB or DB2-z/os . Having worked with both I know for a fact that, in spite of IBM's marketing, they are NOT interchangeable.
Maybe if you backed up and explained in a bit more detail the real business problem you'd get better answers.

Similar Messages

  • Problem with setting oracle type parameter in viewobject query

    Hi There,
    I am facing a problem with JDev1013. I have a view that has JDBC positional parameters that are supposed to be in parameters for function like:
    SELECT x.day, x.special_exact_period_only
    FROM (
      SELECT x.day, x.special_exact_period_only
      FROM (
        SELECT
          x.day,
          rb.special_exact_period_only
      FROM TABLE (
        RentabilityPkg.findMarkerSlots(
          'start',
          ? /* dchannel */,
          NULL,
          ? /* resorts */,
          'special',
          NULL,
          ? /* code */,
          NULL,
          TRUNC(SYSDATE),
          TRUNC(SYSDATE + 365 * 2),
          NULL
      ) x
        JOIN resourcebase rb USING (rentabilitymanager_id)
        UNION
        SELECT
          x.day,
          rb.special_exact_period_only
        FROM TABLE (
          RentabilityPkg.findMarkerSlots(
            'start',
            ? /* dchannel */,
            NULL,
            ? /* resorts */,
            'composition',
            NULL,
            ? /* code */,
            NULL,
            TRUNC(SYSDATE),
            TRUNC(SYSDATE + 365 * 2),
            NULL
        ) x
        JOIN resourcebase rb USING (rentabilitymanager_id)
      )x
      ORDER BY x.day
    ) x
    WHERE ROWNUM <= 30now the JDBC positional parameters take our custom defined list type defined as:
    CREATE TYPE NumberList AS TABLE OF NUMBER;
    we are setting the parameter in the views with the help of oracle.sql.ARRAY class like:
       * Set parameters.
      public void setParams(Integer dchannelId, Integer[] resorts, String specialCode)
        try {
              System.out.println(this.getClass() + ".setParams()");
              ARRAY arrParam1 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
              ARRAY arrParam2 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
              System.out.println("arrParam1 - " + arrParam1);
              System.out.println("arrParam1 - " + arrParam1);
              System.out.println(this.getClass() + " ARRAY - " + arrParam1.getArray());
              System.out.println(this.getClass() + " -- " + arrParam1.length());
              System.out.println("arrParam2 - " + arrParam2);
              System.out.println("arrParam2 - " + arrParam2);
              System.out.println(this.getClass() + " ARRAY - " + arrParam2.getArray());
              System.out.println(this.getClass() + " -- " + arrParam2.length());
              Object[] params =
                   { dchannelId,
                        arrParam1,
                        specialCode,
                        dchannelId,
                        arrParam2,
                        specialCode
              setWhereClauseParams(params);
              System.out.println("DONE WITH " + this.getClass() + ".setParams()");
        catch(Exception ex)
              ex.printStackTrace(System.out);
      }the toSQLNumberList() method is defined in our App module baseclass as follows:
      public ARRAY toSQLNumberList(Collection coll)
           debug("toSQLNumberList()");
           DBTransaction txn = (DBTransaction)getTransaction();
           debug("txn - " + txn + " : " + txn.getClass());
           return NWSUtil.toSQLNumberList(coll, getConnection(txn));
      public static ARRAY toSQLNumberList(Collection c, Connection connection)
        //printTrace();
        debug("toSQLNumberList()");
        try
          ArrayDescriptor numberList = ArrayDescriptor.createDescriptor("NUMBERLIST", connection);
          NUMBER[] elements = new NUMBER[c == null ? 0 : c.size()];
          if (elements.length > 0 )
            Iterator iter = c.iterator();
            for (int i = 0; iter.hasNext(); i++)
              elements[i] = new NUMBER(iter.next().toString());
          return new ARRAY(numberList, connection, elements);
        catch (Exception ex)
          ex.printStackTrace();
          return null;
      protected Connection getConnection(DBTransaction dbTransaction)
        //return null;
        debug("Inside getConnection()");
        CallableStatement s = null;
        try
           * Getting Conenction in BC4J is dirty but its better
           * as otherwise we might end up coding with connections
           * and the Transaction Integrety will be
          s = dbTransaction.createCallableStatement("BEGIN NULL; END;", 0);
          debug("DOING s.getConnection()...");
          Connection conn = s.getConnection();
          debug("DONE WITH  s.getConnection()...");
          /*try
                throw new Exception("TEST");
           catch (Exception ex)
                ex.printStackTrace(System.out);
          debug("conn CLASS - " + conn.getClass());
          return conn;
        catch (Exception ex)
          ex.printStackTrace();
          return null;
        finally
          try { s.close(); }
          catch (Exception ex) {}
      }Whenever we try setting the parameters in view using setParams() and use this view to set the model of a java control it thorws the following exception :
    [2006-10-10 12:34:48,797 AWT-EventQueue-0 ERROR] JBO-28302: Piggyback write error
    oracle.jbo.PiggybackException: JBO-28302: Piggyback write error
         at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:185)
         at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
         at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at oracle.jbo.common.SvcMsgResponseValues.writeObject(SvcMsgResponseValues.java:116)
         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:173)
         at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)This is a typical interaction between 2 server-side components (view-object and app module). Now the question is why is this exception thrown? Any answers?
    This application is one that we have migrated from 904 to 1013 and are trying to get it running in 3-tier.
    Regards,
    Anupam

    Sorry I missed out some semicolons, the script follws:
    -- The following TABLE was created to simulate the issue
    CREATE TABLE TEST_OBJECT
         ASSET_ID NUMBER,
         OBJECT_ID NUMBER,
         NAME VARCHAR2(50)
    INSERT INTO TEST_OBJECT VALUES(1,1,'AAA');
    INSERT INTO TEST_OBJECT VALUES(2,2,'BBB');
    INSERT INTO TEST_OBJECT VALUES(3,3,'CCC');
    COMMIT;
    SELECT * FROM TEST_OBJECT;
    -- The following TYPES was created to simulate the issue
    CREATE OR REPLACE
    TYPE DUTYRESULTOBJECTTAB AS TABLE OF DUTYRESULTOBJECT;
    CREATE OR REPLACE
    type DutyResultObject as object
    ( ASSET_ID number,
      OBJECT_ID number,
      NAME varchar2(150)
    -- The following PACKAGE N FUNCTION was created to simulate the issue
    CREATE OR REPLACE PACKAGE TESTOBJECTPKG
    IS
         FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB;
    END;
    CREATE OR REPLACE PACKAGE BODY TESTOBJECTPKG
    IS
         FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB
         IS
           BULKDUTYRESULTOBJECTTAB DUTYRESULTOBJECTTAB;
         BEGIN
           SELECT DUTYRESULTOBJECT(ASSET_ID, OBJECT_ID, NAME)
           BULK COLLECT INTO BULKDUTYRESULTOBJECTTAB
           FROM TEST_OBJECT;
           RETURN BULKDUTYRESULTOBJECTTAB;
         END;
    END;
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is there a auto-increment data type in Oracle

    Is there a auto-increment data type in Oracle ?
    How to do it if there is no auto-increment data type in Oracle ?
    null

    jackie (guest) wrote:
    : Is there a auto-increment data type in Oracle ?
    : How to do it if there is no auto-increment data type in Oracle
    Hi,
    I think you need unique ID's, for this purpose you use sequences
    in Oracle. Example:
    create table xy (
    id number,
    name varchar2(100)
    alter table xy
    add constraint xy_pk primary key(id);
    create sequence xy_seq start with 1 maxvalue 99999999999;
    (there are many other options for create sequence)
    create or replace trigger xy_ins_trg
    before insert on xy
    for each row
    begin
    select xy_seq.nextval
    into :new.id
    from dual;
    end;
    This produces a unique value for the column id at each insert.
    Hope this will help.
    peter
    null

  • Using Mac 0S X Yosemite, in Print Setting when I select layout / arrows select print settings / there is no Basic drop down box to set color management on or off. I'm using Artisan 835 printer.

    Using Mac 0S X Yosemite, in Print Setting when I select layout / arrows select print settings / there is no Basic drop down box to set color management on or off. I'm using Artisan 835 printer.

    No - I got the iMac 27 because it was calibrated at the factory(?) and was highly recommended by friends and photographers. No complaints  at all, but this printer issue is driving me crazy. I was thinking that if I upgraded to an epson pro printer ICC profile will be on there website. I can't find any for the 835. By the way I didn't calibrate the old dell monitor either and I have had several photos published with no problem at all. Just a note, on epson website there are no printer stating they will run with 10.10 Yosemite. I was looking at the R2000 series. Right now I editing photos that I have to have ready by Jan, maybe by then epson will have something ready.

  • Java Vector to Oracle type; help?

    I've seen only a few postings on this topic, none of which were answered. So I am thinking perhaps a detailed explanation is required? Or is it just too simple to be beyond boring? I need professional help in any event.
    I have an applet users employ to create a table of values. The data model for the table is, ultimately, a Vector, each element of which is itself a Vector with the following fields (all of which are Strings): symbol, label, description, colour, numpar, parent, parsing, objectid. So, I have a Vector of any length comprised of Vectors of length 8.
    On pressing the "SAVE" button I wish the Vector of Vectors to be sent to my Oracle database. To receive the data I created these types in Oracle:
    TYPE LegendItem IS OBJECT(symbol VARCHAR2(50),
    label VARCHAR2(50),
    descrip VARCHAR2(255),
    colour VARCHAR2(20),
    numpar VARCHAR2(10),
    parent VARCHAR2(10),
    parsing VARCHAR2(625),
    objectid VARCHAR2(10));
    TYPE AppletVector IS TABLE OF LegendItem INDEX BY BINARY_INTEGER;
    The stored procedure that takes the data and uses it to update (about 25) tables in the schema is defined as
    PROCEDURE loadLegend (legendata IN AppletVector,
                   schemeid IN INTEGER,
                   sourceid IN INTEGER,
                   message OUT VARCHAR2)
    (Message is returned as "success" if there are no exceptions, or the exception parameters if they exist.)
    I am trying
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    Connection conx_out = DriverManager.getConnection ("jdbc:oracle:thin:@myserveraddress","username", "password");
    CallableStatement feedOra = conx_out.prepareCall("{ call newLegendData.loadLegend(?,?,?,?) }");
    ArrayDescriptor arrDesc = ArrayDescriptor.createDescriptor("AppletVector", conx_out);
    feedOra.setArray(1, new ARRAY(arrDesc, conx_out, legendModel.getDataVector().toArray()));
    feedOra.setString(2, MakeLegend.mapScheme);
    feedOra.setString(3, MakeLegend.mapSource);
    feedOra.registerOutParameter(4, Types.VARCHAR);
    feedOra.execute();which returns
    setArray(int,java.sql.Array) in java.sql.PreparedStatement cannot be applied to (int,oracle.sql.ARRAY)
    feedOra.setArray(1, new ARRAY(arrDesc, conx_out, legendModel.getDataVector().toArray()));
    ^
    cannot resolve symbol
    symbol : method setString (int,int)
    location: interface java.sql.CallableStatement
                   feedOra.setString(2, MakeLegend.mapScheme);
    ^
    cannot resolve symbol
    symbol : method setString (int,int)
    location: interface java.sql.CallableStatement
                   feedOra.setString(3, MakeLegend.mapSource);
    Is this the way to approach the problem? Should I use a different method? How do I make java.sql.Array == oracle.sql.ARRAY?
    Your suggestions are gratefully received.

    Not a problem, the code will below is the basics
    // the vector of vectors you are going to write.
    Vector aVectorOfVectors;
    // create a ByteArrayOutputStream so you can get the data to create an inout stream
    ByteArrayOutputStream aBaos=new ByteArrayOutputStream();
    // make an objectOutputStream to write your searlizable to.
    ObjectOutputStream anOut = new ObjectOutputStream(aBaos);
    // write your vector of vectors
    anOut.writeObject(anObject);
    // get the byte array from the ByteArrayOutputStream
    byte[]aByteArray = aBaos.toByteArray();
    // create the input stream from the byte array
    ByteArrayInputStream aBais = new ByteArrayInputStream(aByteArray);
    // set this as the binary stream for your column.
    insertPreparedStatement.setBinaryStream(aColumn,  aBais, aByteArray.length);when reading the data you basically do the reverse and cast the result
    ObjectInputStream anInputStream = new ObjectInputStream( theResultSet.getBinaryStream(aColumn));
    Vector aVectorOfVectors = (Vector) anInputStream.readObject();

  • Restructuring the basic IDoc type DELVRY03

    Hi experts,
    My rek  is to restructure the Basic Idoc type DELVRY03 for outbound delivery.
    I am using IDOC_OUTPUT_DELVRY.
    Is there any exit or badi for this.
    Thanks

    we31:
    Create your new segment.
    Save and remember release (edit-set release)
    we30:
    Create your new idoc type. Create like extension.
    In your linked idoc type fill your standard idoc type.
    Press create new sement button for add segments and put your Z segment created in we31 with min and max quantity.
    Save and release the idoc type
    Regards

  • Unable to set Non-FS partition type (GPT + RAID)

    I'm performing a new install, and am following the RAID wiki for a RAID1 on 2 disks.
    The wiki suggests to use the "Non-FS" partition type (DA00), rather than the "Linux RAID" partition type (FD00), to avoid potential issues down the road.
    However, the example given in the wiki is for cfdisk (MBR). I'm using GPT partitioning rather than MBR, and cgdisk only accepts the FD00 partition type, not DA00.
    Do the wiki's precautions against using FD00 only apply to MBR-partitioned drives? Or should I be setting the partition type some other way?

    A few comments:
    Four-digit (two-byte hexadecimal) partition type codes are, AFAIK, unique to my GPT fdisk (gdisk, sgdisk, and cgdisk) program and any programs that might mimic it. (The fdisk clone in busybox is one of these, IIRC.) These codes are not industry-standard; I created them just because I needed a compact way to describe partition types and to accept partition typing data from users. GPT actually uses 16-byte GUIDs as type codes, and those are very awkward, from a user interface perspective!
    GPT fdisk does not have a type code of "DA00," so any documentation that refers to such a code is either flawed or is referring to something other than my GPT fdisk. (Somebody might have a patched version of GPT fdisk that implements such a code, though.)
    AFAIK, there's no such thing as a generic "non-FS" partition type for GPT. The most complete list of GPT type codes I'm aware of is on the Wikipedia entry on GPT, and I don't see anything close to that meaning in its table.
    According to this site, which holds a good list of known MBR type codes, 0xDA is the MBR type code for "non-FS data." Given the way I create GPT fdisk type codes, that would translate to DA00 if there were a GPT equivalent. Since there is no GPT equivalent, though, DA00 remains invalid in GPT fdisk.
    Tools based on libparted, such as parted and GParted, do a terrible job at presenting partition type code data to users. I've just skimmed it, but the page to which you refer, s1ln7m4s7r, appears to set up RAID data on a partition with a GUID of EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 -- "Microsoft Basic Data". That is, the RAID partition will be flagged as holding an NTFS or FAT filesystem! That's one of the worst possible ways to set up a Linux RAID, in terms of its partition type  code.
    For the most part, Linux doesn't care about type codes, on either MBR or GPT. There are a few exceptions to this rule, though. Thus, on a Linux-only system, using a bad partition type code won't have dire consequences; but on a dual-boot system, or if the disk gets moved to another computer for some reason, a bad type code choice could result in data loss. Windows might try to reformat the partition to use NTFS, for instance.
    The Linux RAID partition type code (GUID A19D880F-05FC-4D3B-A006-743F0F84911E on GPT; represented in GPT fdisk as FD00) was created to hold RAID data. Although I do recall running across advice somewhere to not use this type code for RAID data, I honestly don't recall what the reason was, but my recollection is that I was unimpressed.
    Since you didn't post a link to the page that recommended using "DA00" for RAID devices, Nairou, I can't comment on that advice in context; however, I suspect the author was confused or that the wiki went through some edits and something got mangled. Unless somebody can provide a good reason otherwise, I recommend using the RAID data type code on a partition that holds RAID data. If you want to use something else, create your own random GUID; do not use the type code for a Microsoft filesystem, especially if the computer dual-boots with Windows!

  • Oracle Types

    Hello,
    I have a little strange question about oracle types.
    I am planing to put basic operations of insert,update and delete in types as objects. Now my question is this. Is there a way to update objects and its procedures for insert,update and delete, as table structure changes(I delete one column and insert in procedure would no longer contain that column ). Entity framework does something similar in Visual Studio, but I would like to do this directly inside database. Thx

    For example, I have procedure inside my type, that insert data in it. Now, I delete one column from my table. Is there a way to automaticly update and compile my procedure in type, so it no longer have deleted column inside of tis insert

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • I am getting following error! XML Parsing Error: undefined entity Location: chrome://weave/content/options.xul Line Number 6, Column 3: setting id="weave-account" type="string" title="&account.label;" / --^

    I am getting followong error
    XML Parsing Error: undefined entity
    Location: chrome://weave/content/options.xul
    Line Number 6, Column 3: <setting id="weave-account" type="string" title="&account.label;" />
    --^

    I had this problem - it appeared to be due to having Firefox 4 with the Firefox Sync installed as an add-on. Firefox 4 has sync included so there is no need to have it as an add-on. I went to the add-on manager and removed Firefox Sync and now appears to be working correctly.

  • Data Type Mapping from SQL server to Oracle

    I am using Oracle 12c with heterogenous services connecting to SQL server DB. Some of the columns in the SQL server SB are defined as 'nvarchar(max)'. These are coming over to Oracle as 'long' type columns. I would like these to be 'varchar2' types in Oracle so I do not have any of the restrictions related to 'long' type fields when using. I can create a view in SQlServer to convert the data type ie. nvarchar(100). What is the highest value I can use to make the data show in Oracle as varchar? BTW  I tried nvarchar(4000) but that still showed as long. I tried nvarchar(1000), and that did show as varchar.

    The maximum value for a nvarchar2 in Oracle is 2000. The mapping -if the remote column is mapped to an Oracle varchar/nvarchar- depends on the data type returned by the ODBC driver. When the driver returns SQL_Varchar, then the maximum precision is 4000 and when it will map it to SQL_WVarchar then it is 2000.
    As your Oracle database uses AL32UTF8 as character set you will get the nvarchar(max) mapped to Oracle longs as the content of your SQL Server nvarchar is stored using UCS2 character set which is covered by the Oracle database charset UTF8. So it shouldn't really matter if the returned string is mapped to an Oracle varchar or nvarchar.

  • ORA-04043 Error when oracle type is declared in a package

    We have a package defining a type and a procedure which uses that type. The problem is - If the type is defined in a package jdbc fails with an error. If the type is declared outside the package everything works fine. The package is declared as
    create or replace
    PACKAGE TEST_ARRAY AS
    TYPE COLTYPE_NUMTAB is table of number;
    procedure Test_Procedure(some_var_name in COLTYPE_NUMTAB);
    END TEST_ARRAY;My Jdbc call is made by declaring the type as "TEST_ARRAY.COLTYPE_NUMTAB".
    Is there any different style/way of declaring this type?
    Thanks

    I tried tracing the oracle jdbc driver logs (we use the OCI jdbc driver) for the success and failure scenarios. Here are the logs
    1. When the type is defined outside the package the logs look like
    2011-05-31T03:23:56.177+0530 UCP TRACE_1 seq-408,thread-10 oracle.jdbc.driver.PhysicalConnection.createARRAY Public Enter: "COLTYPE_NUMTAB", [Ljava.lang.Object;@16a9424
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-409,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: "COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@180cb01
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-410,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: "COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@180cb01, false, false
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-411,thread-10 oracle.sql.SQLName.<init> Public Enter: "COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@180cb01
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-412,thread-10 oracle.sql.SQLName.init Enter: "COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@180cb01
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-413,thread-10 oracle.sql.SQLName.parse Enter: "COLTYPE_NUMTAB", [Ljava.lang.String;@1cec874, [Ljava.lang.String;@ca6cea, true
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-414,thread-10 oracle.sql.SQLName.parse return: false
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-415,thread-10 oracle.sql.SQLName.parse Exit
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-416,thread-10 oracle.sql.SQLName.init Exit
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-417,thread-10 oracle.sql.SQLName.<init> Exit
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-418,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: SCHEMA_NAME.COLTYPE_NUMTAB, oracle.jdbc.driver.T2CConnection@180cb01
    2011-05-31T03:23:56.177+0530 UCP TRACE_16 seq-419,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: SCHEMA_NAME.COLTYPE_NUMTAB, oracle.jdbc.driver.T2CConnection@180cb01, false, false2. When the type is defined inside the same package as the procedure which is TEST_ARRAY, the logs look like
    2011-05-31T05:10:05.219+0530 UCP TRACE_16 seq-409,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: "TEST_ARRAY.COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@6a435f
    2011-05-31T05:10:05.219+0530 UCP TRACE_16 seq-410,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: "TEST_ARRAY.COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@6a435f, false, false
    2011-05-31T05:10:05.250+0530 UCP TRACE_16 seq-411,thread-10 oracle.sql.SQLName.<init> Public Enter: "TEST_ARRAY.COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@6a435f
    2011-05-31T05:10:05.250+0530 UCP TRACE_16 seq-412,thread-10 oracle.sql.SQLName.init Enter: "TEST_ARRAY.COLTYPE_NUMTAB", oracle.jdbc.driver.T2CConnection@6a435f
    2011-05-31T05:10:05.250+0530 UCP TRACE_16 seq-413,thread-10 oracle.sql.SQLName.parse Enter: "TEST_ARRAY.COLTYPE_NUMTAB", [Ljava.lang.String;@129c445, [Ljava.lang.String;@114a947, true
    2011-05-31T05:10:05.250+0530 UCP TRACE_16 seq-414,thread-10 oracle.sql.SQLName.parse return: true
    2011-05-31T05:10:05.265+0530 UCP TRACE_16 seq-415,thread-10 oracle.sql.SQLName.parse Exit
    2011-05-31T05:10:05.265+0530 UCP TRACE_16 seq-416,thread-10 oracle.sql.SQLName.init Exit
    2011-05-31T05:10:05.265+0530 UCP TRACE_16 seq-417,thread-10 oracle.sql.SQLName.<init> Exit
    2011-05-31T05:10:05.265+0530 UCP TRACE_16 seq-418,thread-10 oracle.sql.ArrayDescriptor.createDescriptor Public Enter: TEST_ARRAY.COLTYPE_NUMTAB, oracle.jdbc.driver.T2CConnection@6a435fIn the second scenario the SQLName class constructor does not append the schema name.
    Though I am not the right person to interpret the jdbc logs hope it helps in troubleshooting the problem.

  • How to set a default Billing type for a particular Delivery type

    Dear All,
    How to set a default billing type for a particular delivery type.
    My requirement is, we are creating delivery for a Stock Transport Order. Delivery type is NL and the Purchase order type is UB.
    When we are creating Billing, it should take Billing type "ZSTO" by default, which is the customised Billing type.
    Where we have to do this setting?
    In case of normal sales order, this control will be available in the Sales order document types.
    In case STO, how to set a default billing type for a delivery type (NL).
    Regards,
    Rajesh

    There is a customization available here no default or hard coded
    Normally in a sales doc type we mention which billing type system has to pick
    If the billing happens from a PO which billing type system will take depends on the controls set in the areas mentioned below
    Go to your delivery type OVLK (say your delivery type is NL)
    In that there is a field called default order qty in the order reference tab (say if you maintained DL there)
    This DL is called PSEUDO order type
    Then in VOV8 for DL based on the billing types mentioned ,system will take the billing doc
    For delivery related billing say if you mention say ZF8 in the details of DL in VOV8(provided you have created ZF8)
    Then while you bill the delivery doc of NL system will take ZF8
    For intercompany delivery you can create ZIV billing type also Pure customization
    PO is linked to delivery type ( MM spro settings)--Del type linked to order (pseudo) type---in order type (pseudo) we mention the billing types. Here the flow is bit different that pure SD flow
    Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    This manual is not reqd if the said assignments are done properly
    Hope it can assist you.
    Thanks & Regards
    JP
    Edited by: J Prakash on Jun 23, 2010 4:05 PM

  • How to Create IDOCs for a Custom Basic IDOC Type

    Hi friends,
    I Have a Custom Basic IDOC Type.
    For that IDOC Type i need to Create an IDOC for every Header Item.
    The Header Item may have variation (Different) number of Line Items.
    in this case can i Use
    MASTER_IDOC_DISTRIBUTE and create the Idoc for each Header Item.
    or is there any way to create the IDOCs
    Thanks in Advance.
    Ganesh.

    Hi ,
    If I am not wrong you need to pass data via fm "MASTER_IDOC_DISTRIBUTE".
    So you can transfer row by row data into SDATA filed of structure type :EDID ,
    by concatenating the data into one field of type sdata. and passing it into the fm.
    I.e defining a internal table of type EDIDD.
    Try this :
    DATA : itab TYPE TABLE OF edid,
           itab1 TYPE TABLE OF edidc.
    LOOP AT itab2 INTO wa_itab2.
    CONCATENATE wa_itab2-t1 wa_itab2-t2 wa_itab2-t3 wa_itab2-t4 wa_itab2-t5
      INTO result.
      itab-sdata = result.
      APPEND itab.
      all function 'MASTER_IDOC_DISTRIBUTE'
       exporting
         master_idoc_control                  =itab1
      OBJ_TYPE                             = ''
      CHNUM                                = ''
       tables
         communication_idoc_control           =
         master_idoc_data                     =itab.
    EXCEPTIONS
      ERROR_IN_IDOC_CONTROL                = 1
      ERROR_WRITING_IDOC_STATUS            = 2
      ERROR_IN_IDOC_DATA                   = 3
      SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4
      OTHERS                               = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Setting in Statistical Order Type

    Our organization uses PM orders to manage plant equipment.  Never use CO Internal Order until recently we want to explore the use of Statistical Internal Order to facilitate expense analysis.  Statistical orders for information only, no settlement and no budget control necessary.
    There is no configuration in CO required for using statistical internal order except to create order type in KOT2_OPA.  
    Questions on the setting for the statistical order type:
    1.     What setting in the Order Type to make it identifiable as Statistical?  I want the setting that, when creating internal order, will force it as Statistical in the Control Data tab.
    2.     In the Control Indicators, should I set u201CCO Partner Udpateu201D to Semi-active or Active?
    3.     Since no budget control necessary, I should uncheck  everything including u201CCommit. Managementu201D in Control indicators?
    4.     Anything else I should be aware of in posting or reporting with statistical orders?

    Hi
    Q1 - Already anwered above
    Q2 - You can choose any thing.. Does nt matter
    Q3 - Yes, you should uncheck
    Q4 - While making posting, you need to specify the Stat Int order specifically.... ELse, posting wont go into it... Best way is to assign the Actual posted Cost center in the Stat Int Order.... Once you do this, just specify the Stat Int Order during posting.... Posting would happen both in the Stat Int Order as well as the Cost Center
    Br, Ajay M

Maybe you are looking for