Running DBMS_SQL.EXECUTE in Oracle Select Statment

HI i have table Emp which has 3 column namely name,st_date and end_date. table has 3 records as below:
name st_date end_date
X sysdate+10 sysdate+50
Y sysdate+12 sysdate+30
Z sysdate+15 sysdate+35
Now if i run the run select statment select * from emp, it will show above values. but i need the values in the columns to be executed and shown in the select statemtn with alias column i.e. assign sysdate is : 01-jan-2013
so i need the o/p to be:
X 20-Jan-2013 19-Feb-2013
Y 22-Jan-2013 30-Jan-2013
Z 15-Jan-2013 04-feb-2013
i dont want to create a function in plsql and pass the values to it. if u use select name,dbms_sql.execute(dbms_sql.parse(dbms_sql.open(),'select st_date from emp'))) is ok for me.
Advance Thanks for your help!!
i have restriction not able to create function, so i need to try in the sql statment only!!

997199 wrote:
HI i have table Emp which has 3 column namely name,st_date and end_date. table has 3 records as below:
name st_date end_date
X sysdate+10 sysdate+50
Y sysdate+12 sysdate+30
Z sysdate+15 sysdate+35
Now if i run the run select statment select * from emp, it will show above values. but i need the values in the columns to be executed and shown in the select statemtn with alias column i.e. assign sysdate is : 01-jan-2013
so i need the o/p to be:
X 20-Jan-2013 19-Feb-2013
Y 22-Jan-2013 30-Jan-2013
Z 15-Jan-2013 04-feb-2013
i dont want to create a function in plsql and pass the values to it. if u use select name,dbms_sql.execute(dbms_sql.parse(dbms_sql.open(),'select st_date from emp'))) is ok for me.
Advance Thanks for your help!!
i have restriction not able to create function, so i need to try in the sql statment only!!How do I ask a question on the forums?
SQL and PL/SQL FAQ
what datatype are st_date & end_date?

Similar Messages

  • Sql is too long for DBMS_SQL.EXECUTE()

    The code as the following works. However if I run it with my original SQL statement(in quotes), this procedure does not have results shown. How to solve the problem?
    create or replace procedure dynamic_sql(p_fail IN tab.DisFai1_1%type) IS
    v_counter NUMBER;
    v_sqlClause varchar2(1000);
    v_cursorID INTEGER;
    v_return_rows INTEGER;
    v_c number;
    BEGIN
    v_cursorID := DBMS_SQL.OPEN_CURSOR;
    FOR i IN 1..17 LOOP
    /* v_sqlClause := 'BEGIN select count(*) from tab where DISFAI'||i||'_1 LIKE :f OR DISFAI'||i||'_2 LIKE :f OR DISFAI'||i||'_3 LIKE :f OR DISFAI'||i||'_4 LIKE :f OR DISFAI'||i||'_5 LIKE :f OR DISFAI'||i||'_6 LIKE :f OR DISFAI'||i||'_7 LIKE :f OR DISFAI'||i||'_8 LIKE :f OR DISFAI'||i||'_9 LIKE :f;END;';*/
    v_sqlClause := 'BEGIN select count(*) INTO :counter from bhu where DISFAI'||i||'_1 LIKE :f;END;';
    DBMS_OUTPUT.PUT_LINE('SQL= '||v_sqlClause);
    DBMS_SQL.PARSE(v_cursorID, v_sqlClause, DBMS_SQL.V7);
    dbms_sql.bind_variable(v_cursorID, ':f', p_fail );
    dbms_sql.bind_variable(v_cursorID, ':counter', v_counter );
    v_return_rows := DBMS_SQL.EXECUTE(v_cursorID);
    dbms_sql.variable_value(v_cursorID, ':counter', v_counter );
    DBMS_OUTPUT.PUT_LINE('there are '||v_counter||' rows.');
    END LOOP;
    dbms_sql.close_cursor(v_cursorID);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_SQL.CLOSE_CURSOR(v_cursorID);
    END;

    Christian was referring to EXECUTE IMMEDIATE
    declare
       sql_stmt    VARCHAR2(200);
       v_count     PLS_INTEGER;
       v_deptno    PLS_INTEGER := 20;
    begin
       sql_stmt := 'SELECT count(*) FROM emp WHERE deptno = :id';
       EXECUTE IMMEDIATE sql_stmt INTO v_count USING v_deptno;
       dbms_output.put_line(v_count);
    end;
    /For more information see PL/SQL User's Guide and Reference Chapter 10
    http://download-west.oracle.com/docs/cd/A87860_01/doc/appdev.817/a77069/10_dynam.htm#4376

  • ORA-01704 error while running dbms_sql for a clob

    Hi,
    I'm running following code and getiing error ORA-01704: string literal too long
    declare
    cursor_name INTEGER;
    t1 clob;
    t2 clob;
    r number;
    begin
    select a1 into t1 from temp
    where n1 = 'test';
    t2 := 'insert into temp (a1,n1) values (''' || t1 || ''',''test12'')' ;
    cursor_name := dbms_sql.open_cursor;
    DBMS_SQL.PARSE(cursor_name, t2, DBMS_SQL.NATIVE);
    r := DBMS_SQL.EXECUTE(cursor_name);
    DBMS_SQL.CLOSE_CURSOR(cursor_name);
    dbms_output.put_line(r);
    end;
    clob t1 is 32598 butes long.
    in temp table a1 is a clob.
    Could anyone please tell me why the error and how to solve the problem.
    Thanks
    Tarun

    This is one of the many posts over here where the OP can not be bothered to include the four digit version number.
    I can never understand why the version number is left out other than out of rudeness, arrogance and utter laziness.
    Apparently the small lot here responding should be clairvoyant and/or remember all version numbers.
    I'm going to call for a boycot of people posting without version number!!!!
    As to the code:
    There is no reason why you are using dbms_sql here, you are misusing Oracle, and it should have been static sql.
    At least t2 should have been a bind variable, dbms_sql does support bind variables!
    As far as I know the command string should be a varchar2, not a clob, and if t2 is a bind variable there is no need for t1 to be a clob.
    Sybrand Bakker
    Senior Oracle DBA

  • How to handle error while using dbms_sql.execute

    Hi,
    I am inserting some records by using the following piece of code.
    stmt := 'insert into SSI_KPI_GOAL_VALUE_H (KPI_VAL_KPI_ID, KPI_VAL_RM_CDE,'|| v_day_value ||',KPI_VAL_ACT_DLY,'||v_month_val||',KPI_VAL_BIZ_UNIT_CDE) values (:kpi_array,:rm_array,:day1_array,:day1_array,:day1_array,:busnunit_array)';
    l := dbms_sql.open_cursor;
         dbms_sql.parse(l, stmt, dbms_sql.native);
         dbms_sql.bind_array(l, ':kpi_array', col1_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':rm_array', col2_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':day1_array', col3_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':busnunit_array', col4_ins,1,ins_cnt-1);     
         dummy := dbms_sql.execute(l);
         dbms_sql.close_cursor(l);
    I am getting an error since any one of the row contains value larger than the column.
    How to handle exception handling for those rows which is having errors. I would like insert the records which is having
    no errors. Like SAVE EXCEPTIONS for 'forall' is there any option is available to handle exceptional records.
    Please help.
    Thanks & Regards,
    Hari.

    Hari,
    What's oracle version? Are you looking for something similar to this? see following example
    DECLARE
       TYPE array
       IS
          TABLE OF my_objects%ROWTYPE
             INDEX BY BINARY_INTEGER;
       data          array;
       errors        NUMBER;
       dml_errors exception;
       error_count   NUMBER := 0;
       PRAGMA EXCEPTION_INIT (dml_errors, -24381);
       CURSOR mycur
       IS
          SELECT *
          FROM t;
    BEGIN
       OPEN mycur;
       LOOP
          FETCH mycur BULK COLLECT INTO data LIMIT 100;
          BEGIN
             FORALL i IN 1 .. data.COUNT
             SAVE EXCEPTIONS
                INSERT INTO my_new_objects
                VALUES data (i);
          EXCEPTION
             WHEN dml_errors
             THEN
                errors        := sql%BULK_EXCEPTIONS.COUNT;
                error_count   := error_count + errors;
                FOR i IN 1 .. errors
                LOOP
                   DBMS_OUTPUT.put_line(   'Error occurred during iteration '
                                        || sql%BULK_EXCEPTIONS(i).ERROR_INDEX
                                        || ' Oracle error is '
                                        || sql%BULK_EXCEPTIONS(i).ERROR_CODE);
                END LOOP;
          END;
          EXIT WHEN c%NOTFOUND;
       END LOOP;
       CLOSE mycur;
       DBMS_OUTPUT.put_line (error_count || ' total errors');
    END;Regards
    OrionNet

  • Executing an oracle stored procedure in xMII 11.5

    Dear all,
          I am facing problem executing an oracle stored procedure using sql query in MII. The SP does not have any input or output parameters & consists of only 2 insert statements. I tried to use Command Mode, FixedQuery & FixedQuery With output mode, but the SP doesn't run.
    This is the error i get when i use :
    execute InsertTest or exec InsertTest -  A SQL Error has occurred on query, ORA-00900: invalid SQL statement
    I read in one of the posts to use 'CALL' instead of 'exec' or 'execute'. Even with this i get error which states:
    A SQL Error has occurred on query, ORA-06576: not a valid function or procedure name
    The syntax i used is CALL InsertTest  -  'InsertTest' is the SP name.
    I also checked Sam's comment in one of the posts about jdbc driver. We are using oracle 9i, so i guess there is no problem with the version of DB.
    The stored procedure is working fine in SQL Developer, How else can i invoke the SP in MII?
    Any help would be greatly appreciated.
    Thanks,
    Sushma.

    Hi all,
    for insert create procedure
    CREATE PROCEDURE MII_TEST_INSUPD
    (ID_IN IN NUMBER,
    NAME_IN IN VARCHAR2)
    IS
    BEGIN
      -- UPDATE ROW
      UPDATE TEST SET
              NAME = NAME_IN
      WHERE
              ID = ID_IN;
      -- NOT RETURN INSERT NEW LINE IN TABLE
      IF SQL%ROWCOUNT = 0 THEN
         INSERT INTO TEST (ID, NAME) VALUES (ID_IN, NAME_IN);                        
      END IF; 
    END;
    In MII you create a query template
    Mode - Command
    FixedQuery - insert the code below
    CALL MII_TEST_INSUPD ([Param.1],'[Param.2]')
    for returns the grid using procedures in oracle you need create a package on oracle server
    CREATE PACKAGE PKG_test IS
      TYPE cursortype is ref cursor;
      PROCEDURE test (mycursor in out cursortype);
    END PKG_test;
    CREATE PACKAGE BODY PKG_test IS
      PROCEDURE test (mycursor in out cursortype) AS
      BEGIN
         open mycursor for select * from test;
      END;
    END PKG_test;
    In MII you create a query template
    Mode -  FixedQueryWithOutput
    FixedQuery - insert the code below
    CALL PKG_TEST.TEST(?)
    Danilo

  • Table list for select statment

    hello all,
    I been trying to setup a plsql statment to run a select statment from tables that are in a list.
    this is what I have done so far as a test and it is not letting me do it and I don't know why can anyone point me in the right direction.
    declare
    cursor main_log is
    select *
    from joseph_w.table_name_list;
    cml main_log%rowtype;
    var1 varchar2(35);
    var2 varchar2(35;
    begin
    open main_log;
    fetch main_log into cml;
    var1 := cml.schema_name;
    var2 := cml.table_name;
    select *
    from var1.var2;
    close main_log;
    end;
    thanks

    In PL/SQL you cannot just "select", as PL/SQL is a server sided language. You must use a record or variable to hold the selected data. Anyway, for selecting from different tables dynamically, you can use (Native) Dynamic SQL or Ref Cursors. Take a look at the documentation, especially the "PL/SQL User's Guide and Reference":
    http://www.oracle.com/pls/db102/portal.portal_db?selected=1
    Regards,
    Gerd

  • Authentication to agent workstation failed when trying to run a test in Oracle Test Manager

    I have the complete version of OATS installed on my local machine. I have the OracleATSHelper, OracleATSServer and OracleATSAgent services running.
    In OTM when I go to run an openscript test I select the system, type the version number and hit run and get a "Authentication to agent workstation failed" error in the summary field.
    It worked before but I cant figure out why it isnt working anymore.
    Can anyone help?

    ATS Version: 12.3.0.1.0 build 376
    I am getting the same error when trying to execute a script from OTM - "Authentication to agent workstation failed".
    I have the OTM server on a remote (server) machine and the Oracle Agent is running on my laptop / workstation. I've tried all I have seen on this thread, but no progress. The manager is now in manual mode and the console only provides the following output:
    D:\OracleATS\agentmanager\bin>d:\OracleATS\agentmanager\bin\AgentManagerService.exe -c  AgentManagerService.conf
    wrapper  | --> Wrapper Started as Console
    wrapper  | Launching a JVM...
    jvm 1    | Wrapper (Version 3.0.3)
    jvm 1    |
    One different thing, maybe, I see is that the agentmanager_auth.log is empty always.
    Also, on the server, I've added this SYSTEM successfully, i.e.the Testing of the SYSTEM added in OTM always gives the success message "The system specified can be successfully accessed by the Oracle Test Manager server."  . In fact it does this even when I provide an incorrect password!    

  • Ora-1483 with dbms_sql.execute

    trying to run dbms_sql to do array fetches
    get occasional error 0ra-01483
    Says refer to manual for maximum
    Can anyone tell me which manual, better still can I set the limit myself
    Thanks in advance
    null

    I believe I figured it out by putting a BEGIN...END block around my cursor declaration like so:
    /* piece together the name of the index and hold onto since we also need drop statements as well */
              SELECT rec.TBNAME || '_NDX9999_' || to_char(var_counter)
              INTO var_index_name
              from dual;
              var_index_string := 'CREATE INDEX MAXIMO.' || var_index_name || ' ON MAXIMO.' || rec.TBNAME || '( ' || rec.NAME || ' ) PCTFREE 10 INITRANS 2 MAXTRANS 255 TABLESPACE MAXIMO_IX01 STORAGE(FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) NOLOGGING NOPARALLEL NOCOMPRESS';
              BEGIN                   
                  index_create_cursor := DBMS_SQL.OPEN_CURSOR;         
                  DBMS_SQL.PARSE(index_create_cursor, var_index_string, DBMS_SQL.NATIVE);
                  var_status := DBMS_SQL.EXECUTE(index_create_cursor);
                EXCEPTION
                  WHEN OTHERS THEN
                    NULL;
              END;Miller

  • How does "SELECT" statment  work?

    Hi,
    Correct me if I'm wrong.
    Data selected by SELECT statement  (without ORDER BY) is unordered and sequence of selected lines may differ every time you execute the same SELECT.
    My problem is that data on a production system has been always selected ordered ( without ORDER BY)  and suddenly it changes and the rows of a result set are unordered.
    It's also strange for me that it works differently on a test system and data is selected ordered ( the code is the same on both systems ).
    Two questions:
    1. How is it possible that data was always selected ordered? (the only answer which comes to my head is "LUCK" )
    2. What has happened that data is now selected unordered? (and works as SELECT statment should work by definition)
    Thanks for any ideas,
    Mario

    Hello,
    I see there is an equality 3-3 in the match here, between
    1) those who are for "it's ordered" (Rodrigo Ariel G..., Danish2285, pavankumar.g)
    2) and those "it's not ordered" (Diwakar Aggarwal, Keshav.T, Matt).
    So I'd like to play too :-D and my answer is "it's not ordered" (with Diwakar Aggarwal, Keshav.T, Matt).
    now 3-4
    My advice is: always trust the SAP documentation when it's said explicitly (I'm aware that the arguments or context are sometimes missing, so a confirmation is then needed).
    You'll find it also in the wikipedia for SQL article (http://en.wikipedia.org/wiki/SQL#Queries): "The ORDER BY clause identifies which columns are used to sort the resulting data, and in which direction they should be sorted (options are ascending or descending). Without an ORDER BY clause, the order of rows returned by an SQL query is undefined."
    Oracle SQL Reference, in the Query Optimizer section (http://download.oracle.com/docs/cd/B14117_01/server.101/b10752/optimops.htm#35891) : "If data must be sorted by order, then use the ORDER BY clause, and do not rely on an index. If an index can be used to satisfy an ORDER BY clause, then the optimizer uses this option and avoids a sort."
    In fact, this is logic when we know how RDBMS are built, all this is about the selection of the access path to get the data (that we see with the explain plan, the path depends especially on what the database contains, that is different between test and production), the faster way to do things (an ordering is not always required, so why the RDBMS would spend time to organize it)
    Don't we have this question in the Forum's FAQ by the way?
    Sandra

  • OGG-00665  OCI Error executing single row select (status = 4060-ORA-04060:

    Unable to start Replica. Is it Oracle user permission issue ?
    ERROR OGG-00665 OCI Error executing single row select (status = 4060-ORA-04060: insufficient privileges to execute DBMS_STREAMS.SET_TAG
    ORA-06512: at "SYS.DBMS_STREAMS", line 16
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    ERROR OGG-01668 PROCESS ABENDING.

    Operating System Version:
    Linux
    Version #1 SMP Sat Feb 25 16:26:29 EST 2012, Release 2.6.18-308.0.0.0.1.el5xen
    Node:
    Machine: x86_64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : unlimited unlimited
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    23,0-1 Top
    Process id: 7662
    Description:
    ** Running with the following parameters **
    2013-05-01 10:06:13 INFO OGG-03059 Operating system character set identified as UTF-8.
    2013-05-01 10:06:13 INFO OGG-02695 ANSI SQL parameter syntax is used for parameter parsing.
    replicat robey
    userid test12, password ********
    Source Context :
    SourceModule : [ggdb.ora.sess]
    SourceID : [*/aime1/adestore/views/aime1_*/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
    SourceFunction : [oci_try]
    SourceLine : [790]
    ThreadBacktrace : [18] elements
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageContext::AddThreadContext()+0x26) [0x2af5c09b67f6]]
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x28f) [0x2af5c09ae90f]]
    : [/*/*/OGGCOREMAINBACKTEST/libgglog.so(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC_SQL(CSourceContext*, int, char const*, char const*, char const*,
    CMessageFactory::MessageDisposition)+0x64) [0x2af5c09787d4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::oci_try(int, char const*, ...)+0x3ee) [0x788aae]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(query_handle::exec_stmt(bool, int)+0x19a) [0x79664a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::setTag(ggs::gglib::ggunicode::UString const&, bool)+0x25a) [0x787d5a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::init_context(int, int)+0x410) [0x78f230]]
    : [/*/*/OGGCOREMAINBACKTEST/replicat(DBOCI_init_connection_logon(ggs::gglib::ggapp::CLoginName const&, ggs::gglib::ggapp::CDBObjName<(DBObjType)12>
    const&, char const*, int, int, int, char*)+0x136) [0x76c566]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x740479]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x746f91]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(odbc_param(char*, char*)+0x364) [0x74a5f4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(get_infile_params(time_elt_def*, time_elt_def*, char**)+0x959f) [0x57af1f]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(replicat_main(int, char**)+0x152) [0x5de8c2]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x6f) [0x7249af]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x127) [0x724d57]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(main+0x4a) [0x5dafba]]
    : [lib64/libc.so.6(__libc_start_main+0xf4) [0x3f4da1d994]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x4c70a9]]
    2013-05-01 10:06:13 ERROR OGG-00665 OCI Error executing single row select (status = 439-ORA-00439: feature not enabled: Streams Capture
    ORA-06512: at "SYS.DBMS_STREAMS", line 7
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    2013-05-01 10:06:13 ERROR OGG-01668 PROCESS ABENDING.

  • I recieve the following error when running an executable ("This VI is not Executable. The full development version of Labview is required to fix the errors"

    I recieve the following error when trying to build and run a labview executable. I am able to build the executable but when trying to run the executable, a pop up window comes up asking the user to select a dll. (please see screen shot attached). Once the DLL is selected, I get the error that This VI is not Executable. The full development version of Labview is required to fix the errors. (please see screen shot attached). I have also attached a snapshot of the project window.
    I have the professional development system
    I can run the main VI
    all the required DLL's are in the dependencies section of the project window.
    I am trying to find the root cause of this error but to no avail. can anyone give me a clue to what i am missing here. Any suggestions on where i should look to find the problem ?
    Thanks in advance to all labview users for your help
    Attachments:
    project window.PNG ‏36 KB

    other PNG
    Attachments:
    Broken Arrow on EXE.PNG ‏179 KB

  • Oracle - select execution time

    hi all,
    when i executed an SQL - select (with joins and so on) - I have observed the following behaviour:
    Query execution times are like: -
    for 1000 records - 4 sec
    5000 records - 10 sec
    10000 records - 7 sec
    25000 records - 16 sec
    50000 records - 33 sec
    I tested this behaviour with different sets of sqls on different sets of data. But in each of the cases, the behaviour is more or less the same.
    Can any one explain - why Oracle takes more time to result 5000 records than that it takes to 10000.
    Please note that this has not something to do with the SQLs as - i tested this with different sets of sql on different sets of data.
    Can there be any Oracle`s internal reason - which can explain this behaviour?
    regards
    at

    That is not normal behaviour. I've never come across anything like that that wasn't explainable by some environment factor (e.g. someone else doing a big sort).
    I ran a couple of tests:
    (1) to insert 5000 rows 0.1 seconds
    to insert 10000 rows 0.18 seconds
    and
    (2) to select 5000 rows joined with 200K row table 0.19 seconds
    to select 10000 rows joined with 200K row table 0.2 seconds
    Although the second is close, I grant you!
    Cheers, APC

  • How to run a EXECUTE IMMEDIATE statement in a Interactive Report

    Hello all!!
    I need to make a dinamic construction of a query to execute in a Interactive Report, but the Region Source only allows simple SELECT statements. There is any way to run a EXECUTE IMMEDIATE statement in a Interactive Report Region Source?
    Regards Pedro.

    Thank you Andy for your reply.
    I have been testing for a while the use of a collection in the interactive report but i am unable to load data in the interactive report.
    I created the collection successfully in the SQL Commands with the code:
    declare
    v_sql varchar2(32000);
    begin
    v_sql:='select ename, job from emp';
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('coleccao_emp',v_sql,'NO' );
    end;
    I tested successfully the creation of the collection with the query:
    SELECT c001, c002
    FROM APEX_collections
    WHERE collection_name = 'COLECCAO_EMP'
    My problem is: the data of the collection are returned in the SQL Commands but when i run the query statament in an interactive report, report or even a Pl/Sql region in my application the data aren't displayed, only the message (No data found).
    Can someone explain why, besides the collection is populated the interactive can not print the results.
    Regards Pedro.

  • How to run simple query on oracle 11.2.0 ?

    hi
    i installed oracle 11.2.0 64bit on my Windows-7 64bit
    how i can connect and run any query on oracle ?
    what are the default tools that came with the installation and how to use it ?
    i sow in the forum that people write
    sql> select * from myTable ........
    how to get to this ?
    thanks in advance

    user1036207 wrote:
    hi
    i installed oracle 11.2.0 64bit on my Windows-7 64bit
    how i can connect and run any query on oracle ?
    what are the default tools that came with the installation and how to use it ?
    i sow in the forum that people write
    sql> select * from myTable ........
    how to get to this ?
    Open a command prompt and type
    sqlplus sys/syspwd@instance as sysdbaand you'll have yourself a sqlprompt.
    HTH
    //Johan

  • How to run others application in Oracle Forms on the web version?

    How to run others application in Oracle Forms on the web version?

    Pang,
    guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
    Frank

Maybe you are looking for

  • How do I use Oracle Database Security in my HTML DB App?

    I have an existing client server application that each user has a database account. These accounts are set up currently to allow and disallow appropriate access to data via Database Rolls. I want to augment the client server application with a HTML D

  • External VGA monitors are not working only with my Macbook Pro 2012mid version

    Hi all, I have a macbook pro 13' 2012mid version, running the latest version of Mavericks, 10.9.2. If I connect my macbook to any extrernal VGA monitor (I have tried 4 different monitors), then the external display is detected in system preferences,

  • Domain Mapping Issues

    Hi, Business Catalyst community. I re-launched my website today, with Business Catalyst only a piece of the whole site. Previously, I had simply used a Tumblr blog for the bulk of my site, with a custom domain. My DNS server pointed to Tumblr's IP ad

  • Newbie needs help aligning music to pictures ....

    I want to specify to move to a new picture at a specific poin t in a song ... there must be an easy way to do this .... but, I can't seem to get things aligned .... please help!

  • Maintaining the BI user

    Hi, I have ERP EHP4 system -ABAP only   and NW EP/BI 7.3 -Java only    and NW bw7.3 -ABAP only. I have SID: LD4 ERP 6.0 EHP4 as ABAP Source system. ERP ABAP system is connected to Java - BI-EP (SID:LD7). LD7:EP-Java will use the LD4 ERP 6.0 EHP4 ABAP