problem with immediate execution

Hi all
I use 10g db.
I wrote a database procedure. When I call front end (forms 6i) I get the error message
ORA-00911: invalid character
ORA-06512:at schema.update_tables line 10
and here is my procedure
create or replace procedure update_tables is
BEGIN
declare
lstring varchar(100) := 'update ';
lvalue varchar2(10) := 'LVM';
begin
for i in (select table_name,column_name from user_tab_columns where column_name like '%_COMPANY')
loop
lstring := lstring||i.table_name || ' set '||i.column_name || '= ' ||  chr(39) || lvalue || chr(39) || ' ; ' ;
execute immediate lstring;
end loop;
end;
END;
/
What could be gone bad?

Thank you...

Published by: GD on May 19, 2012 21:36

Is chr (39) a quote on your system?

Did you try my example or something else?
(I've tried before, I posted it).

Here is a complete example.
I changed it to my previous post to use a variable binding to remove the tank (39).
It will also help if lvalue contains a quote.

create table hutest (my_company varchar2(30));

Table created.

insert into hutest values('djhg');

1 row created.

create or replace procedure update_tables is
BEGIN
declare
lstring varchar(100) := 'update ';
lvalue varchar2(10) := 'LVM';
begin
for i in (select table_name,column_name from user_tab_columns where column_name like '%_COMPANY')
loop
lstring := lstring||i.table_name || ' set '||i.column_name || '= :val';
dbms_output.put_line(lstring);
execute immediate lstring using lvalue;
end loop;
end;
END;
/

Procedure created.

set serveroutput on size 20000

exec update_tables
update HUTEST set MY_COMPANY= :val                            <------ From dbms_output

PL/SQL procedure successfully completed.

select * from hutest;

MY_COMPANY
------------------------------
LVM

1 row selected.

Published by: HU 2012-05-20 08:59

Tags: Database

Similar Questions

  • Changing table via the package with immediate execution (problem)

    Hello

    I have a unusual problem. I have a package that contains the procedure that via execute immediate statement, creates a table on which he performs different actions for example:

    -alter table some_owner.dummy_table noparallel

    -create index some_owner.idx_name on some_owner.dummy_table (column)...

    But I only managed to run move and create synonym table/public via execute immediate statement. Actions as alter table and create index fails with error ORA-01031: insufficient privileges.

    Note If call these commands outside the package (a simple script) this all done OK.

    I found a way, where I set the AUTHID CURRENT_USER command create package statement. In this way all the actions executed OK.

    I wonder why I can't change the table via the package with immediate execution on a table that is in the tablespace "SOME_TABLESPACE" and the title of owner "SOME_OWNER", without putting the AUTHID command on the package.

    There must be a problem why a package cannot change the table which is owned by the user 'SOME_OWNER '.

    All useful responses would be appreciated.

    I have a unusual problem.

    No - you don't have. This question has been answered SEVERAL times on this forum and others.

    But I only managed to run move and create synonym table/public via execute immediate statement. Actions as alter table and create index fails with error ORA-01031: insufficient privileges.

    OK - your username doesn't have privileges to do these operations or only received privileges through roles.

    Roles are DISABLED in named PL/SQL blocks that use of the AUTHOR's rights.

    Note If call these commands outside the package (a simple script) this all done OK.

    I found a way, where I set the AUTHID CURRENT_USER command create package statement. In this way all the actions executed OK.

    Of course - the roles are NOT disabled in named PL/SQL blocks that use the rights of the APPELLANT or in anonymous blocks.

    I wonder why I can't change the table via the package with immediate execution on a table that is in the tablespace "SOME_TABLESPACE" and the title of owner "SOME_OWNER", without putting the AUTHID command on the package.

    Well now you know!

  • Procedure failed with ORA-01403, associated with immediate execution, captured

    This procedure compiles without error. Its purpose is to copy the sequence of one schema to another object. After it failed with ORA-01403, I added exception code of capture (see the comments in the code).

    A few notes:

    1. I started the proceedings with exec copy_sequence ('ADDRESS_SEQ', 'SST', 'TEST1');

    2. the first sql string is built correctly since I can see in the console output:

    Select last_number in the all_sequences where sequence_owner = upper('TSS') and upper('ADDRESS_SEQ') = sequence_name

    I can run this SQL command, and returns a real value;

    Here is the procedure

    SET SERVEROUTPUT ON;

    create or replace procedure copy_sequence (seq VARCHAR2, prod_schema VARCHAR2, VARCHAR2 test_schema)

    as

    Val number (21);

    s_sql varchar2 (200);

    Start

    s_sql: = ' select last_number in the all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';

    -immediate' select last_number in the Vale of all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';

    Dbms_output.put_line ('sql 1 ' | s_sql);

    execute immediate s_sql in val;  ---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The code does not work here!

    Dbms_output.put_line ('val' |) Val);

    s_sql: = 'delete the sequence'. test_schema |'. ' || FF.;

    Dbms_output.put_line ('sql 2 ' | s_sql);

    -execution immediate s_sql;

    s_sql: = 'create the sequence'. test_schema |'. ' || Seq |' minvalue maxvalue 1 999999999999999999999 begin by ' | Val | 'increment of 1';

    Dbms_output.put_line ('sql 3 ' | s_sql);

    -execution immediate s_sql;

    -Add the following after procedure thown ORA-01403: no data found

    exception when TOO_MANY_ROWS then DBMS_OUTPUT.put_line ('TOO_MANY_ROWS error');

    When NO_DATA_FOUND then DBMS_OUTPUT.put_line ('error NO_DATA_FOUND');

    While some other then raise_application_error (-20011, "Unknown Exception in this procedure");

    end;

    /

    Hoek wrote:

    The user (no SYSTEM, SYS, and SYSTEM are special, you should not use them unless you have TO) execution of the procedure must have the necessary privileges granted directly, bypassing a role...

    ??? There is nothing special about SYS or SYSTEM in what concerns them stored procedures. SYS by default is granted directly SELECT ANY SEQUENCE, so it does not work for the owner of MS by SYS. SYSTEM is therefore not:

    Scott@pdborcl12 > create sequence s;

    Order of creation.

    Scott@pdborcl12 > create or replace
    2 procedure system.p1
    3 is
    number of v_last_value 4;
    5. start
    6. Select last_number
    7 in v_last_value
    8 of all_sequences
    9 where sequence_owner = 'SCOTT '.
    10 and s = sequence_name ';
    11 end;
    12.

    Created procedure.

    Scott@pdborcl12 > system.p1 exec.
    BEGIN system.p1; END;

    *
    ERROR on line 1:
    ORA-01403: no data found
    ORA-06512: at "SYSTEM. "P1", line 5
    ORA-06512: at line 1

    Scott@pdborcl12 > grant select on s to the system;

    Grant succeeded.

    Scott@pdborcl12 > system.p1 exec.

    PL/SQL procedure successfully completed.

    Scott@pdborcl12 >

    SY.

  • Function in pipeline with immediate execution

    Hello Experts,

    I created a tube lined function to run immediately, cause of sub condition;
    (1) columns where clause dynamically.
    (2) I want to know the data stored in above the dynamic columns.
    (3) I want to use in the report, so I don't want to insert it into a table.

    I have created a TYPE, then thanks to run immediately, I got the query and the result of this query will be stored in the TYPE.
    But when you call the function I get
    ORA-00932: inconsistent data types: expected - was -.

    Below is my function and type, let me know I am wrong and it is my correct logic.
    CREATE OR REPLACE TYPE OBJ_FPD AS OBJECT
                      (LOW_PLAN_NO VARCHAR2 (40),
                       FPD VARCHAR2 (5),
                       SERIAL_NO NUMBER,
                       CEDIA_CODE VARCHAR2 (2),
                       DT DATE);
    ----                                      
    CREATE OR REPLACE TYPE FPD_TBL_TYPE AS TABLE OF OBJ_FPD;
    ----
    CREATE OR REPLACE FUNCTION FUNC_GET_FPD_DATE (P_LOW_PLAN_NO    VARCHAR2,
                                                  P_CEDIA_CODE     VARCHAR2,
                                                  P_SERIAL_NO      NUMBER)
       RETURN FPD_TBL_TYPE
       PIPELINED
    AS
       CURSOR C1
       IS
              SELECT 'FPD' || LEVEL TBL_COL
                FROM DUAL
          CONNECT BY LEVEL <= 31;
    
       V_STR        VARCHAR2 (5000);
    
       V_TBL_TYPE   FPD_TBL_TYPE;
    BEGIN
       FOR X IN C1
       LOOP
          V_STR :=
                'SELECT A.low_PLAN_NO,
               A.FPD,
               A.SERIAL_NO,
               A.cedia_code,
               TO_DATE (
                     SUBSTR (FPD, 4, 5)
                  || ''/''
                  || TO_CHAR (C.low_PLAN_PERIOD_FROM, ''MM'')
                  || ''/''
                  || TO_CHAR (C.low_PLAN_PERIOD_FROM, ''RRRR''),
                  ''DD/MM/RRRR'')
                  DT FROM ( SELECT low_PLAN_NO, '
             || ''''
             || X.TBL_COL
             || ''''
             || ' FPD, '
             || X.TBL_COL
             || ' SPTS, SERIAL_NO, cedia_code FROM M_low_PLAN_DETAILS WHERE NVL('
             || X.TBL_COL
             || ',0) > 0 AND SERIAL_NO = '
             || P_SERIAL_NO
             || ' AND cedia_code = '
             || ''''
             || P_CEDIA_CODE
             || ''''
             || ' AND low_PLAN_NO = '
             || ''''
             || P_LOW_PLAN_NO
             || ''''
             || ') A,
               M_low_PLAN_DETAILS B,
               M_low_PLAN_MSTR C
         WHERE     A.low_PLAN_NO = B.low_PLAN_NO
               AND A.cedia_code = B.cedia_code
               AND A.SERIAL_NO = B.SERIAL_NO
               AND B.low_PLAN_NO = C.low_PLAN_NO
               AND B.CLIENT_CODE = C.CLIENT_CODE
               AND B.VARIANT_CODE = C.VARIANT_CODE
    CONNECT BY LEVEL <= SPTS';
    
          EXECUTE IMMEDIATE V_STR INTO V_TBL_TYPE;
    
          FOR I IN 1 .. V_TBL_TYPE.COUNT
          LOOP
             PIPE ROW (OBJ_FPD (V_TBL_TYPE (I).LOW_PLAN_NO,
                                V_TBL_TYPE (I).FPD,
                                V_TBL_TYPE (I).SERIAL_NO,
                                V_TBL_TYPE (I).CEDIA_CODE,
                                V_TBL_TYPE (I).DT));
          END LOOP;
       END LOOP;
    
       RETURN;
    EXCEPTION
       WHEN OTHERS
       THEN
          RAISE_APPLICATION_ERROR (-20000, SQLCODE || ' ' || SQLERRM);
          RAISE;
    END;
    Waiting for your point of view.

    Kind regards

    ORA Ash wrote:
    This result is coming as FPD4 has 2 as a value, then there will be two records to the result with column date (DT).
    Your query is perfect only thing is that I have to go to connect the name of the column immediately above as below;

    AND FPD = 'FPD14'
    CONNECT BY LEVEL <= SPTS;
    

    So, if possible, please let me know is there a better way to spend the column name, to get the correct data.

    Well, we don't have any example for working with information and the expected results of these data in the example, then it is very difficult for us to understand exactly what is affected by the query.

    What happens if you delete the connection by clause? Why must you connect him by clause in your query? It is not clear what you include that for (like I said).

  • Problem in IMMEDIATE EXECUTION

    I need to update some columns in a table.
    But the columns are dynamic. I can update 1, 20r 3 or more columns of this table.

    I tried running with the Execute immediate statement.
    But I get the error message (ORA-01747)

    : 1(below in code) contains the name of the column with the values. (Example:Column2 = Column2.value, Column3 = Column3.value)
    There may be more than 3 or more columns to be updated.
    CREATE OR REPLACE PROCEDURE PR_Bulk_CA(pn_SSCA_ID_VARRAY          BULK_UPDATE_CA_VARRAY
                                          ,pv_set_string              Varchar2
                                          ,pn_success                 OUT number
                                          )    
                                          Is
     sql_stmt  VARCHAR2(32000);
    
    BEGIN
         
    sql_stmt:= 'update table_A
                   SET :1
               WHERE  ID IN (select ID from table_A ca
                       where  ca.status in (20700,20710,20720)
                         and  ca.id in (select * from table(:2)))';
    
    EXECUTE IMMEDIATE sql_stmt USING pv_set_string,pn_SSCA_ID_VARRAY;                      
    
    COMMIT;
                     
    pn_success:=0;
    
    EXCEPTION
        WHEN OTHERS THEN
    
    pn_success:=-1;
    
    END PR_Bulk_CA;

    You can't pass the name of the column as a bind variable.

    Replace your code (passing only the varray as a bind variable):

    sql_stmt:= 'update table_A
                   SET ' || pv_set_string || '
               WHERE  ID IN (select ID from table_A ca
                       where  ca.status in (20700,20710,20720)
                         and  ca.id in (select * from table(:1)))';
    

    HTH

  • Help with IMMEDIATE EXECUTION and drop

    Hi all

    We strive to create a procedure to do the following:

    * We have in the database of the tables named as C$ _XXXXXXXXX
    * We want to drop some of these tables with a common prefix (Fe C$ _1203101)

    DECLARE
    v_sql VARCHAR2 (300);
    BEGIN
    SELECT 'DROP TABLE ODISTAG.' | TABLE_NAME | « ; » IN v_sql FROM USER_TABLES WHERE TABLE_NAME LIKE ' C$ _1203101% ';
    EXECUTE IMMEDIATE v_sql;
    END;

    But we are getting this error:


    Error report:
    ORA-00911: invalid character
    ORA-06512: at line 5
    00911 00000 - "invalid character".
    * Cause: identifiers may not start with any character other than ASCII
    letters and numbers. $# _ are allowed after the first
    character. May contain identifiers surrounded by doublequotes
    any character other than a quotation mark. Other quotes
    (q' #... #') cannot use spaces, tabs or as carriage returns
    delimiters. For all other settings, consult the SQL language
    Reference manual.
    * Action:


    Any help on this please?

    Thank you!

    You don't need the semicolon.

  • Update not available with immediate execution?

    Hello;

    When I run this code, I get no error (s) (and I see the dbms_output [UPDATE]) but the update is not effective:
    WHENEVER OSERROR EXIT OSCODE
    set head off
    set scan on
    set verify off
    set flush off
    set feedback off
    set linesize 410
    set pagesize 0
    set serveroutput on size 1000000
    
    DECLARE
    ...
    BEGIN
    collection := get_tables_with_column('REF_PLAN');
    
    ...
    IF ... THEN
    dbms_output.put_line('[UPDATE]');
         EXECUTE IMMEDIATE 'UPDATE ' || collection(i) ||' SET REF_PLAN=:quatre_champ WHERE FAM_SIM=:prem_champ AND PRISE_V1P=:deux_champ AND BROCHE_V1P=:trois_champ' USING quatre_champ,prem_champ,deux_champ,trois_champ;
    COMMIT;
    ...
    What is the problem? Thanks for your help, regards.

    Well, add:

    dbms_output.put_line(SQL%ROWCOUNT);

    after EXECUTE IMMEDIATE. Most likely update targets 0 lines. If so, print and check the prem_champ, the deux_champ, the values of trois_champ.

    SY.

  • Some problems with the execution of process OWB flow

    We have several process flows in OWB. The main process flow called several Sub process flow, for example MAIN_PRF (main process stream) PRF1, PRF2, FRP - 3, PRF4 and PRF5 and the sub process flows.

    Each of the 5 process flow run one after the other that is first PRF1, PRF2, next FRP - 3 and so on in the series. A few times when we run the MAIN_PRF main process flow, some of the streams of process gets skipped. For example, it runs PRF1, PRF2, PRF4, PRF5. It ignores the FRP-3. It's very irratic. Sometimes if redeploy us the process flow, it works very well. We do not know what causes this problem. We checked the IDS of transition state and everything seems OK.

    Hello!

    I think I know the problem, sometimes, when you remove and then add a few activities (subpro, cards), outgoing transitions blend. Right-click on your subprocess in your process Editor, click on edit details. Then out of the Transitions.
    You will see the next outgoing transition after execution of this unique process. If sure that the next thing that you want to run the command id 0, sometimes if there is more then one outgoing transition, they get the same value when remove you / add the process.

    You can change the command id by dragging the row up/down in the list.

    Let me know if it resolve you anything.

    See you soon

  • problem with VI execution to the use of the structure of the event

    I close with this sub - VI, but it reacts as expected. My logic was 1 tables initialized with sequence, then the structure of the event in many different cases. The goal is to read a 2D .cal file 1 2 tables. Cells can be modified manually by typing in the text box, then clicking on the load button. Slider determines with cell in the index. Certain sequences of events work either

    (1) download the cal file

    (2) move the cursor

    Type 3) x input box

    (4) load x value

    Other sequences of events are the VI does not, i.e.

    (1) type x entry box

    (2) load x value

    Can some kind soul tell me the error of my ways?

    Walt Donovan

    First glance only:

    You need to connect the tables 1 d in any event, other that they clear.

  • Help with IMMEDIATE EXECUTION

    Hello people can help you Execute Immediate below set out? I'm a little confused on how to use it.

    #!/bin/sh
    
    sqlplus -s ${DB_USER} << EOF
    
    
    SELECT 'ALTER TABLE PANDORA.'||table_name||' DROP PARTITION '||partition_name||';'
    FROM user_tab_partitions
    WHERE TABLE_NAME IN ('SIU', 'NGME')
    AND partition_name = (SELECT MIN(partition_name) 
                          FROM user_tab_partitions
                          WHERE TABLE_NAME IN ('NGME')
                          AND partition_name <> 'DUMMY'
                          );
                                      
    SELECT 'ALTER TABLE PANDORA.'||table_name||' ADD PARTITION WEEK'||TO_CHAR(TO_NUMBER(REPLACE(partition_name,'WEEK'))+1)||';'
    FROM user_tab_partitions
    WHERE TABLE_NAME IN ('SIU', 'NGME')
    AND partition_name = (SELECT MAX(partition_name) 
                          FROM user_tab_partitions
                          WHERE TABLE_NAME IN ('NGME')
                          AND partition_name <> 'DUMMY'
                          );
       
    SELECT 'ALTER INDEX PANDORA.IDX_SERVED_IMSI MODIFY PARTITION '||partition_name||' UNUSABLE;'
    FROM user_tab_partitions
    WHERE TABLE_NAME = 'SIU'
    AND partition_name = (SELECT MAX(partition_name) 
                          FROM user_tab_partitions
                          WHERE TABLE_NAME IN ('NGME')
                          AND partition_name <> 'DUMMY'
                          );
    
    EXIT
    EOF 
    

    Thank you in advance.

    Something like

    BEGIN

    I'm IN)

    SELECT table_name, nom_partition

    Of user_tab_partitions

    WHERE TABLE_NAME IN ("SIU", "NGME")

    AND nom_partition = (SELECT MIN (partition_name)

    Of user_tab_partitions

    WHERE TABLE_NAME IN ("NGME")

    AND nom_partition <> 'DUMMY '.

    )

    ) LOOP

    RUN IMMEDIATELY "ALTER TABLE PANDORA." | i.table_name |' DROP PARTITION '. i.PARTITION_NAME;

    END OF LOOP:

    END;

    NOT TESTED.

  • ERROR WITH IMMEDIATE EXECUTION (ORA-00936)

    Hello

    I am trying to implement this statement but I get this error message (ORA-00936)

    RUN IMMEDIATELY 'REMOVE'. V_TABLE_DETAIL_NAME | ' WHERE ' | V_COLUMN_DETAIL_NAME |' = ' | TO_CHAR (P_DEL_VAL);



    Kind regards

    Hello

    I assume you are using below in the database. Try this...

    EXECUTE IMMEDIATE 'DELETE FROM '||V_TABLE_DETAIL_NAME||' WHERE '||V_COLUMN_DETAIL_NAME ||' = '''||TO_CHAR(P_DEL_VAL)||'''';
    

    -Clément

  • Problem with the execution of the forms...

    Hello world...

    I installed Oracle developer suite 10.1.2 and developed a form using the form generator . After compiling the form,
    When iam trying to RUN the form, browser opens, but nothing is displayed on the screen...

    Before the race, I started the Forum OCJ4 ...

    PLZ anyone solve my problem...

    Hello

    Solution : go through this thread Oracle Forms 10 g Run problem in Internet Explorer

  • Problem with the execution of the procedure

    Hello
    Kindly help me. It is a matter of urgency

    When I execute the block anonymous as @Tmp.sql, it has successfully passed.
    The anonymous block
    DECLARE
     TYPE curVar IS REF CURSOR;
      curIndex            curVar;
      IDX_Name            varchar2(38);
      parseString         varchar2(5000);
      parseString2        varchar2(5000);
      int_cur             int;
      bck                 number;
    BEGIN
    
      parseString :=                'select index_name from USER_INDEXES ';
      parseString := parseString || ' where index_name not like '||chr(39)||'%MXTEMPOID%'||chr(39);
    
    --  DBMS_OUTPUT.PUT_LINE(parseString);
    
      open curIndex for parseString;
          loop
            fetch curIndex into IDX_Name;
            exit when (curIndex%NOTFOUND);
    
            parseString2 :=                 'alter index '||IDX_Name||' rebuild  online compute statistics parallel';
    
    --    DBMS_OUTPUT.PUT_LINE(parseString2);
          int_cur := dbms_sql.open_cursor;
          dbms_sql.parse(int_cur,parseString2,dbms_sql.native);
          bck := dbms_sql.execute(int_cur);
          dbms_sql.close_cursor(int_cur);
    --        DBMS_OUTPUT.PUT_LINE('Index '||IDX_Name||' rebuilt.');
    
          end loop;
        close curIndex;
    
        -- DBMS_OUTPUT.PUT_LINE('All Indexes are rebuilt.');
    
    END ;
    But when I'm putting in a procedure and trying to run it, I get the error:
    create or replace
    PROCEDURE REBUILD_INDEX AS
      TYPE curVar IS REF CURSOR;
      curIndex            curVar;
      IDX_Name            varchar2(38);
      parseString         varchar2(5000);
      parseString2        varchar2(5000);
      int_cur             int;
      bck                 number;
    BEGIN
    
      parseString :=                'select index_name from USER_INDEXES ';
      parseString := parseString || ' where index_name not like '||chr(39)||'%MXTEMPOID%'||chr(39);
    
    --  DBMS_OUTPUT.PUT_LINE(parseString);
    
      open curIndex for parseString;
          loop
            fetch curIndex into IDX_Name;
            exit when (curIndex%NOTFOUND);
    
            parseString2 :=                 'alter index '||IDX_Name||' rebuild  online compute statistics parallel';
    
    --    DBMS_OUTPUT.PUT_LINE(parseString2);
          int_cur := dbms_sql.open_cursor;
          dbms_sql.parse(int_cur,parseString2,dbms_sql.native);
          bck := dbms_sql.execute(int_cur);
          dbms_sql.close_cursor(int_cur);
    --        DBMS_OUTPUT.PUT_LINE('Index '||IDX_Name||' rebuilt.');
    
          end loop;
        close curIndex;
    
        -- DBMS_OUTPUT.PUT_LINE('All Indexes are rebuilt.');
    
    END REBUILD_INDEX;
    Run
       BEGIN
       REBUILD_INDEX();
       END;
    Error
    Connecting to the database qqraida.
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at "QQRAIDA.REBUILD_INDEX", line 25
    ORA-06512: at line 2
    Process exited.
    Disconnecting from the database qqraida.
    Published by: Dhabas on August 9, 2011 12:55

    Dhabas wrote:
    Thanks for your quick response. I saw the error.
    But, how then I don't get the same with anonymous block?

    Code that runs through procedures/functions/packages is based on explicit grants to the user who runs it.
    Anonymous blocks use subsidies based on the roles that are ignored by the functions/procedures/packages.

    Do not depend on subsidies based on the roles for your access, get explicitly grants to the user.

  • Error with immediate execution in Oracle 10 g of form

    Hi all

    I use Oracle Forms 10 g. I have a remote database and I've created a database link to the db. Now, I need to update some data in this database from my system using forms. To do this, I wrote a statement such as:

    run immediately "SELECT GLH_CODE_SEQ. NEXTVAL@WB IN '. GLHCODE | ' THE DOUBLE '.   (glh_code_seq is a sequence in remote db)

    but his error showing as error 591: this feature is not supported in programs on the client side.

    then I changed the statement

    forms_ddl ("SELECT GLH_CODE_SEQ. NEXTVAL@WB IN '. GLHCODE | (' DOUBLE ');

    Now that the error is not burst but the variable is not under any value.

    The same statement (forms_ddl) works fine on sql * more.

    Someone please help me if I do something wrong or suggest if anything to do about it.

    Thank you

    Sandeep

    write your code in the database accordingly.  call function of database forms.

  • Problems with the resource of labview execution 2 visa

    I use two loops in a labview code all-in - connects to a motor controller and other is used to connect to a multimeter agilent. As soon as I run this VI, the loop to connect to the controller stop working and only used to configure agilent machine works. If I remove the second loop (connecting to the computer of agilent), the code works fine. I guess it's a problem with the execution priority. Could you please review the attached code and let me know any problems with it.

    COM1 and Com3 share an interruption.

    Go to the BIOS of the computer and set the port to Com3 to the Com2 port, then they will be on their own interrupt and see if that helps.

    FYI

    COM1 and Com3 share IRQ3

    COM2 and Com4 share IRQ4

Maybe you are looking for

  • execution time varied in image processing

    Hello I designed a vi to process the images eyes and calculate its Center. However I seem to be getting various run time sometimes 100 ms sometimes > 200ms. I used the structure of flat sequence and timers to measure the runtime of the vi. I had a fe

  • Measures of true bipolar voltage with USB 6008/6009

    The 6008 or 6009 to make true bipolar (positive and negative voltages referenced to GND) measurements?  If not, what is the solution to purchase cheaper data this feature? Thank you.

  • BlackBerry Smartphones SMS is slow?

    I'm relatively new to the test of BB together, and I noticed that my regular TEXT becomes slow (IE sending messages, open those unread, etc.). I tried pulling the battery a couple of times but its still not really help. Any suggestions? Thank you!!

  • Specific main question - want to same leader between different text size, can't seem to get it...

    Hi all, I'm having a main problem I thought I found a few guidelines on fixing, but nothing I changed the question.I have a body of text with paragraphs alternating and headers. The headers are 13pt, the text of paragraph 11.  I want the main for all

  • Script required for vsphere

    PowerShell script to extract the information below the selected clusters.ESX connectivity to data warehousesESX network connectivity,HA settingsESX patch levelHBA FirmwarePowerPath installion conformation.Thanks in advance.