Get the dynamic query alias name

Hi all

I have a plsql function using a dynamic query.
And the function takes an entire sql query as a parameter.

The main problem is that the function must get what aliases or columns were interviewed.

For example,.
FUNCTION_GET_QUERY_ALIAS ('SELECT 1 AS col1, col2 FROM DUAL 2 AS')
Inside the function, he must find the alias name COL1 and COL2.

I would be grateful for any help.

I modified print_table as fact and function to meet your needs.

SQL> CREATE OR REPLACE TYPE my_column_object AS OBJECT(ruw_number integer, column_name VARCHAR2(1000), column_val VARCHAR2(1000))
  2  /

Type created.

SQL> CREATE OR REPLACE TYPE my_table_type AS TABLE OF my_column_object
  2  /

Type created.

SQL> CREATE OR REPLACE FUNCTION print_table( p_query in varchar2 ) RETURN my_table_type PIPELINED
  2  AS
  3      l_theCursor     INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
  4      l_columnValue   VARCHAR2(4000);
  5      l_status        INTEGER;
  6      l_descTbl       DBMS_SQL.DESC_TAB;
  7      l_colCnt        NUMBER;
  8      l_rcount           INTEGER := 0;
  9  BEGIN
 10      DBMS_SQL.PARSE(  l_theCursor,  p_query, dbms_sql.native );
 11
 12      DBMS_SQL.DESCRIBE_COLUMNS( l_theCursor, l_colCnt, l_descTbl );
 13
 14      FOR i IN 1 .. l_colCnt
 15      LOOP
 16          DBMS_SQL.DEFINE_COLUMN(l_theCursor, i, l_columnValue, 4000);
 17      end loop;
 18
 19      l_status := DBMS_SQL.EXECUTE(l_theCursor);
 20
 21      WHILE ( DBMS_SQL.FETCH_ROWS(l_theCursor) > 0 )
 22      LOOP
 23             l_rcount := l_rcount + 1;
 24          FOR i IN 1 .. l_colCnt
 25          LOOP
 26              DBMS_SQL.COLUMN_VALUE( l_theCursor, i, l_columnValue );
 27
 28              PIPE ROW(my_column_object(l_rcount,l_descTbl(i).col_name,l_columnValue));
 29          END LOOP;
 30      END LOOP;
 31
 32     RETURN;
 33  end;
 34  /

Function created.

SQL> select * from table(print_table('select * from emp'))
  2  /

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         1 EMPNO                7369
         1 ENAME                SMITH
         1 JOB                  CLERK
         1 MGR                  7902
         1 HIREDATE             17-DEC-80
         1 SAL                  800
         1 COMM
         1 DEPTNO               20
         1 DIV                  10
         2 EMPNO                7499
         2 ENAME                ALLEN

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         2 JOB                  SALESMAN
         2 MGR                  7698
         2 HIREDATE             20-FEB-81
         2 SAL                  1600
         2 COMM                 300
         2 DEPTNO               30
         2 DIV                  10
         3 EMPNO                7521
         3 ENAME                WARD
         3 JOB                  SALESMAN
         3 MGR                  7698

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         3 HIREDATE             22-FEB-81
         3 SAL                  1250
         3 COMM                 500
         3 DEPTNO               30
         3 DIV                  10
         4 EMPNO                7566
         4 ENAME                JONES
         4 JOB                  MANAGER
         4 MGR                  7839
         4 HIREDATE             02-APR-81
         4 SAL                  2975

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         4 COMM
         4 DEPTNO               20
         4 DIV                  10
         5 EMPNO                7654
         5 ENAME                MARTIN
         5 JOB                  SALESMAN
         5 MGR                  7698
         5 HIREDATE             28-SEP-81
         5 SAL                  1250
         5 COMM                 1400
         5 DEPTNO               30

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         5 DIV                  10
         6 EMPNO                7698
         6 ENAME                BLAKE
         6 JOB                  MANAGER
         6 MGR                  7839
         6 HIREDATE             01-MAY-81
         6 SAL                  2850
         6 COMM
         6 DEPTNO               30
         6 DIV                  10
         7 EMPNO                7782

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         7 ENAME                CLARK
         7 JOB                  MANAGER
         7 MGR                  7839
         7 HIREDATE             09-JUN-81
         7 SAL                  2450
         7 COMM
         7 DEPTNO               10
         7 DIV                  10
         8 EMPNO                7788
         8 ENAME                SCOTT
         8 JOB                  ANALYST

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         8 MGR                  7566
         8 HIREDATE             19-APR-87
         8 SAL                  3000
         8 COMM
         8 DEPTNO               20
         8 DIV                  10
         9 EMPNO                7839
         9 ENAME                KING
         9 JOB                  PRESIDENT
         9 MGR
         9 HIREDATE             17-NOV-81

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
         9 SAL                  5000
         9 COMM
         9 DEPTNO               10
         9 DIV                  10
        10 EMPNO                7844
        10 ENAME                TURNER
        10 JOB                  SALESMAN
        10 MGR                  7698
        10 HIREDATE             08-SEP-81
        10 SAL                  1500
        10 COMM                 0

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
        10 DEPTNO               30
        10 DIV                  10
        11 EMPNO                7876
        11 ENAME                ADAMS
        11 JOB                  CLERK
        11 MGR                  7788
        11 HIREDATE             23-MAY-87
        11 SAL                  1100
        11 COMM
        11 DEPTNO               20
        11 DIV                  10

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
        12 EMPNO                7900
        12 ENAME                JAMES
        12 JOB                  CLERK
        12 MGR                  7698
        12 HIREDATE             03-DEC-81
        12 SAL                  950
        12 COMM
        12 DEPTNO               30
        12 DIV                  10
        13 EMPNO                7902
        13 ENAME                FORD

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
        13 JOB                  ANALYST
        13 MGR                  7566
        13 HIREDATE             03-DEC-81
        13 SAL                  3000
        13 COMM
        13 DEPTNO               20
        13 DIV                  10
        14 EMPNO                7934
        14 ENAME                MILLER
        14 JOB                  CLERK
        14 MGR                  7782

RUW_NUMBER COLUMN_NAME          COLUMN_VAL
---------- -------------------- --------------------
        14 HIREDATE             23-JAN-82
        14 SAL                  1300
        14 COMM
        14 DEPTNO               10
        14 DIV                  10

126 rows selected.

SQL>

Thank you
Knani.

Published by: Karthick_Arp on September 23, 2008 12:11 AM

Tags: Database

Similar Questions

  • Collection of the dynamic query

    Hi All-

    I'm trying to get the value of the collection through the dynamic query but I am facing some problem please let me know that I hurt.

    Created a function like below to run the dynamic query to select statement

    create or replace FUNCTION rfunGetColumnValue (
                  ColumnName VARCHAR2,
                  TableName  VARCHAR2,
                  DefaultValue OUT VARCHAR2,
                  Criteria VARCHAR2)
           RETURN VARCHAR2
    IS
           ReturnValue VARCHAR2 (32767 byte) ;
           Stmt        VARCHAR2 (32767 byte) ;
    BEGIN
           stmt := 'begin        
    select '|| ColumnName || ' into  :1  from table(:2) ' ||NVL
           ( Criteria, ' ') ||
           '       
    Fetch First Row only ;        
    EXCEPTION                                   
    WHEN OTHERS THEN                                          
    :2 := SQLERRM;
    end;'
           ;
           dbms_output.put_line (stmt) ;
           EXECUTE IMMEDIATE stmt USING OUT ReturnValue, OUT DefaultValue;
           --select Valueinto into Returnvalue from dual;
           RETURN ReturnValue;
    END;
    

    Now, I created a folder in the Package

    create or replace PACKAGE Collection_PKG
    is
    type Bank_rec is RECORD
    (
    SNO           NUMBER(10),    
    BANKID        NUMBER(5),    
    BANKNAME       VARCHAR2(50),    
    BANKSC         VARCHAR2(50),    
    ADDEDIT       varchar2(1),    
    COMPID        number(5),    
    ISBULK        number(1),    
    ROWNO         number(10),    
    ERROR         VARCHAR2(500)  
    );
    
    
    TYPE Bank_tbl IS TABLE OF Bank_rec;
    --type Bank_cur is ref cursor return Bank_rec;
    
    
    end Collection_PKG;
    
    end Collection_PKG;
    end Collec
    tion_PKG;
    

    Now, when I'm Trying the code below

    DECLARE
      V_EXECQUERYPARAM XMLTYPE:= XMLTYPE('<QueryParam>
      <BankXML>
        <Bank>
          <BankID>0</BankID>
          <BankSC><![CDATA[RCB]]></BankSC>
          <BankName><![CDATA[Royal challenger Bank]]></BankName>
          <IsBulk>0</IsBulk>
          <AddEdit>A</AddEdit>
        </Bank>
      </BankXML>
    </QueryParam>');
    BEGIN
     Rspbanksave(
        v_SPParamList => V_EXECQUERYPARAM  );
    
    
    END; 
    

    create or replace PROCEDURE rspBankSave (
                  v_SPParamList XMLTYPE DEFAULT NULL)
    IS
           V_Addedit VARCHAR2 (1 CHAR) ;
           Bank_tbl Collection_PKG.BANK_TBL := Collection_PKG.BANK_TBL () ;
    BEGIN
           
           SELECT Row_number () OVER (ORDER BY 1),
                  XT.BankID,
                  XT.BankName,
                  XT.BankSC,
                  XT.AddEdit,
                  v_CompID,
                  XT.IsBulk,
                  CAST (0 AS NUMBER (5)),
                  CASE
                         WHEN MBank.BankID IS NOT NULL
                         THEN
                                CASE
                                       WHEN XT.BankSC     = MBank.BankSC
                                          AND XT.BankName = MBank.BankName
                                       THEN 'R104|Entry Already Exist,R114|Short Code Already Exist'
                                       WHEN XT.BankSC = MBank.BankSC
                                       THEN 'R114|Short Code Already Exist'
                                       WHEN XT.BankName = MBank.BankName
                                       THEN 'R104|Entry Already Exist'
                                END
                         ELSE NULL
                  END Bulk collect
           INTO   Bank_tbl
           FROM   XMLTABLE ('//QueryParam/BankXML/Bank' PASSING v_SPParamList COLUMNS BankID NUMBER (5)
                  PATH 'BankID', BankName                                                    VARCHAR2 (
                  50) PATH 'BankName', BankSC                                                VARCHAR2 (
                  50) PATH 'BankSC', AddEdit                                                 VARCHAR2 (
                  1) PATH 'AddEdit', IsBulk                                                  NUMBER (1)
                  PATH 'IsBulk') XT
           LEFT JOIN MBank
           ON     XT.BankID   != MBank.BankID
              AND v_CompID     = MBank.CompID
              AND (XT.BankSC   = MBank.BankSC
               OR XT.BankName  = MBank.BankName) ;
           v_TotalRowCount    := SQL%ROWCOUNT;
    
    
    
    
    
    
           IF (v_TotalRowCount > 0) THEN
                  
                         BEGIN
                               V_Addedit:=rfunGetColumnValue (ColumnName=> 'Upper(AddEdit)',TableName=>'table(Bank_tbl)',DefaultValue=>'',Criteria =>'');
                         END;
                         --SQL Code here
                  
           END IF;
           
    END rspBankSave;
    
    
    
    
    
    
    
    

    As I've suggested before:

    To get the name of the table the column

    and as others have:

    Type global temporary Tables vs. table

    If you give more context, more information about the bigger picture, more information about what you're trying to do and why you're going down the road you go down, you can return more useful information. But you seem reluctant to do.

    For the moment, your recent posts seem to just raise the same type of question - why are you doing this?

    The normal way to return data to a client is a refcursor.

    It is the most effective way.

    Not through collections that you seem to be put on the must-do approach.

  • How can I get the 8.3 file name short AND way?

    We use some old DOS programs and need to use the old format back (filename.xxx). When the files are in the long trees, it is very difficult to find the names of files under Windows.

    There was a response published in Google (http://answers.google.com/answers/threadview/id/522710.html) which works very well under XP, but when I use it in Windows 7, I get the long file name.

    Does anyone know how to do this?  The program can be changed?  Here is the program of this flajason-ga posted, but it must be updated for Windows 7 (I only know how to program in Foxpro).  Thank you, Alan

    Topic: Re: how to get the 8.3 file name short AND path?
    From: flajason-ga on May 27, 2005 10:45 PDT
     

    After my last comment, I read your details a little closer.
    The last script I posted was to list out a whole directory in 8.3 format.
    If you are looking for a friendly way of Clipboard to recover the 8.3
    for individual files, that will be more to your liking.

    Same thing as before. Copy the below into Notepad and save it with a .vbs extension.
    Except that this time, you can simply drag and drop a folder or file icon
    on the .vbs file and it displays the short path in an input box.
    where you can copy the value and use anything you want to.

    If you're industrious, you can also save the .vbs file in your
    Folder "send to" (C:\Documents and Settings\ [yourname] \SendTo) to have
    It is available in your context menu with a right click.

    Set fso = CreateObject ("Scripting.FileSystemObject")

    ' Is a file or a folder?
    If fso. FolderExists (WScript.Arguments (0)) then
    "It's a folder
    Set objFolder = fso. GetFolder (WScript.Arguments (0))
    Refund = InputBox ("this is your short path:", "SHORT PATH", objFolder.ShortPath)
    End If

    If fso. FileExists (WScript.Arguments (0)) then
    "It's a file
    Set objFile = fso. GetFile (WScript.Arguments (0))
    Refund = InputBox ("this is your short path:", "SHORT PATH", objFile.ShortPath)
    End If

    Hello

    Read the following article.

    How Windows generates 8.3 names to long file names
    http://support.Microsoft.com/kb/142982

  • Unit test: is there a way to make the dynamic query of the value of running after the boot process?

    I wonder why the dynamic value query is executed before the boot process? Logically, it makes sense to run after them.

    For example, I test a stored procedure that is supposed to delete a record, and I'd like to create this test report should be deleted as part of the startup process before execution of the stored procedure call to delete this test record. Apparently the dynamic query of value not returns not the test report in as long as the query parameter to call the stored procedure under test, which makes me think that is executed before the startup process of design...

    Please advise...

    Thank you

    Val

    As this thread does no traction/attention of the team of SQL Developer for a while, I had to submit a request for formal improvement on metalink:

    RE: 19834977 - IN THE UNIT TEST REQUEST TO ALLOW TO CHANGE THE ORDER OF EXECUTION OF THE START OF THE PROCESS

    Thank you

    Val

  • How can I get the HBA iScsi IQN name

    How can I get the HBA iScsi IQN name?

    How to use the following object:

    I tried this:

    var myVcHostInternetScsiHba = new VcHostInternetScsiHba();

    IQN = VcHostInternetScsiHba.iScsiName;

    But it does not work.

    regards Denis

    findiSCSIDevice action () returns the string iSCSI device, and not as an object.

    You can duplicate this action (say under a name findiSCSIName) and change its script code by replacing the following line:

    return busAdapter.device;
    

    with

    return busAdapter.iScsiName;
    

    and then use it in your workflow and actions of something like

    var hbaScsiName = System.getModule("com.vmware.library.vc.storage").findiSCSIName(host);
    
  • How to get the SQL query running of af: search?

    I use JDeveloper 11.1.2.3.0. I have a page where I've set up an af:query and an array of result. The problem is that I can't get the exact query that is used during the execution of this component in a managed bean method. Is it possible to get the query string that is run within the af: query?

    Thank you

    Hello

    Method of the ViewObject getQuery() returns what you need;

    You can replace the executeQueryForCollection(), and prior to calling super, you can print the result of getQuery() method:

    public void executeQueryForCollection (rowset Object,

    Object [] params,

    {int noUserParams)

    System.out.println ("SQL =" + getQuery());

    call the super method here...

    }

  • I tried in several ways (in line, calls and return on this forum), but no aid has been granted on Edge inspect.  I get the message "your user name and password are incorrect, or your account has no access onboard inspect CC.  Any assistance

    I tried in several ways (in line, calls and return on this forum), but no aid has been granted on Edge inspect.  I get the message "your user name and password are incorrect, or your account has no access onboard inspect CC.  Any help is greatly appreciated.  One of my original case numbers were: 0216572509

    You need installed Adobe Creative Cloud. Check the link for more information below.

    Edge inspect FAQ EAC

  • Cannot generate the dynamic query - ora-06502

    Hi friends,

    during execution of code below I get the error message: ora-06502 pl/sql numeric or value error on line 11

    I'm not able to open a SQL session table logging.

    DECLARE

    T_Participants TYPE TABLE IS NUMBER;

    c_Participant_Id t_Participants: = t_Participants();

    CLOB V_SQL;

    BEGIN

    Select the participantid COLLECT in BULK IN c_Participant_Id in t_roster_detail

    where rosterid = 10654

    and ba = "MD";

    I'm IN 1.c_Participant_Id.COUNT LOOP

    V_SQL: = V_SQL | "SELECT p.participantid,.

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10331, p.Current_Data, NULL), null) "10331_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10331, p.Goal_Data, NULL), null) "10331_Goal."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 9640, p.Current_Data, NULL), null) "9640_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 9640, p.Goal_Data, NULL), null) "9640_Goal."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 9643, p.Current_Data, NULL), null) "9643_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 9643, p.Goal_Data, NULL), null) "9643_Goal."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10332, p.Current_Data, NULL), null) "10332_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10332, p.Goal_Data, NULL), null) "10332_Goal."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10721, p.Current_Data, NULL), null) "10721_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10721, p.Goal_Data, NULL), null) "10721_Goal."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10701, p.Current_Data, NULL), null) "10701_CURRENT."

    Decode (p.Participantid, ' | c_Participant_Id (i) |', decode (p.Measureid, 10701, p.Goal_Data, NULL), null) '10701_Goal '.

    OF t_sce_msr_output_data p

    WHERE IN (SELECT T_PC_AXIS_DEFINITION CREATES CREATES

    WHERE PLANCOMPONENTID IN (SELECT PLANCOMPONENTID FROM T_PLAN_COMPONENT WHERE PLANID = 10702))

    UNION ";

    END LOOP;

    DELETE FROM T_LOGGING_SQL;

    INSERT INTO T_LOGGING_SQL VALUES (V_SQL);

    COMMIT;

    END;

    SQL > desc t_sce_msr_output_data

    Name                                      Null?    Type

    ----------------------------------------- -------- ------------

    IDSCENARIO NOT NULL NUMBER

    CREATES NOT NULL NUMBER

    PARTICIPANTID NOT NULL NUMBER

    NUMBER OF BASELINE_DATA

    NUMBER OF CURRENT_DATA

    NUMBER OF GOAL_DATA

    You are way more complicate things here.  First of all, there is no need at all for dynamic sql because the wy you are querying is incorect.

    Even if you do not have an error, which you query will do is run the query on t_sce_msr_output_data once for each row returned by the cursor.  Each iteration of the query will return all matching rows (i.e. lines for all the participantid in the t_sce_msr_output_data table), then the external decoding will be will force all other NULL columns for all the participantid that do not correspond to the "current" participantid

    The query can be simplified to:

    Select p.participantid,

    Decode (p.Measureid, 10331, p.Current_Data, NULL) "10331_CURRENT."

    Decode (p.Measureid, 10331, p.Goal_Data, NULL) "10331_Goal."

    Decode (p.Measureid, 9640, p.Current_Data, NULL) "9640_CURRENT."

    Decode (p.Measureid, 9640, p.Goal_Data, NULL) "9640_Goal."

    Decode (p.Measureid, 9643, p.Current_Data, NULL) "9643_CURRENT."

    Decode (p.Measureid, 9643, p.Goal_Data, NULL) "9643_Goal."

    Decode (p.Measureid, 10332, p.Current_Data, NULL) "10332_CURRENT."

    Decode (p.Measureid, 10332, p.Goal_Data, NULL) "10332_Goal."

    Decode (p.Measureid, 10721, p.Current_Data, NULL) "10721_CURRENT."

    Decode (p.Measureid, 10721, p.Goal_Data, NULL) "10721_Goal."

    Decode (p.Measureid, 10701, p.Current_Data, NULL) "10701_CURRENT."

    Decode (p.Measureid, 10701, p.Goal_Data, NULL) '10701_Goal '.

    of t_sce_msr_output_data p

    where in (select creates creates

    of t_pc_axis_definition

    where plancomponentid in (select plancomponentid

    of t_plan_component

    where planid = 10702)) and

    participantid in (select participantid

    of t_roster_detail

    where rosterid = 10654 and

    BA = "MD");

    You probably want to pivot these results by participant, if so look in the note from the FAQ for the columns of the rows.

    John

  • How to get the sql query result?

    Hello

    Currently I use LV2012 to connect to an Oracle database server. After the Oracle Express and Oracle ODBC driver facilities/settings made.

    I managed to use the SQL command to query the data through my command prompt window.

    Now the problem is, how to do the same task in Labview using database connectivity tools?

    I have build a VI to query as being attached, but I have no idea of what range to use to get the result of the query.

    Please help me ~ ~

    Here is a piece of code that I use to test the SQL commands, you can use the part that retrieves the results of sql.

    It is also possible to get the rear column headers, but it's for the next lesson!

    ;-)

  • How can I get the printer without printer name handle?

    I want to block printing by hanging. so I hang startdoc.

    Unfortunately, if I block the specific printer, I should get the printer handle

    I know how to get the handle to the name of the printer printer. but I don't know the name of the printer
    I knew the name of the only hdc and document printer.

    I tried for 3 days. but I can't find about it :(

    If anyone knows, please answer...

    [Moved from the community centre of Participation]

    Your question is more technical that is usually asked/answered here.

    You're more likely to get help in the TechNet forums

    https://social.technet.Microsoft.com/forums/IE/en-us/home?Forum=ieitprocurrentver

    or

    MSDN https://social.msdn.microsoft.com/Forums/ie/en-US/home?category=iedevelopment

    Don

  • How to get the current windows user name

    I was wondering if there is a way to get current pc windows user name in labview?
    If there is a way bwsides navigate manually to the folder user thr and stripping the way please let me know.

    It's one of this method

  • Get the contact address company name address

    Hey guys, anyone knows if its possible to retrieve name one contact at the company address book, if the value that is the company where the person - worked resource? I am able to get the name of the contact name 1st, 2nd, etc., of his phone number.

    Thank you

    David

    His Contact.ORG, see http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/pdap/BlackBerryContact.htm...

  • Get the path of directory name

    Hello

    I need to read the path of the directory 'directory name '. I know that I can read this dba_directories but it requires the grant of the sys user...

    Are there other options to get the path of the directory of the directory name.

    I need the directory path in the java stored procedure which concatenates PDF files on disk to the db and then store in BLOB table field...

    Not really, either dba_directories or all_directories, where information is queryable of.

  • How to get the LOGO and company name in the theme of the 4 apex

    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.
    How to get the two logo and the name of the company?

    Thanks for your help.

    Kind regards
    Sébastien Pallav.

    Pushpesh Pallav says:
    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.

    The word is spelled 'then', not 'den '.

    How to get the two logo and the name of the company?

    Select the text, and include HTML, making reference to the image in the text:

    
    

    The image src URI used depends on the location of the image, which you have failed to specify.

  • How to get the inline query which is drawn from the TAB specific Application.

    Hi all I use 10.2.0.4.0 oracle version.

    I want to capture the sql that is raised in my prod database when an applicaton tab is hit as it takes about 5 minutes for the tab to be loaded. So is it possible, for the inline sql, which is the origin of the problem, directly from the prod environment.

    (Note: I looked through the browser session in PROD DB for the query, but there, I found a lot of meetings and a lot of requests, I do not know how to distinguish the session being created by the specific tab I hit).

    >

    Hello

    I want to capture the sql that is triggered to my database of prod
    When an applicaton tab is hit as it takes about 5 minutes so that the tab
    to be loaded. So is it possible to get the inline sql, which is
    the origin of the problem, directly from the prod environment.

    Please, please tell us that you have a Test environment? Log into that, then run a trace.
    No doubt you can either descend all test for a few miinutes and/or
    easily distinguish sessions on your Test System? That's exactly what the test
    the environments are for.

    The SQL execution will be the same - you can go try to find
    the root cause of the problem.

    HTH,

    Paul...

Maybe you are looking for

  • Satellite P500-F12 - freezes after 5 minutes of game

    I recently bought a toshiba laptop P500-12F with the specifications below, the problem I have is that whenever I try to start a game like mount and blade or empire total war, the game works for between 5-10 minutes, but then crashes completely and th

  • Question of MXI - 2 / MXI-4

    I'll need to develop a test program on a test system VXI which is controlled by an external PC running LabView 8.2 and bound by a MXI-2 interface.  For my needs, I need to add a PXI chassis for a few extra features.  My question is if it is possible

  • Live messenger 2011 farm window wrong with ' ESC '.

    Hi, I use the last Live Messenger (I think, since it doesn't seem to be a way to manually update more?) and when I click on the ESC key on an active conversation window and another conversation window will appear at the same time then messenger close

  • Failure of scanner HP Officejet 4500 G510n-z

    Hey all! Well, just got this printer from a friend because of this problem and I am determined to fix. To turn on the machine, I get a failure message scan. I downloaded and ran the Hp solution test tool and an error "Unable to communicate with the p

  • Everything is huge! :(

    Everything on my computer has suddenly got much bigger. I checked the size of the icons in the control panel and who has the smallest value. the login screen is bigger, internet explore is bigger and the word I hardly see the document because the too