get the node of SQL query file name

Hi all
I have a concurrent request that requires the name of file as input. For example, when I connect to oracle on our test instance, I use http://moon1.oando-plc.com:8000. For this program at the same time, the node file name appears as moon1.oando - plc.com.
I need to use this argument to a PL/SQL procedure, that I write and I don't want to use any hard coding.
Is it possible to get this data into an SQL statement.

Thank you

Hello

You can get table ICX_PARAMETERS (HOME_URL column). Orsearch profile options values for 'http' get the login page URL (or server name) - see (Note: 201945.1 - How E-Business Suite profile Option values list for all levels using SQLPlus).

Kind regards
Hussein

Tags: Oracle Applications

Similar Questions

  • When I try to use a MS fingerprint reader I get the message "no mapping between account names and security IDS was done."

    Original title: fingerprint digital mapping

    When I try to use a MS fingerprint reader I get the message "no mapping between account names and security IDS was done."

    I tried the fix (http://support.microsoft.com/kb/890737?wa=wsignin1.0) without success.

    Any ideas?

    Hello

    Have you tried to reinstall the fingerprint reader, as mentioned in the previous post article?

    If your computer is on a domain, the question you posted would be better suited for the IT Pro TechNet public. I would recommend posting your query in the TechNet Forums to get help:
     
    For more information, see the articles:
     

    Hope the helps of information.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • How to get the path (using < input type = "file" / >)

    Hello world

    I create a HTML form that has an entry of type = "file".  This will give you a dialog box browse for your user to search for a file on the operating system.

    And my code:

    function handleFileSelectForMyShop (evt)
    {
    var blnFileReaderSupported = false;

    Try
    {

    Debug.log ("handleFileSelect", "start handleFileSelect");
    reader of var = new FileReader();
    blnFileReaderSupported = true;
    var files = evt.target.files;
    var size = files.length;

    Debug.log ("handleFileSelect", "handleFileSelect # selected files:" + size, debug.info);

    for (var i = 0; i)< size;="">
    {
    Debug.log ("handleFileSelect", "in the handleFileSelect analysis the index file" + i, debug.info ");
    var f = files [i];
    Reader.OnLoad = (function (theFile)
    {
    Debug.log ("handleFileSelect", "start reader.onload", debug.info);
    return Function
    {
    Debug.log ("handleFileSelect", "start Function", debug.info);

    Debug.log ("handleFileSelect", "reading file" + theFile.name + "(" + theFile.size + "") "" + theFile.type, debug.info);

    If (theFile.type.match ('image.*')) {}
    var path = e.target.result;
    alert (path);
    create the path

    } else {}
    jAlert ("Please select photo!', 'Error'");
    }
    };
    })(f);

    If ((f.type.match ('image.*')) |) (f.type.match ('audio.*')) | (f.type.match ('video.*')))
    {
    Debug.log ("handleFileSelect", "in handleFileSelect call reader.readAsDataURL for type" + f.type, debug.info);
    Read in the media file in the form of a data URL.
    reader.readAsDataURL (f);
    }
    }

    Debug.log ("handleFileSelect", "Complete", debug.info);
    }
    {} catch (e)
    Debug.log ("handleFileSelect", e, debug.exception);
    If (! blnFileReaderSupported)
    {
    Alert('Error.) The FileReader API is not supported. ") ;
    }
    }
    }

    function doPageLoad()
    {
    Try
    {
    ELE var = document.getElementById ('txtFile_staffInfo');
    If (ele)
    {
    ele.addEventListener ('change', handleFileSelectForMyShop, false);
    }
    imgSelectPictureClick = 0;
    }
    {} catch (e)
    Debug.log ("doPageLoad", e, debug.exception);
    }
    }

    window.addEventListener ("load", doPageLoad, false);

    Note: And alert (path) leads to a Base64 string! It is not a path of the image that I browse a Spain file on the operating system.

    I want to have a full path of the file. For example: file:///accounts/1000/appdata/WebWorksAppTemplate.testa3NBcHBUZW1wbGF0ZSAgICA/shared/camera/image01.jpg

    I hope to see your reply soon!

    Thank you and best regards,

    A Pham

    A Pham

    I think that you can not get the absolute path of a file due to browser security, when you use the

    It's something that you need probably a PlayBook extension for.

  • The unsaved changes in queue: [File name] save before closing?

    Hello!

    FM 9 on Win 7 Pro.

    I'm a long-time user of FM.

    I am trying to open the files I could successfully open before I left work yesterday. I can open FM and open the books of FM. When I try to open an FM in a book, or an FM file not in a book, I get this message:

    "The unsaved changes in queue: [File name] save before closing? No Yes No Cancel.

    It doesn't matter which choose (Yes, no, cancel), following FM shows this message:

    FrameMaker 9 Application has stopped working. Windows can check online for a solution to the problem.

    Search online for a solution and close the program

    Close the program.

    Details of problem

    It doesn't matter what file I try to open (recently worked on the files and I have not touched it since some time). Same messages, anything.

    I tried to update the book (the update seems to happen), save the changes and then try to open. Same error messages. I had hoped that updating the book would clearly any possible referral.

    I tried several reboots, nothing works.

    Help!

    Thanks in advance for any help!

    Terri

    Since his happens with all files, my suspicion is that your application data are damaged. Try this:

    1. close FrameMaker.
    2. Delete the following directory: C:\Users\[user]\AppData\Roaming\Adobe\FrameMaker\
    3. reopening of framemaker and see if the problem is reproducible.
  • How can I get the back toolbar that says "file, editing, history, tools, etc.?

    How can I get the back toolbar that says "file, editing, history, tools, etc.?

    Don't see the menu bar (file, publishing, display, history...) (Help)? Hold down the key (key in OSX) and press the following letters in this exact order: V T M
    The bar of menus must now appear permanently, unless you turn it off again (view > toolbars). Turn on/off the menu bar is a new feature in version 3.6.
    See the other bars under view > toolbars. Click on one of them will place a check mark (display) or remove the check mark (not shown).
    To display the status bar, display, and then click status bar to place a control mark (display) or remove the check mark (not shown).

    • If items are missing then see if you can find them in the view > toolbars > customize window.
    • If you see the item in the window customize then bring her back in the window, customize the Navigation toolbar.
    • If you do not see this item then click Restore default set in the view > toolbars > customize window.
  • HDR-CX240... How can I get the camera to record all FILES VIDEO in MP4 format?

    HDR-CX240... How can I get the camera to record all FILES VIDEO in MP4 format. Is this possible? I can't find how to change what default file to save to. Any help would be appreciated.

    Hi dang201,

    There is no option to save the video in mp4 format only. You can check on the MProot folder on your memory card for mp4 files. The. MTS files are normally saved in another folder called flow.

    If my post answered your question, please mark it as "accept as a Solution.

  • How can I get the utility auditor of system files (SFC) in Windows XP to search for the source files on a CD in a CD/DVD EXTERNAL drive instead of the CD/DVD drive internal Windows?

    I use a Dell Dimension E310 PC running Windows XP Media Center Edition.  The CD/DVD drive has stopped recognizing CD long ago.  (He still recognizes DVD but not CD).  I use an external drive to CD/DVD of Asus.  I keep getting messages that Windows need to replace versions unrecognized some Windows file and asks me to insert my source CD into the CD/DVD drive.  I checked the MS Knowledge Base and got instructions on how to use the utility (SFC) System File Checker to replace the unrecognized Windows files.  I started the process and inserted the source of CD files (recovery CD provided by Dell with the PC when I bought it) in the drive of external CD/DVD, but the SFC would not recognize it it.  He just kept asking me to insert the CD of source files in the CD/DVD drive.  So I have to find a way to get the SFC utility to find files in the external CD/DVD drive source - or I have to take the PC to the Geek Squad, buy a new CD/DVD drive and get them to install it.  Would appreciate any help you can provide.

    GO to start > run > regedit
    Access
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup

    SourcePath = X:

    Where X: is the drive letter of your CD/DVD

  • When I try to open a game (Chess Titans, inkball, etc.), I get the following message: "c:\Program Files\Microsoft Games\Chess\Chess.exe the specified path does not exist.

    When I try to open a game (Chess Titans, inkball, etc.), I get the following message: "c:\Program Files\Microsoft Games\Chess\Chess.exe the specified path does not exist.  Check the path and then try again. "Should I do to get my games back so I can play them?  I've tried enabling/disabling of Windows features, but it did nothing.  I also tried to go through the run, but that has not worked.  And, I tried command prompt, but it says that I am not the administrator, who I am.

    Not accessible games

    I haven't had any changes consciously, and the games do not work in any user account.  When I've done sfc/scannow (command prompt) he said that I was not the administrator.  I could learn from another source to solve this problem - in the start menu, right click on the command prompt icon, and then click Run as administrator.  Hope everybody help with this problem.  If you do not have command prompt in your Start menu, any type of command prompt in your search box and it should appear.

    Anyway, my games work now.  Thank you

  • All help & support files have disappeared. I get the message "help and support files cannot start."

    Original title: help & support files

    Windows 7 Professional. All help & support files have disappeared. I get the message "help and support files cannot start."

    How to return please?.

    Perhaps.  An analysis of file system I think would replace the help files, but you can try it, there is no harm.  Just open a command prompt (right click and "open as Administrator"), and then type sfc/scannow

  • How to get the absolute path to a file in photoshop extended?

    Hello

    I try to send a file via an entry inside an extension of Photoshop. But how can I get the absolute path to this file inside the computer?

    Thanks in advance

    I don't know what you mean by sending a file. Do you want to open a file in PS or do I have to declare the path for support for the extension file? With javascript, you must define a variable. In Win it should look like:

    var file = new File('/c/images/myfile.psd');
    

    or

    var myScript = new File(app.path + '/Presets/Scripts/myJavascript.jsx');
    
  • When I run Muse I get the following error message: error [file/deleteFile]: error

    When I run Muse I get the following error message: error [file/deleteFile]: error #3013: file or directory is in use.  I click OK and then it closes.

    NEVER MIND... it seems that error is that if I try to open the Muse by clicking on the file in Web site... If I just opened Muse itself I do not receive the error message.

  • How can I parse the XML file using the Oracle's Sql query.

    Hi all
    I have an XML file that must analyze and display the result according to the following example
    Can you please recommend me an approach to get the result.

    For example, here is my XML:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < xmlns:pi = "urn:com.workday / picof pi: Extract_Employees" >
    < IP: employee >
    < Additional_Information: pi > < pi: pi function: PriorValue = "" > Intern - masteri¿½s < / pi: function >
    < / pi: Additional_Information >
    < / pi: employee >
    < / pi: Extract_Employees >

    Databases:

    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - production

    SQL > SELECT * FROM NLS_DATABASE_PARAMETERS;

    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS.,.
    WE8ISO8859P1 NLS_CHARACTERSET
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI. SSXFF AM
    NLS_TIMESTAMP_FORMAT-DD-MON-RR HH.MI. SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI. SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI. SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    BINARY NLS_COMP
    NLS_LENGTH_SEMANTICS BYTES
    NLS_NCHAR_CONV_EXCP FAKE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.3.0



    The Xml file above with UTF-8 character sets which is multi bytes.

    But in my character database is WE8ISO8859P1 for example ISO-8859-1 (single-byte character set)

    SQL > SELECT extractValue (Value (x) ', ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof ' ')
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))


    which gives the following error:

    Error:
    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00200: could not convert from UTF-8 encoding to ISO-8859-1
    Error on line 1
    ORA-06512: at "SYS." XMLTYPE", line 295
    ORA-06512: at line 1

    Also I tried with this
    SQL > SELECT convert (extractValue (Value (x), ' / pi:Employee/pi:Additional_Information/pi:Job_Title','xmlns:pi="urn:com.workday/picof"'),'WE8ISO8859P1 ', 'UTF8'))
    TABLE (XMLSequence (extract (XMLType (bfilename('XMLDIR','XML_Issue_227176.xml'), nls_charset_id ('AL32UTF8')),'/ pi: Employee ',' xmlns:pi="urn:com.workday/picof"'))) x;)))

    The same error is according to the above error message.

    Please help in this regard.

    Thank you and best regards,
    Sandrine

    You know the code of real character behind "" or you receive the file like that?

    For the record, "" is the wildcard of UTF-8 (0xEFBFBD), so that the original character of the means has already been replaced and that very probably the file was not coded properly in the first place.

    With respect to the resolution of the problem, try another method to read the file:

    SQL> select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
    
    VALUE
    ----------------------------------------
    WE8ISO8859P15
    
    SQL> SELECT x.*
      2  FROM XMLTable(
      3         XMLNamespaces(default 'urn:com.workday/picof')
      4       , '/Extract_Employees/Employee'
      5         passing xmltype(
      6                   dbms_xslprocessor.read2clob(
      7                     'COP_DIR'
      8                   , 'XML_Issue_227176.xml'
      9                   , nls_charset_id('AL32UTF8')
     10                   )
     11                 )
     12         columns job_title varchar2(30) path 'Additional_Information/Job_Title'
     13       ) x
     14  ;
    
    JOB_TITLE
    ------------------------------
    Intern -  Master¿s
     
    
  • How to get the node root for all nodes using oracle SQL?

    Suppose I have an employee table, which has the following features:

    ID name MgrID
    ----------------------------------------
    1 Tom
    Jason 2 1
    3 Kelly 2
    4 Chris 2
    Russ 5 3
    --------------------------------------

    I want to get the following result.

    ID name RootMgrID
    ------------------------------------------------
    1 Tom
    Jason 2 1
    3 Kelly 1
    4 Chris 1
    Russ 5 1
    -----------------------------------------------

    How can I get it?

    Thank you very much

    Like this?

    SQL> with t as
      2  (select 1 id, 'Tom ' name, null mgr_id from dual
      3  union all
      4  select 2 id, 'Jason' name, 1 mgr_id from dual
      5  union all
      6  select 3 , 'Kelly ', 2 from dual
      7  union all
      8  select 4 , 'Chris ', 2 from dual
      9  union all
     10  select 5 , 'Russ ', 3 from dual
     11  )
     12  select id, name, connect_by_root(id)
     13  from t
     14  where name = 'Russ '
     15  connect by mgr_id = prior id
     16  start with id = 1
     17  /
    
            ID NAME   CONNECT_BY_ROOT(ID)
    ---------- ------ -------------------
             5 Russ                     1
    
    SQL>
    
  • The analysis of SQL query

    Hi all

    In addition to the discussion of yesterday (https://community.oracle.com/message/11317343#11317343)

    For a list of the table used in the SQL query, there is another way.

    If we plan to explain for the query command, table plan we will be able to get all the table names.

    But in the query, if we used all the views, the tables used in the underlying views are also the list.

    I don't know how to do to get the name of view only, not the names of the underlying tables.

    Thank you

    Manon...

    Dint you pick me up I guess. If you see the plan for performance that I posted you will find oracle have not all table EMP scan. There is therefore no reference to the EMP table in the PLAN_TABLE.

    SQL > delete from plan_table;

    0 rows deleted.

    SQL > explain the plan for
    2. Select empno in emp;

    He explained.

    SQL > select * from plan_table where object_type = "TABLE";

    no selected line

  • How to get the total runtime of a file of tkprof

    Hello

    I have a file tkprof. How can I get the total execution time. Through the file I guess than the sum of "Total expected" would give the total time in the section "elapsed time are waiting on the following events:

    . Sample tkprof is given below.
    SQL ID: gg52tq1ajzy7t Plan Hash: 3406052038
    
    SELECT POSTED_FLAG 
    FROM
     AP_INVOICE_PAYMENTS WHERE CHECK_ID = :B1 UNION ALL SELECT POSTED_FLAG FROM 
      AP_PAYMENT_HISTORY APH, AP_SYSTEM_PARAMETERS ASP WHERE CHECK_ID = :B1 AND 
      NVL(APH.ORG_ID, -99) = NVL(ASP.ORG_ID, -99) AND 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'ALWAYS' OR 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'CLEARING ONLY' AND 
      APH.TRANSACTION_TYPE IN ('PAYMENT CLEARING', 'PAYMENT UNCLEARING'))) 
    
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute    442      0.08       0.13          0          0          0           0
    Fetch      963      0.22       4.72        350      16955          0         521
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total     1406      0.31       4.85        350      16955          0         521
    
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173     (recursive depth: 1)
    Number of plan statistics captured: 1
    
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
    ---------- ---------- ----------  ---------------------------------------------------
             1          1          1  UNION-ALL  (cr=38 pr=3 pw=0 time=139 us)
             1          1          1   TABLE ACCESS BY INDEX ROWID AP_INVOICE_PAYMENTS_ALL (cr=5 pr=0 pw=0 time=124 us cost=6 size=12 card=1)
             1          1          1    INDEX RANGE SCAN AP_INVOICE_PAYMENTS_N2 (cr=4 pr=0 pw=0 time=92 us cost=3 size=0 card=70)(object id 27741)
             0          0          0   NESTED LOOPS  (cr=33 pr=3 pw=0 time=20897 us)
             0          0          0    NESTED LOOPS  (cr=33 pr=3 pw=0 time=20891 us cost=12 size=41 card=1)
             1          1          1     TABLE ACCESS FULL AP_SYSTEM_PARAMETERS_ALL (cr=30 pr=0 pw=0 time=313 us cost=9 size=11 card=1)
             0          0          0     INDEX RANGE SCAN AP_PAYMENT_HISTORY_N1 (cr=3 pr=3 pw=0 time=20568 us cost=2 size=0 card=1)(object id 27834)
             0          0          0    TABLE ACCESS BY INDEX ROWID AP_PAYMENT_HISTORY_ALL (cr=0 pr=0 pw=0 time=0 us cost=3 size=30 card=1)
    
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                       350        0.15          4.33
      Disk file operations I/O                        3        0.00          0.00
      latch: shared pool                              1        0.17          0.17
    ********************************************************************************

    user13019948 wrote:
    Hello

    I have a tkprof file. How can I get the total execution time.
    call count cpu elapsed disk query current rows
    ------- ------ -------- ---------- ---------- ---------- ---------- ----------
    total 1406 0.31 4.85 350 16955 0 521

    TOTAL ELAPSED TIME is 4.85 seconds from line above

Maybe you are looking for