SQL Loader - need help - any thought!

I have a datafile with info like this,
tag1,f01,f02
tag2,.....
tag3,......
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag1,f01,f02
tag2,.....
tag3,......
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag4,info1,info2,....
tag5
My requirement is like this,
I have to load into a table with folloing info
f02,info1,info2
tokenize the tag1 record, get the f02 value use that along with tag4 fields to populate the table. This f02 field will get new value after reading the second tag2 occurance.
Any thought on this is greatly appreciated!

If you look at the Flash help documentation for the addListener metod of the MovieClipLoader class, there is an erxample there that you should hopefully be able to work from.  It will be better if you get your stuff coded into AS2 before you pursue more help with it.  IT is difficult to tell you how to fix something if you don't show what you are using.

Similar Messages

  • SQL Loader need to insert the input filename into output table

    Hi All,
    I've a small problem with my SQL Loader query. My sql loader should read a file and write the data into a file. Also this sql loader should read the filename and write it into the same table. Here's my control file code:
    LOAD DATA
    APPEND
    INTO TABLE XXMW_STG_SOH_HEADER_UK
    WHEN (1:4) = '7010'
    TRAILING NULLCOLS
    (WH POSITION(5:6)
    ,ITEM POSITION(9:26)
    ,PRODUCT_STATUS POSITION(33:34)
    ,BALANCE_ON_HAND POSITION(35:43)
    ,TO_SHIP_QTY POSITION(71:79)
    ,RUSH_TO_SHIP_QTY POSITION(80:88)
    ,RESERVED_QTY POSITION(175:183)
    ,SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')"
    ,SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')"
    ,PROCESSED_IND CONSTANT "N"
    ,PROCESSED_DATETIME SYSDATE
    ,_FILENAME POSITION(184) CHAR TERMINATED BY WHITESPACE_
    My program should read the filename dynamically (means a shell script is calling this .ctl file which is reading multiple input files) and insert into the filename field in xxmw_stg_soh_header_uk table.
    Please let me know for any questions/clarifications.
    Regards,
    Debabrata

    While I think Blu's suggestion to use external tables is better, if you need to use SQL Loader, you could do something like this.
    Create a "generic" control file with a placeholder for the filename, something like:
    LOAD DATA
    APPEND
    INTO TABLE XXMW_STG_SOH_HEADER_UK
    WHEN (1:4) = '7010'
    TRAILING NULLCOLS (
       WH POSITION(5:6),
       ITEM POSITION(9:26),
       PRODUCT_STATUS POSITION(33:34),
       BALANCE_ON_HAND POSITION(35:43),
       TO_SHIP_QTY POSITION(71:79),
       RUSH_TO_SHIP_QTY POSITION(80:88),
       RESERVED_QTY POSITION(175:183),
       SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')",
       SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')",
       PROCESSED_IND CONSTANT "N",
       PROCESSED_DATETIME SYSDATE,
       FILENAME CONSTANT ":FILE"I am assuming that your shell script is looping through a set of file names and loading each one. So make your shell script look something like:
    FILES=`ls *.txt`
    CTL=generic.CTL
    for f in $FILES
    do
       cat $CTL| sed "s/:FILE/$f/g" > $f.ctl
       sqlldr usr/passwd control=$f.ctl data=$f
    doneThe line cat $CTL| sed "s/:FILE/$f/g" > $f.ctl will create a "custom" control file for each file and add the filename as a constant at the end.
    John

  • Sql-loader error, help!!!!

    Recently I found the following error message in the sql-loader log file.
    ora-704 , I can't find corresponding explainatino in oracle documentation. I use sql-loader 7.3 to load .dat file extracted from our ERP system. This error can't be monitored by pl/sql and quite dangerous . Please kindly help me to solve this problem.Many thanks!!

    The ora-704 error message is pretty serious. It's a boot-strap kind of message that you usually get on db startup when something is seriously wrong. What version of db are you running? If it's pre-8.0 then you might check to see if the sys.bootstrap$ table was set to unlimited extents (one of those weird issue things). Although I wouldn't suggest modifying the sys schema's objects to set the extents to something other than unlimited, this might open some doors into something else.
    If you're truly getting this:
    ORA-00704: "bootstrap process failure"
    Cause: Failure in processing bootstrap data - see accompanying
    error.
    Action: Contact your customer support representative.
    Then you really need to contact a CSR for technical help that is supported by Oracle itself.
    Good luck
    EC

  • Loader (Need help to convert from AS3 to AS2)

    Since I know this code works fine and that I use it into one of my AS3 flash, I need it in one of my AS2 flash and I don't know how to adapt it. I've searched in over 100 threads and I can't find something similar... Thanks to help me get it to work in AS2! Since I need it in AS2, I thought it would be the right place to post it.
    I posted all the loading process code, but I would need help mostly with the Loader part. How to do it in AS2? Thanks!
    var img = 0;
    var image_total = 0;
    var myImages_array:Array = new Array();
    var myBitmaps_array:Array = new Array();
    function Init();
    // Images urls are loaded into an array before this call
    LoadImage();
    function LoadImage()
        if (img < myImages_array.length) // img is the current image index and myImages_array is my array of URLs
    // I need help with this part please
            var loader:Loader = new Loader();
    // returns the image full path and load it
            loader.load(new URLRequest(my_site_url + myImages_array[img]));
            loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
        else
            if (count == 0)
    // When everything's loaded, I'll start loading my Bitmaps into a small slideshow
                count += 1;
                init_slideshow();
    function imageLoaded(e:Event):void
        var image:Bitmap = e.target.content;
    // Bitmap manipulation here (removed)
        image_total = myBitmaps_array.push(image);
        if (img < myImages_array.length)
            img += 1;
    // Call next image
            LoadImage();
    function init_slideshow():void
    // Reserts the current index for the first one
        img = 0;
    // Start the slideshow since everything's loaded
        animate_slideshow();

    If you look at the Flash help documentation for the addListener metod of the MovieClipLoader class, there is an erxample there that you should hopefully be able to work from.  It will be better if you get your stuff coded into AS2 before you pursue more help with it.  IT is difficult to tell you how to fix something if you don't show what you are using.

  • SQL LOADER ;;; PLEASE HELP ME

    Hi EveryBody,
    I have useless lines in my file csv which I do not want to load in my Oracle table,
    1- some one knows a means to leave the control file of SQL LOADER to load that the data which I want?
    2- Another thing I want to insert my lines in the file
    csv that under a condition that the sum of the lines
    of a column amount in the file csv is different than 0 ?
    for example:
    date|amount |Currency
    2006-05-19 18:35:53|12.74|Euro
    2006-05-19 18:35:53|23.24|CAD
    Thanks,
    Regards,

    Executing this script :
    CREATE TABLE admin_ext_emmanuel
    (NUMS     VARCHAR2(200)     ,          
    NB_UNIT     NUMBER     ,               
    REVENUE     NUMBER                    
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY admin_dat_dir
    ACCESS PARAMETERS
    records delimited by newline
    badfile admin_bad_dir:'emmanuel%a_%p.bad'
    logfile admin_log_dir:'emmanuel%a_%p.log'
    fields terminated by ';'
    missing field values are null
    ( employee_id, first_name, last_name, job_id, manager_id,
    hire_date char date_format date mask "dd-mon-yyyy",
    salary, commission_pct, department_id, email
    LOCATION ('20060619_emmanuel_01.csv')
    PARALLEL
    REJECT LIMIT UNLIMITED
    I have these errors :
    ORA-29913 : error in executing ODCIEXTTABLEOPEN callout
    ORA-29400 : data catridge error
    KUP-04043 : table column not found in external source : NUMS
    ORA-06512 : at "SYS.ORACLE_LOADER" , line 19
    can u help please?

  • Sql loader  Need to load data with "," only in one filed

    Hi,
    I need to load data my in one column my data is in CSV format like this
    Shahzaib ismail, Imran aziz, Shahmir mehmood, Shahzad khan
    i want to upload this data on my table which contain only one column which is name ?
    What will be the query for upload data through sql loader
    Thanks
    Shahzaib ismail
    Oracle database Express Edition Developer 6I

    Since you mention you're using database version XE, I'll assume you're database version is at least 10.2
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productand so you have the power of:
    - external tables
    http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6611962171229
    - regular expressions
    http://nuijten.blogspot.com/2009/07/splitting-comma-delimited-string-regexp.html
    and you don't want to be using SQL*Loader anymore, never ever.
    I simply put your string 'Shahzaib ismail, Imran aziz, Shahmir mehmood, Shahzad khan' in a file called test.csv and told Oracle that file is in my Oracle directory DATA_DIR (that actually points to: c:\data on my 'filesystem' ) and then:
    SQL> create table t(name varchar2(155));
    Table created.
    SQL> -- instead of SQL*Loader use an External Table:
    SQL> create table ext_t
      2    ( textstring varchar2(4000)
      3    )
      4    organization external ( type oracle_loader
      5                            default directory DATA_DIR
      6                            access parameters (fields terminated by '' )
      7                            location ('test.csv')
      8                          );
    Table created.
    SQL> -- Now you can query your file as if it were a table!                       
    SQL> select * from ext_t;    
    TEXTSTRING
    Shahzaib ismail, Imran aziz, Shahmir mehmood, Shahzad khan
    1 row selected.
    SQL> -- and use the powers of SQL to do whatever you want (instead of cludging with those dreaded ctl files):
    SQL> select regexp_substr (textstring, '[^,]+', 1, rownum) names
      2  from   ext_t
      3  connect by level <= length(regexp_replace(textstring, '[^,]+'))+1;
    NAMES
    Shahzaib ismail
    Imran aziz
    Shahmir mehmood
    Shahzad khan
    4 rows selected.
    SQL> -- Voilà, the data is loaded into the table in one single SQL statement:
    SQL> insert into t
      2  select trim(names)
      3  from ( select regexp_substr (textstring, '[^,]+', 1, rownum) names
      4         from   ext_t
      5         connect by level <= length(regexp_replace(textstring, '[^,]+'))+1
      6       );
    4 rows created.
    SQL> --
    SQL> select * from t;
    NAME
    Shahzaib ismail
    Imran aziz
    Shahmir mehmood
    Shahzad khan
    4 rows selected.Don't use SQL*Loader, use an External Table.

  • SQL Gurus : Need Help in building SQL query

    SQL Gurus,
    Need your expertise to solve my below problem:
    - I have a column that had comma separated data, basically there are the levels in a hierarchy. eg The same column could have the following data:
    Row 1: R1L1, R1L2, R1L3
    Row 2: R2L1, R2L2
    Row 3: R3L1, R3L2, R3L3, R3L4
    For assumption purpose lets assume that there are maximum 5 Levels
    I want to put this data from this column into another table which holds the levels. I am expecting the output in another table as follows:
    Col1____Col2 ____Col3____Col4____Col5
    Row 1: R1L1___R1L2____R1L3____null_____null
    Row 2: R2L1___R2L2____null_____null_____null
    Row 3: R3L1___R3L2____R3L3____R3L4___null
    How do i achieve this ? ie coverting the comma separated values in a column to separate columns. The # of values in each columns could be different as I have showb above
    Regards,
    pk

    with t as (
               select 'R1L1, R1L2, R1L3' c1 from dual union all
               select 'R2L1, R2L2' c1 from dual union all
               select 'R3L1, R3L2, R3L3, R3L4' c1 from dual
    select  substr(c1,instr(', ' || c1 || ', ',', ',1,mod(l,5) + 1),instr(', ' || c1 || ', ',', ',1,mod(l + 1,5) + 1) - instr(', ' || c1 || ', ',', ',1,mod(l,5) + 1) - 2) col1,
            substr(c1,instr(', ' || c1 || ', ',', ',1,mod(l - 1,5) + 1),instr(', ' || c1 || ', ',', ',1,mod(l,5) + 1) - instr(', ' || c1 || ', ',', ',1,mod(l - 1,5) + 1) - 2) col2,
            substr(c1,instr(', ' || c1 || ', ',', ',1,mod(l - 2,5) + 1),instr(', ' || c1 || ', ',', ',1,mod(l - 1,5) + 1) - instr(', ' || c1 || ', ',', ',1,mod(l - 2,5) + 1) - 2) col3,
            substr(c1,instr(', ' || c1 || ', ',', ',1,mod(l - 3,5) + 1),instr(', ' || c1 || ', ',', ',1,mod(l - 2,5) + 1) - instr(', ' || c1 || ', ',', ',1,mod(l - 3,5) + 1) - 2) col4,
            substr(c1,instr(', ' || c1 || ', ',', ',1,mod(l - 4,5) + 1),instr(', ' || c1 || ', ',', ',1,mod(l - 3,5) + 1) - instr(', ' || c1 || ', ',', ',1,mod(l - 4,5) + 1) - 2) col5
      from  (
             select  c1,
                     length(c1) - length(replace(c1,',')) + 5 l
               from  t
    COL1                   COL2                   COL3                   COL4                   COL5
    R1L3                   R1L2                   R1L1
    R2L2                   R2L1
    R3L4                   R3L3                   R3L2                   R3L1
    SQL> SY.

  • Oracle SQL Newbie need help with OE Demo Schema Installation

    Hello everybody !
    I'm hoping some kind soul can help out this SQL newbie.
    First of all i've installed 10g R2 database on a PC running XP SP2.
    Oracle is installed on the root C: drive
    I'm using the SQL Fundamentals I Exam Guide and DBA Handbook (Both Oracle Press)
    as my reference.
    My problem is this.
    I installed the DB and created the demo HR schema without too much problem
    but it's the demo OE schema i'm having problems getting running and cannot
    find anywhere on the net that outlines a step by step SQL process.
    I am using SQL Plus to execute these commands.
    My questions are these:
    -For the default tablespace i specify "users" ?
    -What do i specify for the temporary tablespace ? "temp" ?
    -what directory path do i put for the data files as parameter 6 ?
    I put down "C:\oracle\product\10.2.0\db_1\demo\schema\order_entry" but i suspect it's
    the wrong thing ?
    -What do i specify for the writable directory path for the log files ?
    Is it C:\oracle\product\10.2.0\RDBMS\log
    -And what is "Specify version as parameter 8:" line ?
    I assumed it was the db version but i believe it's wrong.
    Could somebody please help me ? I've already done my CCNA and i wanted to add oracle under my belt.
    I know if i had these few things cleared up for me it would pave the way to actually enjoying learning Oracle :)
    Thank you for any assistance :)

    I installed the DB products from the companion disk and there was no specific mention of the demo schemas. Regardless... They're all there within the demo subfolder and have already created the hr schema.. I just need somebody (I'll pay if necessary) to PLEASE just answer (what would be easy to you guys my questions so i can move on.
    this is a cap from my sql plus..
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 14 15:01:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter user oe account unlock identified by oe;
    User altered.
    SQL>
    specify password for OE as parameter 1:
    Enter value for 1: mewfymewf
    specify default tablespeace for OE as parameter 2:
    Enter value for 2: users
    specify temporary tablespace for OE as parameter 3:
    Enter value for 3: temp
    specify password for HR as parameter 4:
    Enter value for 4: mewfymewf
    specify password for SYS as parameter 5:
    Enter value for 5: mewfymewf
    specify directory path for the data files as parameter 6:
    Enter value for 6: C:\oracle\product\10.2.0\db_1\demo\schema\order_entry
    writeable directory path for the log files as parameter 7:
    Enter value for 7: C:\oracle\product\10.2.0\db_1\RDBMS\log
    specify version as parameter 8:
    Enter value for 8: 10.2.0
    User dropped.
    old 1: CREATE USER oe IDENTIFIED BY &pass
    new 1: CREATE USER oe IDENTIFIED BY mewfymewf
    User created.
    old 1: ALTER USER oe DEFAULT TABLESPACE &tbs QUOTA UNLIMITED ON &tbs
    new 1: ALTER USER oe DEFAULT TABLESPACE users QUOTA UNLIMITED ON users
    User altered.
    old 1: ALTER USER oe TEMPORARY TABLESPACE &ttbs
    new 1: ALTER USER oe TEMPORARY TABLESPACE temp
    User altered.
    Grant succeeded.
    Connected.
    Session altered.
    Session altered.
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/coe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/loe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/poe_10.2.0"
    Session altered.
    ...creating subschema OC in OE
    Type created.
    Type body created.
    Table created.
    FROM inventories i, warehouses w
    ERROR at line 6:
    ORA-00942: table or view does not exist
    FROM product_information p
    ERROR at line 10:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM orders o
    ERROR at line 9:
    ORA-00942: table or view does not exist
    ON oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    TABLE order_item_list OF oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Type altered.
    3 rows updated.
    0 rows updated.
    0 rows updated.
    0 rows updated.
    Commit complete.
    Type body altered.
    Type body altered.
    Type body altered.
    PL/SQL procedure successfully completed.
    SQL>
    Like i can figure out that the "version in parameter 8" has something to do with the coe, poe & loe files
    but i don't know what.
    If somebody can please help me with my questions then i know i can move on.
    Thanks
    Edited by: user11216992 on Jun 14, 2010 3:37 PM

  • New to pl/sql and need help with procedure

    Hello there, I got two tables STAFF and BONUS which are not related by any constraints
    STAFF
    ID_NUMBER HIREDATE SALARY BONUS
    100020 12-MAY-03 13600
    100021 04-NOV-01 30000
    100022 08-APR-02 28000
    100023 08-APR-02 24000
    BONUS
    PERCENTAGE MORE_THAN_YEARS
    0.1 3
    0.15 5
    0.3 7
    0.45 9
    0.5 12
    I am trying to create a procedure that would calculate bonus based on years of employment according to bonus table.
    If employees sysdate -hiredate is greater than 5, he would get salary*0.15%....
    I created this procedure, but I got stuck here.
    I calculated the length of employment for every soldier using cursor in a loop, but I don't know how to get values from bonus table and connect them together.
    Please help me!
    create or replace
    procedure bonus_staff
    as
    cursor c1 is select *from staff;
    bon real;
    begin
    FOR ITEM IN C1
    LOOP
    bon := FLOOR(months_BETWEEN(SYSDATE,ITEM.hiredate)/12)*
    update staff
    set bonus = bon
    where id_number = ITEM.id_number;
    exit when c1%notfound;
    end loop;
    end;
    Thanks in advance..

    update staff
    set bonus = (select percentage
    from bonus
    where more_than_years = (select max(more_than_years)
    from bonus
    where more_than_years <= FLOOR(months_BETWEEN(SYSDATE,staff.hiredate)/12)
    You can do this in pure SQL, which operates on a set, so no PL/SQL is required.
    Sybrand Bakker
    Senior Oracle DBA

  • SQL Loader needs to load default value instead of null

    I am loading data from the flat file into the table. The table primary key consists of 5 fields. One of these fields might be empty in the text file, so on the load I need to substitute it with some default value like "***", for instance. Is there any way to make some conditions in the control file?

    You can either make use of the suggession given by Warren Tollentino or alter table by adding default constraint for the column.

  • Wifi / WPA Security Issue- Need Help- Any solutions??

    I've searched everywhere for a solution to this problem- it seems widespread, many people have had the same, but has anyone solved it? Desperately looking for a solution!!
    Problem: I'm on OSX 10.4.11. Connecting to my wifi router via Airport from my Mac Pro. When any type of security is enabled at the router (WPA, WPA2, WEP, etc.), my internet connection gets dropped after a few minutes. This happens for other Apple devices on the network, like my iBook (also on OSX 10.4.11). Even my iPhone. Only short term solution is turning Airport off and on again. But the problem recurs after a few minutes.
    With security turned off at the router, all is well. (But then I'm on an unsecured network.)
    At first I thought it was the router, but the problem persisted with a new router.
    Any help appreciated... this is very annoying yet I haven't found any solution anywhere...

    Neither. The first was a D-Link and the current is a Tenda.

  • I have issues with 2 websites, they are not loading need help

    This is so frustrating, i have 2 new clients whos websites are working when i use the
    http://caesars.businesscatalyst.com/index
    http://caesars.businesscatalyst.com/index
    I have used business catalyst for other clients and i have set them up exactly the same way, and when i go to the url for the website this is what i get.
    http://www.saporerestuarant.com.au/
    No Start Page
    Could not display this Web Site as no Start Page has been configured. To configure a default starting page, set one of your Web Pages to be the Start Page. Please contact your Administrator for more information.
    I have gone in and added the domain name and set the start page to index, this is driving me insane can someone please help.
    Also just to make sure, what is the ip address that i should be pointing the domains to due to the upgrade im from australia so is it 54.252.148.183
    if someone could help out it would be much appreciated.

    Hey,
    http://www.saporerestuarant.com.au/ is on the new Australia datacenter, so you need to point the A record to 54.252.148.134. This forum document lists all the IP addresses, depending if your site is hosted on the new or old datacenters: http://forums.adobe.com/docs/DOC-1741
    Please let us know if you have any questions on this.
    Thanks,
    Florin

  • Linking Text to a Loader-NEED HELP!!!!!

    I have some text, let's say it's called "Photograph 1". How
    do I use that text to load a .jpg image into a Loader when clicked?
    Should I convert the text into a symbol (button)? I can do that
    with no problem. I just dont know how to use that text link or the
    button to load the image into the loader. Anybody got any code for
    doing this? Is there a behavior that I can use to do this? Any help
    will be appreciated!

    Check the font size in the options bar. If it's really small you won't see it.
    Look in your layer's palette and insure your text is in a layer located above the photo in the stack.
    You might also check your image's resolution in the Image Size dialog. I've seen a couple of posts where someone changes the resolution to 1 with resample turned off...then can't see the text because it's too small even when they have large numbers inserted in the font size box.

  • PL/SQL error, need help!

    Hello,
    I have a piece of Java code that errors out with an "ORA-01850: hour must be between 0 and 23" error. The get_alerts stored procedure returns no results (blank). Once it calls getObject(1), the error is thrown. There doesn't seem to be any issues with the PL/SQL code and I can't identify a data issue, either.
    callableStatement = connection.prepareCall("begin ? := utl_mas.get_alerts(?); end;");
    callableStatement.registerOutParameter(1, OracleTypes.CURSOR);
    callableStatement.setInt(2, memUID);
    callableStatement.execute();
    resultSet = (ResultSet) callableStatement.getObject(1); <----- ERROR
    This error makes no sense to me. I am stumped! Any help is appreciated.

    This error makes no sense to me.
    SQL> alter session set nls_date_format = 'dd-mon-yyyy hh24:mi:ss'
      2  /
    Session altered.
    SQL> select to_date('02-nov-2007 24:00:00')
      2  from dual
      3  /
    select to_date('02-nov-2007 24:00:00')
    ERROR at line 1:
    ORA-01850: hour must be between 0 and 23
    SQL> select to_date('02-nov-2007 23:59:59')
      2  from dual
      3  /
    TO_DATE('02-NOV-2007
    02-nov-2007 23:59:59
    SQL> select to_date('02-nov-2007 00:00:00')
      2  from dual
      3  /
    TO_DATE('02-NOV-2007
    02-nov-2007 00:00:00
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Native SQL query - Need help

    Hi All,
    We have a native SQL query accessing Oracle database(given below).
    Can anyone please let me know what this query is about and how can we fine tune the query?
    SELECT O.OBJECT_NAME ,
                   H.SID,
                   HS.MACHINE,
                   HS.PROCESS,
                   W.SID,
                   WS.MACHINE,
                   WS.PROCESS,
                   H.CTIME,
                   W.CTIME,
                   WS.ROW_WAIT_OBJ#,
                   WS.ROW_WAIT_FILE#,
                   WS.ROW_WAIT_BLOCK#,
                   WS.ROW_WAIT_ROW#,
                   HP.SPID,
                   WP.SPID
            FROM V$LOCK H, V$LOCK W, V$LOCK I, V$LOCK I2, ALL_OBJECTS O,
                 V$SESSION HS, V$SESSION WS, V$PROCESS HP, V$PROCESS WP
            WHERE   H.ID1 = W.ID1
            AND     H.SID <> W.SID
            AND     H.TYPE IN ('TX','DL')
            AND     H.REQUEST = 0
            AND     H.SID = I.SID
            AND     I.TYPE = 'TM'
            AND     I.ID1 = O.OBJECT_ID
            AND     I.ID1 = I2.ID1
            AND     W.SID = I2.SID
            AND     I2.TYPE = 'TM'
            AND     H.SID = HS.SID
            AND     W.SID = WS.SID
            AND     HS.PADDR = HP.ADDR
            AND     WS.PADDR = WP.ADDR
            INTO :EXCL_LOCK_WAITERS-OBJ_NAME   ,
                 :EXCL_LOCK_WAITERS-HOLDER_SID ,
                 :EXCL_LOCK_WAITERS-H_HOSTNAME ,
                :EXCL_LOCK_WAITERS-HOLDER_PID ,
                 :HOLDER_PID ,
                 :EXCL_LOCK_WAITERS-WAITER_SID ,
                 :EXCL_LOCK_WAITERS-W_HOSTNAME ,
                :EXCL_LOCK_WAITERS-WAITER_PID ,
                 :WAITER_PID ,
                 :EXCL_LOCK_WAITERS-HELD_SINCE ,
                 :EXCL_LOCK_WAITERS-WAITSSINCE,
                 :ROW_WAIT_OBJ,
                 :ROW_WAIT_FILE,
                 :ROW_WAIT_BLOCK,
                 :ROW_WAIT_ROW,
                 :H_PROCESS,
                 :W_PROCESS
          ENDEXEC
    Thanks in advance.
    Neethu Mohan

    Hi Neethu,
    It gives you an overwiew of blocking Oracle sessions.
    1. In general, the SQL checks Oracle sessions (SID's) that were requirering a DML lock ('TM') and now holding row locks (TX)  to prevent destructive interference of simultaneous conflicting DML or DDL operations. DML statements automatically acquire both table-level locks and row-level locks ('TX')  => holders
    It joins these with the sessions that are waiting of releasing the lock by the holders  => waiters.
    2. it retrieves the detail information wich  Oracle process , the object (table) , it's row , block  and file
    are affected by the locks.
    3. Normally, the locks are only hold for a short period of time. If you have blocking sessions it may be of a log running task (i.e. mass data update of a table) ; but it could also be a application bug due to improper handling of concurrent updates of the same object.
    4. Tuning
    V$tables are expensive to query: Why?
    v$ tables are generally Oracle memory structures.
    v$ tables are not read consistent.
    v$ tables require latches to access -- cannot modify and read memory at the same
    time.
    heavy access to v$ tables like this may cause some serious heavy duty contention.
    Especially if you self join V$lock several times.
    So the best would be to save the contents of V$LOCK in some table:
    Create table mylocks as select * from v$lock;
    Use that table for self-joining and joins to the other tables.
    You can also CTAS the other v$ tables to bypass the performance bottleneck while retrieving
    v$ directly.
    You can empty or drop the created tables any time for new data.
    Because you want to investigate only lock hold for a longert time  to copy the v$ memory structures into
    physical tables is not a disadvantage. You certainly will wait longer on finishing your query
    instead of copy them into the tables.
    Hope this helped
    yk

Maybe you are looking for

  • T-Code CLVL

    Hi, I have a problem with TCode CLVL. I am creating some 'Z' Profile and copying some of the Display Blocks from the standard, and letting some AS IT IS. Then I am adding some fields to the copied Display Blocks and transporting the request to other

  • Library Storage and backup, really need equipment and workflow information.

    I have about 700 Gigs of files on three external hard drives, which are backed up to three more. My copy of Aperture arrived today, and, after reading the included booklet, I still don't understand the basic storage, backup and workflow structure of

  • Why does the wifi keep disconnecting on the Macbook Air (Bought September 2013) ?

    Is this only my MacBook Air, or is it with everyones. The wifi keeps getting disconnected and i would have to switch off and then switch on the wifi in order to reconnect.

  • Why won't the entire Win CS6 Suite install?

    Product: Windows CS6 Web and Design Premium Installation context: Setup > Run as Adminstrator Applications that will NOT install: DW FW InDesign Flash System Hardware: HP HPE-560Z AMD Phenom II x6 1090T 3.2 GHz processor ATI HD 6700 series video card

  • GETTING DATA FROM TWO TABLES.

    Hi, I am having i_matgrp table with fields matkl , l_sum , l_t_sum. I need to get material group description(wgbez,wgbez60) from t023t table for each matkl in i_matgrp and put all 3 fields and descriptions(2 fields) in to a single table i_display for