Problem on CLOB datatype after import

I got problem and call to Oracle support and they use DUL for extract data from datafile to dump file and I import everything is done and no error but when I check in CLOB datatype that have space(blank character) separate each character see below
Original
Oracle
After Import
O R A C L E
So the application cannot execute those data.
Anyone have solution how to fix this problem?
Thanks,
Taohiko

if you use a direct insert you are restricted to 4000 characters.
You can put your value in a varchar2 variable and that allows you to insert up to 32767 characters.
declare
my_clob_variable := rpad('x','X',25000);
begin
insert into my_table(my_clob_column)
values(my_clob_variable);
end;

Similar Messages

  • Exposure Importing Problems __  Darker images after Import

    Shooting on 5D Mark II.. Shoot RAW and JPEG.. Running Mac with lastest OS
    Getting proper exposures in Camera.. Importing to LightRoom using card reader.
    Having major problems once I import into Lightroom. My images are significantly Darker.. 3 stops or so.  I have triple checked that I am not applying any presets to my images upon import.  Cannot figure this out!!
    Please help with this issue...

    trevajake wrote:
    Several Things that I'm also curious about...  Why does the tone curve - point curve default to Medium Contrast????   Also , in the basic develop settings, what are the two icons Tone and Auto... Notice how the Auto is highlighted..
    Medium Contrast is just the default for all Raw images in LR
    Auto is highlighted because you can activate AutoToning by clicking it
    A couple of questions again, which might have been asked before:
    If you import the .cr2 and the JPEG from your camera, do both have the same dark look?
    Have you tried recalibrating your monitor?
    Can you upload a JPEG and a Raw sample file to somewhere (i.e. www.yousendit.com) and post a screenshot to them here (don't use a photo publishing site please)
    Beat

  • Problems "locating" referenced files after importing from iPhoto.

    I recently began importing old iPhoto libraries to Aperture, mostly successfully, but have run into a couple problems locating referenced files. While the locate referenced files function worked for most of the photos, there are a handful of photos that, when I located the original file,  the time stamp was different (by 2 hours in most cases) and it was about 15% smaller than the file Aperture was looking for. As a result, even though it was clear from the thumbnails that they were the same images, Aperture doesn't even give me the option to Reconnect them.
    Aperture 3.4.5
    OS X 10.7.5

    . I use the Reconnect All button, but it only finds the one file, even when there are hundreds more in the same folder that are unlinked.
    Reconnect all works best, if you select all files that need reconnecting at once, and then select the first file in the list to reconnect. If the other files are in the same folder and are correctly named and match, then "reconnect all" should do it. But if the filenames differ, you will have to do it one by one.
    Also,  the files are all still correctly linked in iPhoto, but every single link is broken once I import it to Aperture.
    You are importing with "File > Import > Library", correct?
    That is supposed to work. Have you tried to repair your iPhoto Library before importing to Aperture?
    Use iPhotos First Aid Tools to repair:
    Try to repair the permissions, followed by repairing the library.
    To launch the First Aid Tools,  hold down the Command and Option keys ⌥⌘ while double-clicking the iPhoto library or the iPhoto icon in the Dock.
    The iPhoto Library First Aid dialog appears.  Select the Repair option you want to use - first "permissions", then "database".
    Léonie

  • Importing CLOB datatype

    Dear All,
    I'm facing a problem whle importing a table (specifically a column with CLOB datatype) to the existing tablespace as explained below. Kindly let me know the solution, you can mail me to [email protected]
    Importing a CLOB datatype from a different tablespace to a different tablespace without creating the source tablespace at the destination.
    Now to import a table and the data without creating the tablespace i.e. XYZ_DATA as mentioned below.
    TABLESPACE "XYZ_DATA" CLOB ("CLOB_SYNTAX") STORE AS (TA"
    "BLESPACE "XYZ_DATA" ....
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "R_DWSYN" ("R_IDSCR" NUMBER(9, 0) NOT NULL ENABLE, "N_DW" NUMB"
    "ER(1, 0) NOT NULL ENABLE, "D_UPDATE" DATE, "N_X" NUMBER(4, 0), "N_Y" NUMBER"
    "(4, 0), "N_WIDTH" NUMBER(4, 0), "CLOB_SYNTAX" CLOB) PCTFREE 10 PCTUSED 40 "
    "INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 1048576 NEXT 1048576 MINEXT"
    "ENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 20 FREELISTS 1 FREELIST GROUPS 1 B"
    "UFFER_POOL DEFAULT) TABLESPACE "XYZ_DATA" LOB ("CLOB_SYNTAX") STORE AS (TA"
    "BLESPACE "XYZ_DATA" ENABLE STORAGE IN ROW CHUNK 2048 PCTVERSION 10 NOCACHE "
    " STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PC"
    "TINCREASE 20 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'XYZ_DATA' does not exist
    rgds
    prashanth

    I have not used the DESTROY option myself but what I can see from imp help=y, I assume that this option goes with the TRANSPORT_TABLESPACE option where you are exporting tablespaces (with their datafiles) and then importing the same to another instance or so. This option might allow you to overwrite any datafile that was existing with the same name.
    DESTROY overwrite tablespace data file (N)
    The below link gives more information:
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch02.htm#17077
    Rgds,
    Sunil

  • Importing and Exporting Data with a Clob datatype with HTML DB

    I would like to know what to do and what to be aware of when Importing and Exporting data with a Clob Datatype with HTML DB?

    Colin - what kind of import/export operation would that be, which pages are you referring to?
    Scott

  • Problem in execution of a function having clob datatype

    [http://www.orafaq.com/forum/t/128331/98870/]
    Hi,
    I had a Problem in executing a function having clob datatype.
    Here below is my function.
    create or replace type split_obj as object
        occurence_id number(10,0),
        splitvalue varchar2(1000)
    create or replace type split_rec as table of split_obj;
    create or replace FUNCTION Split_new1(
                                           p_string IN clob,
                                           p_delimiter IN VARCHAR2
                                         )  return split_rec  pipelined  is
        v_length NUMBER := dbms_lob.getlength(p_string);
          v_start NUMBER := 1;
         v_index NUMBER;
          V_temp NUMBER(10,0):=0;
       begin
    WHILE(v_start <= v_length)
        LOOP
          v_index := dbms_lob.INSTR(p_string, p_delimiter, v_start);
           IF v_index = 0 THEN
             V_temp:=V_temp+1;
             PIPE ROW(split_obj(v_temp,dbms_lob.SUBSTR(p_string, v_length,v_start)));
             v_start := v_length + 1;
           ELSE
             v_temp:=v_temp+1;  
             PIPE ROW(split_obj(v_temp,dbms_lob.SUBSTR(p_string, v_index - v_start,v_start)));
             v_start := v_index + 1;
           END IF;
         END LOOP;
        return;
       end Split_new1;Here attached link contains the procedure trying to execute the function with huge string more than 400kb.
    Could you pls let me know how to do the same in sqlplus and toad.
    Thanks in advance.
    Edited by: user512743 on Nov 27, 2008 4:31 AM

    BluShadow wrote:
    The problem is that in your execution of this you are trying to assign a value to the clob variable using
    v_clob := '<string>'
    where the string is greater than allowed in PL/SQL.
    Whilst the CLOB itself can hold more data, the string is actually the equivalent of a VARCHAR2 so cannot exceed VARCHAR2 limits.
    You should use the DBMS_LOB package to append data to your CLOB in chunks of no more than 32767 characters at a time.??? PL/SQL provides full CLOB support. There is no need to use DBMS_LOB (although you could). OP's function has logic errors. Anyway:
    SQL> create or replace type split_obj as object
      2    (
      3      occurence_id number(10,0),
      4      splitvalue varchar2(1000)
      5    );
      6  /
    Type created.
    SQL> create or replace type split_rec as table of split_obj;
      2  /
    Type created.
    SQL> create or replace
      2    FUNCTION Split_new1(
      3                        p_string IN clob,
      4                        p_delimiter IN VARCHAR2
      5                       )
      6      return split_rec  pipelined
      7      is
      8          v_length NUMBER := length(p_string);
      9          v_start  NUMBER := 1;
    10          v_end    NUMBER;
    11          V_id     NUMBER :=0;
    12          v_clob   CLOB   := p_string || p_delimiter;
    13      begin
    14          while(v_start <= v_length) loop
    15            v_end := instr(v_clob, p_delimiter, v_start);
    16            v_id  := v_id + 1;
    17            pipe row(split_obj(v_id,substr(p_string,v_start,v_end - v_start)));
    18            v_start := v_end + length(p_delimiter);
    19          end loop;
    20          return;
    21  end Split_new1;
    22  /
    Function created.
    SQL> create table test_table(x clob)
      2  /
    Table created.
    SQL> declare
      2      c clob;
      3  begin
      4      for i in 1..26 loop
      5        c := c || lpad(chr(ascii('a') + i - 1),1000,chr(ascii('a') + i - 1)) || ',';
      6      end loop;
      7      for i in 1..26 loop
      8        c := c || lpad(chr(ascii('A') + i - 1),1000,chr(ascii('A') + i - 1)) || ',';
      9      end loop;
    10      for i in 1..26 loop
    11        c := c || lpad(chr(ascii('a') + i - 1),1000,chr(ascii('a') + i - 1)) || ',';
    12      end loop;
    13      for i in 1..26 loop
    14        if i > 1 then c := c || ','; end if;
    15        c := c || lpad(chr(ascii('A') + i - 1),1000,chr(ascii('A') + i - 1));
    16      end loop;
    17      insert into test_table
    18        values(c);
    19  end;
    20  /
    PL/SQL procedure successfully completed.
    SQL> select  length(x)
      2    from  test_table
      3  /
    LENGTH(X)
        104103
    SQL> select  t.occurence_id,
      2          length(splitvalue) len,
      3          substr(splitvalue,1,20) first_20
      4    from  test_table,
      5          table(Split_new1(x,',')) t
      6  /
    OCCURENCE_ID        LEN FIRST_20
               1       1000 aaaaaaaaaaaaaaaaaaaa
               2       1000 bbbbbbbbbbbbbbbbbbbb
               3       1000 cccccccccccccccccccc
               4       1000 dddddddddddddddddddd
               5       1000 eeeeeeeeeeeeeeeeeeee
               6       1000 ffffffffffffffffffff
               7       1000 gggggggggggggggggggg
               8       1000 hhhhhhhhhhhhhhhhhhhh
               9       1000 iiiiiiiiiiiiiiiiiiii
              10       1000 jjjjjjjjjjjjjjjjjjjj
              11       1000 kkkkkkkkkkkkkkkkkkkk
    OCCURENCE_ID        LEN FIRST_20
              12       1000 llllllllllllllllllll
              13       1000 mmmmmmmmmmmmmmmmmmmm
              14       1000 nnnnnnnnnnnnnnnnnnnn
              15       1000 oooooooooooooooooooo
              16       1000 pppppppppppppppppppp
              17       1000 qqqqqqqqqqqqqqqqqqqq
              18       1000 rrrrrrrrrrrrrrrrrrrr
              19       1000 ssssssssssssssssssss
              20       1000 tttttttttttttttttttt
              21       1000 uuuuuuuuuuuuuuuuuuuu
              22       1000 vvvvvvvvvvvvvvvvvvvv
    OCCURENCE_ID        LEN FIRST_20
              23       1000 wwwwwwwwwwwwwwwwwwww
              24       1000 xxxxxxxxxxxxxxxxxxxx
              25       1000 yyyyyyyyyyyyyyyyyyyy
              26       1000 zzzzzzzzzzzzzzzzzzzz
              27       1000 AAAAAAAAAAAAAAAAAAAA
              28       1000 BBBBBBBBBBBBBBBBBBBB
              29       1000 CCCCCCCCCCCCCCCCCCCC
              30       1000 DDDDDDDDDDDDDDDDDDDD
              31       1000 EEEEEEEEEEEEEEEEEEEE
              32       1000 FFFFFFFFFFFFFFFFFFFF
              33       1000 GGGGGGGGGGGGGGGGGGGG
    OCCURENCE_ID        LEN FIRST_20
              34       1000 HHHHHHHHHHHHHHHHHHHH
              35       1000 IIIIIIIIIIIIIIIIIIII
              36       1000 JJJJJJJJJJJJJJJJJJJJ
              37       1000 KKKKKKKKKKKKKKKKKKKK
              38       1000 LLLLLLLLLLLLLLLLLLLL
              39       1000 MMMMMMMMMMMMMMMMMMMM
              40       1000 NNNNNNNNNNNNNNNNNNNN
              41       1000 OOOOOOOOOOOOOOOOOOOO
              42       1000 PPPPPPPPPPPPPPPPPPPP
              43       1000 QQQQQQQQQQQQQQQQQQQQ
              44       1000 RRRRRRRRRRRRRRRRRRRR
    OCCURENCE_ID        LEN FIRST_20
              45       1000 SSSSSSSSSSSSSSSSSSSS
              46       1000 TTTTTTTTTTTTTTTTTTTT
              47       1000 UUUUUUUUUUUUUUUUUUUU
              48       1000 VVVVVVVVVVVVVVVVVVVV
              49       1000 WWWWWWWWWWWWWWWWWWWW
              50       1000 XXXXXXXXXXXXXXXXXXXX
              51       1000 YYYYYYYYYYYYYYYYYYYY
              52       1000 ZZZZZZZZZZZZZZZZZZZZ
              53       1000 aaaaaaaaaaaaaaaaaaaa
              54       1000 bbbbbbbbbbbbbbbbbbbb
              55       1000 cccccccccccccccccccc
    OCCURENCE_ID        LEN FIRST_20
              56       1000 dddddddddddddddddddd
              57       1000 eeeeeeeeeeeeeeeeeeee
              58       1000 ffffffffffffffffffff
              59       1000 gggggggggggggggggggg
              60       1000 hhhhhhhhhhhhhhhhhhhh
              61       1000 iiiiiiiiiiiiiiiiiiii
              62       1000 jjjjjjjjjjjjjjjjjjjj
              63       1000 kkkkkkkkkkkkkkkkkkkk
              64       1000 llllllllllllllllllll
              65       1000 mmmmmmmmmmmmmmmmmmmm
              66       1000 nnnnnnnnnnnnnnnnnnnn
    OCCURENCE_ID        LEN FIRST_20
              67       1000 oooooooooooooooooooo
              68       1000 pppppppppppppppppppp
              69       1000 qqqqqqqqqqqqqqqqqqqq
              70       1000 rrrrrrrrrrrrrrrrrrrr
              71       1000 ssssssssssssssssssss
              72       1000 tttttttttttttttttttt
              73       1000 uuuuuuuuuuuuuuuuuuuu
              74       1000 vvvvvvvvvvvvvvvvvvvv
              75       1000 wwwwwwwwwwwwwwwwwwww
              76       1000 xxxxxxxxxxxxxxxxxxxx
              77       1000 yyyyyyyyyyyyyyyyyyyy
    OCCURENCE_ID        LEN FIRST_20
              78       1000 zzzzzzzzzzzzzzzzzzzz
              79       1000 AAAAAAAAAAAAAAAAAAAA
              80       1000 BBBBBBBBBBBBBBBBBBBB
              81       1000 CCCCCCCCCCCCCCCCCCCC
              82       1000 DDDDDDDDDDDDDDDDDDDD
              83       1000 EEEEEEEEEEEEEEEEEEEE
              84       1000 FFFFFFFFFFFFFFFFFFFF
              85       1000 GGGGGGGGGGGGGGGGGGGG
              86       1000 HHHHHHHHHHHHHHHHHHHH
              87       1000 IIIIIIIIIIIIIIIIIIII
              88       1000 JJJJJJJJJJJJJJJJJJJJ
    OCCURENCE_ID        LEN FIRST_20
              89       1000 KKKKKKKKKKKKKKKKKKKK
              90       1000 LLLLLLLLLLLLLLLLLLLL
              91       1000 MMMMMMMMMMMMMMMMMMMM
              92       1000 NNNNNNNNNNNNNNNNNNNN
              93       1000 OOOOOOOOOOOOOOOOOOOO
              94       1000 PPPPPPPPPPPPPPPPPPPP
              95       1000 QQQQQQQQQQQQQQQQQQQQ
              96       1000 RRRRRRRRRRRRRRRRRRRR
              97       1000 SSSSSSSSSSSSSSSSSSSS
              98       1000 TTTTTTTTTTTTTTTTTTTT
              99       1000 UUUUUUUUUUUUUUUUUUUU
    OCCURENCE_ID        LEN FIRST_20
             100       1000 VVVVVVVVVVVVVVVVVVVV
             101       1000 WWWWWWWWWWWWWWWWWWWW
             102       1000 XXXXXXXXXXXXXXXXXXXX
             103       1000 YYYYYYYYYYYYYYYYYYYY
             104       1000 ZZZZZZZZZZZZZZZZZZZZ
    104 rows selected.
    SQL> As you can see, function works OK without DBMS_LOB on CLOB of 104103 bytes.
    SY.

  • Problem with getting order correct after importing a cd.

    Has anyone had any problems after importing a cd in to their itunes with the order of the songs not appearing correctly. Even after I double checked to make sure everything was matched up perfectly with the spelling, the tracks appear in the wrong order still. Cany anyone help me out???
    Message was edited by: mikebreeze116

    Try clicking on one of the column headings to sort the playlist. I'm not in front of my Mac right now, don't recall which column provided the correct sort information.
    http://docs.info.apple.com/article.html?path=iTunesMac/7.3/en/560x.html

  • I have a password problem. After importing data and settings from one MacBook Pro to a new one, I have to put my iCloud password in when re-starting, but the password from the old computer in when waking the computer from sleep.

    I have a password problem. After importing data and settings from one MacBook Pro to a new one, I have to put my iCloud password in when re-starting the new computer, but the password from the old computer in when waking the computer from sleep. I want to use my iCloud password on both computers consistently. How can I fix this?

    The only other place to change a password for the computer login is in Users & Groups preferences. But I don't really know enough here to fix your problem. You can try fixing the keychain:
    iCloud- Frequently asked questions about iCloud Keychain
    Tutorial: Resolving Keychain Issues
    If you can't access your keychain, or forget your password If you can't get into your keychain file because you've forgotten your password or the keychain file appears to be corrupt, there are a couple of options.
    First, if you've forgotten your password, you can use the "Keychain First Aid" utility to make the keychain password the same as the login password. This can be accomplished via the following process:
      1. Open Keychain Access (located in Applications/Utilities)
      2. Go to the "Keychain Access" menu and select "Preferences"
      3. Click the "First Aid" tab
      4. Make sure the "Synchronize login keychain password" box is checked
      5. Close the Preferences window
      6. Go to the "Keychain Access" menu and select "Keychain First Aid"
      7. Enter your username and password
      8. Click the "Repair" button
    The second option is to completely delete your keychain then recreate it. This routine is useful if your keychain appears to be corrupt or otherwise inaccessible. This can be accomplished as follows:
      1. Launch Keychain Access (located in Applications/Utilities)
      2. Click "Show Keychains" in the lower-left corner of the window.
      3. Select the problematic keychain from the left-hand pane.
      4. Navigate to the "File" menu and select "Delete Keychain '(name of keychain)'"
      5. Check all options for deletion and press "OK"
      6. Create a new keychain by going to the "File" menu, then "New" and selecting
          "New Keychain"
      7. You can now make this keychain your default if you desire by selecting it, then
          going to the "File" menu and selecting "Make '(name of keychain)' Default"
    Login as root and perform repair In some cases, problems with keychains can only be resolved when logged in as the root user.
    First, you want to enable the root user:
      1. OS X Mountain Lion: Enable and disable the root user
      2. OS X Lion: Enable and disable the root user
      3. Mac OS X 10.6: Enabling the root user
      4. Enabling and using the "root" user in Mac OS X
    After enabling the root user, and logging in under this account, again open Keychain Access. First attempt repairs using Keychain First Aid, and failing that, delete then recreate the keychain as described above while logged in as root.
    Persistently asked for stored passwords If you are persistently asked for passwords in various applications that you have specified should be remembered in a keychain, your "login" keychain may not be active for one reason or another.
    Navigate to ~/Library/Keychains/ (this is the Library folder inside your user's home folder). Find the file named "login.keychain" and double-click it.
    Failing that, select the "login" keychain within the Keychain Access application and make sure it is the default keychain by going to the "File" menu and selecting "Make 'Login' Default"
    Turn off Keychain synchronization in applications having problems If specific applications are experiencing issues when accessing password-protected material, the Keychain may be to blame.
    The above comes from an article published on MacFixit.com.

  • All pictures in 1 folder after import - problem?

    Hi,
    due to a hardware change (I´m now an iMac Owner ;)) I had to import all my photos into iPhoto.
    Previously I did a copy of all my photos on an external hard drive, unfortunately without any folder structure. In other words all phtos (approx. 9.000 photos) were inside 1 folder on the external hard drive.
    After importing the photos iPhoto automatically put all the files/pictures into the folder ORIGINALS but also without any subfolder. In the meantime I have of course splitted one respective event into 40-50 accordingly inside iPhoto.
    Overall a new photo structure was planned anyway!
    Question:
    Is it a problem of speed or any other issue if iPhoto has to search always through the whole folder when accessing a single photo. I did not get any warning when importing the photos within the iPhoto application. Or is it only a question of folder structure inside iPhoto without any limits related to speed or possible other issues? Or will be originals inside iPhoto never touched?
    Does it make sense to split the original files within the folder ORIGINALS into subfolder? AFAIK a manual change of the iPhoto structure is not recommended, right?
    I hope someone understand my nonsens ..

    AFAIK a manual change of the iPhoto structure is not recommended, right?
    Very right. Doing that will corrupt the Library.
    Don't change anything in the iPhoto Library Folder via the Finder or any other application. iPhoto depends on the structure as well as the contents of this folder. Moving things, renaming things or otherwise making changes will prevent iPhoto from working and could even cause you to damage or lose your photos.
    It makes no difference whatever how iPhoto stores the photos inside the Library Package. You do all your work in the iPhoto Window and there is never a need for you to go into the Library package at all.
    So, organise your photos in the iPhoto Window
    Regards
    TD

  • "Messages" problem after importing .xsd file as external definition

    Hello,
    I received an .xsd file from a customer and need to import it as an "External Definition" in order to create the "Message Interface". The structure of the xsd looks like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:px="http://www.opentrans.org/XMLSchema/1.0" targetNamespace="http://www.opentrans.org/XMLSchema/1.0" elementFormDefault="qualified">
    <xsd:element name="ORDER">
    </xsd:element>
    <xsd:element name="ADDRESS">
    </xsd:element>
    <xsd:element name="ARTICLE_ID">
    </xsd:element>
    </xsd:schema>
    After importing and looking at the tab "Messages" I get numerous entries, for each <xsd:element> I get one message! But I basically only need one "Message" that holds my complete xsd-file.
    I tried inserting <xsd:element name="COMPLETEORDER"> right after the <xsd:schema>-Tag but that didn't work either. Somehow I need to sum up all the <xsd:elements>.
    Does anyone have an idea? Thank you very much!
    Peter

    Hello Prateek, Hello everyone,
    I now know what the problem is. I downloaded XMLspy and checked on the structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:px="http://www.opentrans.org/XMLSchema/1.0" targetNamespace="http://www.opentrans.org/XMLSchema/1.0" elementFormDefault="qualified">
    <xsd:element name="ORDER">
    </xsd:element>
    <xsd:element name="ADDRESS">
    </xsd:element>
    <xsd:element name="ARTICLE_ID">
    </xsd:element>
    <xsd:simpleType name="dtBOOLEAN">
    </xsd:simpleType>
    <xsd:simpleType name="dtCOUNTRIES">
    </xsd:simpleType>
    <xsd:element name="SUPPLIER_AID">
    </xsd:element>
    <xsd:simpleType name="typeSUPPLIER_AID">
    </xsd:simpleType>
    </xsd:schema>
    Between the long list of <xsd:element> tags there are some simpleTypes on the same
    level. Now if I insert
    <xsd:element name="COMPLETEORDER">
    <xsd:complexType>
    <xsd:sequence>
    on top, the <xsd:sequence> would be on the same level as the simpleTypes - which is not valid!
    But can I just move all the simpleTypes, e.g. into an <xsd:element>??
    That would be changing the customer's structure which I think is not a good thing!?
    Thank you again for your help! I really appreciate it!
    Best regards,
    Peter

  • Universe access problem after importing from R2 to R3.1

    Hi all!
    We have a problem with universes in 3.1: even with administrator user it keeps showing FRM 00008 error message (You are not authorised to use this document. The universe could not be found in the Central Management Server...) after importing successfully any universe or trying to open any universe locally.
    All of the universes were imported using the Import Wizard. The CMS server have been restarted and is running, the CMS ports are visible, universe, connection and application access rights are full control (for the administrator user).
    Any idea would be welcome on what else should be checked or set.
    Thanks and best regards,
    László

    Thanks for the tip, but it didn't help. I double-checked object right for administrator, and where it wasn't set as full control, I changed it to full control (universe, applications - DeskI and Designer, and the relevant connection).
    And the administrator user is member of only two groups: Administrators and Everyone. (Everyone has no access on these objects, because every user in our BO enterprise is a member of a special group, so there's no need to grant rights to Everyone).
    Any other idea?

  • Avitek Sample Application - problems after imported to Eclipse

    I downloaded "Avitek™ Medical Records Sample Application" and started a domain successfuly with this aplication. Then I imported its to my Eclipse Juno with the interest to debug this sample application. I included every lib are need. Now I am getting the error "Default target install does not exist in this project" in every build.xml on the target "<project name=".
    Other error I got is "The type javax.jms.Message cannot be resolved. It is indirectly referenced from required .class files" in the PatientNotifierBroker project. I looked for javax.jms_1.1.2.jar and I had already added this library.
    Have someone face both problems after imported this sample?

    11g by default is case sensitive username/password.
    You can disable that with setting parameter SEC_CASE_SENSITIVE_LOGON to false.
    SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
    SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Problem after importing

    Hi,
    I have a pre defined html help file for my project done by
    someone else.
    Now i have to edit the help file, so i have created a new
    project and tried to import the html files from the old help file
    which i had. Import was successfull. but i was not able to edit the
    contents placed in "Drop Down Text editor" field it has been
    encrypted. but the all the datas are present while viewing the
    file.
    Pls tell me how can i edit the "Drop Down Text editor" text
    after importing the file.
    Thanks,
    Raja

    Welcome to the forum.
    What is a pre-defined help file? Do you simply mean someone
    else created the project? You also say you you imported the files
    but it's not clear why. Maybe that does not matter, I mention it in
    case the next bit is not the problem as then I will need to know
    more.
    It should be as simple as double clicking the drop-down
    hotspot. Does nothing happen if you do that? The text should be
    above the ordinary text when you look at the HTML.

  • Problem with sequences after import

    We recently imported some table data from QA to DEV and now the DEV database has issues with sequences errors. How can I resolve the problem with sequences since we have constraint violation errors as a result of the table sequences being out of sync after the import of several schema tables.

    We run a script like the following to get the sequences as close as possible after importing from PROD to DEV:
    set serveroutput on;
    DECLARE
         CURSOR CUR IS
              SELECT      otherdb_seq.sequence_owner AS owner,
                        otherdb_seq.sequence_name AS seq_nm,
                        TO_CHAR(otherdb_seq.last_number) AS start_nr
              FROM           dba_sequences currdb_seq,
                        dba_sequences@prod otherdb_seq
         WHERE      currdb_seq.sequence_owner IN ('~schemaname~') AND
                        currdb_seq.sequence_owner = otherdb_seq.sequence_owner AND
                   currdb_seq.SEQUENCE_NAME = otherdb_seq.sequence_name
              ORDER BY      1, 2;
         sql_string VARCHAR2(500);
    BEGIN
         FOR REC IN CUR
         LOOP
         sql_string := 'DROP SEQUENCE '||REC.owner||'.'||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'CREATE SEQUENCE '||REC.owner||'.'||REC.seq_nm;
              sql_string := sql_string ||' START WITH '||REC.start_nr;
              sql_string := sql_string ||' MAXVALUE 999999999999999999999999999';
              sql_string := sql_string ||' MINVALUE '||REC.start_nr;
              sql_string := sql_string ||' NOCYCLE NOCACHE ORDER';
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'DROP PUBLIC SYNONYM '||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'CREATE PUBLIC SYNONYM '||REC.seq_nm||' FOR '||REC.owner||'.'||REC.seq_nm;
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
              sql_string := 'GRANT SELECT ON '||REC.owner||'.'||REC.seq_nm||' TO PUBLIC';
              DBMS_OUTPUT.PUT_LINE(sql_string||';');
              EXECUTE IMMEDIATE sql_string;
         END LOOP;
    END;

  • How to copy a table with LONG and CLOB datatype over a dblink?

    Hi All,
    I need to copy a table from an external database into a local one. Note that this table has both LONG and CLOB datatypes included.
    I have taken 2 approaches to do this:
    1. Use the CREATE TABLE AS....
    SQL> create table XXXX_TEST as select * from XXXX_INDV_DOCS@ext_db;
    create table XXXX_TEST as select * from XXXX_INDV_DOCS@ext_db
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    2. After reading some threads I tried to use the COPY command:
    SQL> COPY FROM xxxx/pass@ext_db TO xxxx/pass@target_db REPLACE XXXX_INDV_DOCS USING SELECT * FROM XXXX_INDV_DOCS;
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    CPY-0012: Datatype cannot be copied
    If my understanding is correct the 1st statement fails because there is a LONG datatype in XXXX_INDV_DOCS table and 2nd one fails because there is a CLOB datatype.
    Is there a way to copy the entire table (all columns including both LONG and CLOB) over a dblink?
    Would greatelly appriciate any workaround or ideas!
    Regards,
    Pawel.

    Hi Nicolas,
    There is a reason I am not using export/import:
    - I would like to have a one-script solution for this problem (meaning execute one script on one machine)
    - I am not able to make an SSH connection from the target DB to the local one (although the otherway it works fine) which means I cannot copy the dump file from target server to local one.
    - with export/import I need to have an SSH connection on the target DB in order to issue the exp command...
    Therefore, I am looking for a solution (or a workaround) which will work over a DBLINK.
    Regards,
    Pawel.

Maybe you are looking for