Extraction of (difficult) Oracle version

I develop a solution for a company that want the version number of the applications they have distributed over several servers from the list. This solution is already expanded, but one thing remains. Find it me difficult to extract the version number of the Oracle databases without having to connect to the database.

Is it possible to extract the version of Oracle database without having to connect to the database with the credentials? orders or existing files, I can access it by using the command prompt.

I am very grateful for an answer to this question.

Hello
Welcome to the forum.

I think go to $ORACLE_HOME/inventory/and that comp.xml will give


Baskar.l

Tags: Database

Similar Questions

  • Extract data from Oracle into excel file

    Hello

    I have a requirement where in I need to extract data from Oracle into excel file and the worksheet excel name should be 'given '.
    for example. Excel 'AR Data_DDMMYY' file name and the name of the "Data" sheet excel

    I used the UTL_FILE API to extract the data delimited by tabs that you can open in excel, but it's not exactly an excel file as the name of the worksheet is the same as the name of the file.

    I tried to use utl_file.fcopy and frename.

    Is it possible to do it using PLSQL?

    Select * from version of v$.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Example Code:
    declare
    cursor c is
    select * from scott.emp;
    v varchar2(100);
    f utl_file.file_type;
    
    file_name varchar2(100) := 'AR Data.xls';
    dir varchar2(50) := 'CESDIR191710';
    
    --select * from dba_directories
    
    begin
    
    
    f := utl_file.fopen(dir, file_name, 'W');
    
    v := 'EMPNO'||chr(9)||'ENAME'||chr(9)||'JOB'||chr(9)||'SAL'||chr(9)||'HIREDATE'||chr(9)||'DEPTNO';
    utl_file.put_line(f, v);
    
    for i in c
    loop
    
    v := i.empno||chr(9)||i.ename||chr(9)||i.job||chr(9)||i.sal||chr(9)||i.hiredate||chr(9)||i.deptno;
    utl_file.put_line(f, v);
    
    end loop;
    utl_file.fclose(f);
    
    --utl_file.frename(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls', false);
    utl_file.fcopy(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls');
    
    end;
    Thank you
    Imran

    Hello

    I tried to change the .xlsx to .xls and it gives a note at the opening of the file "the file you are trying to open, abc.xls, is in a different format that it is specified by the file extension. Check that the file is not corrupted and precedes from a trusted source before you open the file. Do you want to open it now? »

    When you rename the file does not solve your problem.
    Anton Scheffer package generates a file in format xlsx Office 2010. When rename you it with the .xls extension, then Office 2010 will give you the warning that the file format does not match the extension.

    but the requirement has to generate excel 2003 file.

    The xml_spreadsheet package writes a format that was introduced with Office 2003, but you must use .xml as extension in other Office 2010 will give you the same caveat.
    To write the real xls version (binary), you can use Apache POI. You will need to import Java classes in your db and write a PL/SQL wrapper. Or you can use one of the options above, writing the output to a windows server and then use Excel to open and save in the required format.

    You must decide whether it is easier to write the binary xls format or to convince the customer to accept other formats that can be opened with Excel.

    Concerning
    Marcus

  • What mobile framework Oracle version and JDeveloper are needed to customize the Oracle EBS R12.2.2 and superior?

    What mobile framework Oracle version and JDeveloper are needed to customize the Oracle EBS R12.2.2 and superior?

    If you want to extend the pages of EBS, you need to use the OA framework for 12.2 version.  There is no native support for the extension of EBS by using ADF pages.

    If you want to build the ADF custom applications that integrate with EBS you can watch using the SDK of the EBS (see My Oracle Support) that offers a number of design patterns to allow you to do.

    With respect to the version of Fusion Middleware based on EBS 12.2, take a look at the notes 1911660.1.  11.1.1.6 is currently the base version supplied with 12.2.4 with the 11.1.1.7 version is the highest version supported.

  • Oracle Version of policy template - how deploy us multiple versions?

    Oracle Version of policy template - how deploy us multiple versions of the same rule of thumb in determining server? The intention is to have the rule of thumb in parallel of the versions available and the client to the web service to decide which version to use?

    You don't have to reboot - just put "cache.loaded.rulebases = false" in the application.properties file (its value is 'true' by default).  If you rename this * after * deployment then it could give inconsistent results, but must ultimately resolve itself.

  • 'modernize' forms and reports Oracle version 6 (1995)

    We would like to 'modernize' forms and reports Oracle version 6 ERP (1995) that we have developed and I saw gold alternately Oracle Forms and reports in APEX is. We saw a little bit "and we had some problems related to the navigation of the 'grid'. " Our customers in data entry are accustomed to move in grey with enter or Tab to insert new lines and move with the arrow keys. APEX, from the little that we have spent to make a new line, you must click on a new line, you must click on Save to save, to move the arrows are not covered. 90% of our masks are masters details and I tried using the example and I tried to adapt to the navigation of our customers with poor results, but I didn't spend too much time. A good alternative to the deferral report and form in Oracle environment it? Apex is the right way? you can get these things slamming a little ' head? Now, we have tried with PHP configured so that to approach the masks made with forms and States, and libraries DHTMLX... but they are a bit "away from the excellent and actually I use this combination more like business intelligence and statistical computing in general as actual data input masks. " I'm at a crossroads and continue with DHTMLX PHP or try to get your bearings on APEX. For years, we use Oracle DB and if we could take advantage of the APEX in the right way (without changing the lives of our customers with too many clicks on the buttons!) It would be great! Or is there something else around!

    Apex is a very good product, however is not a replacement for forms.  It can be used to replace Oracle Forms, but he will rewrite a complete application for most.  It will have benefits and drawback compared to Oracle Forms.  Oracle ADF tends to be a better match for Oracle Forms solutions.  That said, why did you choose to completely rewrite your old application Forms investment of 20 year?  Why not upgrade to forms the latest version which is 11.1.2.2.  With this new version, you can easily integrate with other product (Oracle and non-Oracle), take advantage of many new features and much more.  The main advantage for you (your organization), it's that you won't need to completely rewrite the code of your application.  It is quite simple to form 6 to 11.  Some minor code changes peut prove necessary, but most of the time you can move at will 11 version very little effort in most cases.  Many customers have upgraded to the latest version without changing code at all.

    Information on the latest version of forms can be found here:

    http://www.Oracle.com/technetwork/developer-tools/forms

    Check out the upgrade to 6 forms 11 documents in the Documentation Library for version 11.1.2.2

    http://docs.Oracle.com/CD/E48391_01/index.htm

    Once you upgrade to version 11, you can even enjoy some of our Partner solutions.  For example, you can use AuraPlayer to access your business logic of forms on a mobile device.

    http://www.auraplayer.com/

    If you need assistance with the upgrade, Oracle Consulting or other partners such as the PITS can help.

    http://Pitss.com/

  • Primary and standby database: same Oracle version?

    Hello

    We need to create a database of pending in our new data center. The database primary is version Oracle 9.2.0.8 - but only Oracle version 9.2.0.5.0 is installed on the server for the backup site.

    Is supported by Oracle anyway? No need to say that in the version 9.2.0.5.0 can be some bugs and other problems which are already fixed in 9.2.0.8.

    Would be great if someone could provide the use with a response and a link to Oracle documentation which States: must be the same version or not.

    Any help will be appreciated!

    Rgds

    Jan

    Hello again;

    I'm sure that this note covers:

    9i Data Guard FAQ [ID 233509.1]

    I can't post the note because of my support contract.

    Best regards

    mseberg

  • Cannot run report oracle version 4.5 4.5 less & 6i environment

    Hai...

    I need some info & solution if have...

    If the related post have already... Please kindly let me know the post.


    I have a problem of oracle report...
    My machine: Window XP Pro SP3

    Form of Oracle Version 4.5
    Form Version: Version Forms [32 bit] 4.5.7.1.6 (Production)
    Report Version: 2.5.5.2.7 reports

    Oracle form 6i Version
    Form Version: * form [32 bit] Version 6.0.8.11.3 (Production) *.
    Report Version: * Report Builder 6.0.8.11.3 *.



    When I run my system using which form oracle 4.5. his appeal a report... when I run the report... my blocking of the system... I have to kill the system.
    When I run another system that using oracle 6i, report that runs without any problem.

    In my machine, I install the 4.5 & 6i version.

    Please guide me... If he got to the need for adjustment to the registry?

    Thank you
    Rolland

    I don't remember if exists in forms 4.5 but I think there are (if not using Selector 6i installation House)

    go to programs
    Search for the installation of 4.5 GB oracle_home selector one put as by default the oracle_home of 4.5

    and try again

    and when you are running a version prior to execution of report close the bottom of report engine, they are different...

    Published by: DanielB March 11, 2012 22:57

    Published by: DanielB March 11, 2012 22:58

  • OWB mapping error - OWB version 11.1.0.7 is oracle version is oracle11gR2

    OWB dear Guru.

    I need your expertise here.

    My test database is less than version.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production


    My production database is less than version.

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production


    My prod and test OWB version is 11.1.0.7.0

    Here's what I'm trying to do. I have all the prod export map and import into the test instance. I need to customize the mapping
    validate and test. then I export from tests and import them into production. The DB between prod and test are different.
    There is no concern about that?


    I got the error when I import the tables of database test below...

    API2423: The detected version is 11.2, but the version of the metadata
    the location is 11.1. Import with version 11.2 will take action. You want to
    update the location of the correct version?

    If I click YES, I get the error below...

    Import service failed when trying to establish the connection
    location of metadata and got the following error message: MMM1064:
    11.2 no value valid in the VERSION2 field...

    If I click NO, then I successfully import all tables.

    When I deploy the mapping of Control Center Manager, I get the error below...

    PRE-01011 cannot deploy target database location, because
    There is not a compatible version

    I'm not sure these because of the different database version error messages?


    SQL > select version of product_component_version where the product as "Oracle % ';

    Version
    --------------------------------------------------------------------------------
    11.2.0.2.0

    SQL >

    Any help is really really useful... Please help me on this...

    Published by: user8904001 on November 9, 2011 19:39

    OWB 11.1.0.7.0 not supported on DB 11.2.0.2.0
    Check the certification @.
    http://www.Oracle.com/technetwork/developer-tools/warehouse/OTN-certify-101037.html

  • can we have several houses Oracle versions on single server

    can we have several houses Oracle versions on a single server in Pap and no cars?

    appreciate your answers

    thnku

    Yes

  • Difference between Oracle versions!

    Hello
    I would like to know the difference between versions of oracle from oracle 7.
    Also would like to know a way to understand the particular function works in version oracle x but not before version x.

    for example. listagg function came in oracle 11.

    Is there a link where I can find it and consolidated in one place.

    Hello

    923808 wrote:
    Hello
    I would like to know the difference between versions of oracle from oracle 7.
    Also would like to know a way to understand the particular function works in version oracle x but not before version x.

    for example. listagg function came in oracle 11.

    LISTAGG was back in 11.2, to be exact.

    Is there a link where I can find it and consolidated in one place.

    Not that I know of.

    From Oracle 9, there is a 'What's new' manual with all versions. For example:
    http://docs.Oracle.com/CD/B10501_01/server.920/a96531/TOC.htm
    Also from Oracle 9, most commonly used textbooks have a "What's New" section to the beginning:
    http://docs.Oracle.com/CD/B10501_01/server.920/a96540/wnsql.htm#971925

    Here is a list I made for my personal use:

    Index of Features, showing when they were introduced into Oracle
    
    ADD_MONTHS Function                    6.0     or earlier
    Aggregate functions, user-defined          9
    ALTER TABLE x RENAME COLUMN a TO b;          9.2
    Analytic Functions                    8.1
         IGNORE NULLS                    10
    APPEND, SPOOL                         10
    
    BINARY_INTEGER same as PLS_INTEGER          10.1     http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/datatypes.htm#sthref690
    
    CASE Expressions                    8.1
    CLOB Datatype                         8.1     or earlier     max size=4G in versions 8.1 and 11.2
    COLUMN ... FOLD_AFTER (or FOLD_BEFORE)          8.1     or earlier
    Conditional Compilation of PL/SQL          10.1.0.4
    CONNECT BY                         2
         CONNECT_BY_ISCYCLE     pseudo-column     10
         CONNECT_BY_ISLEAF     pseudo-column     10
         CONNECT BY NONCYCLE               10
         CONNECT_BY_ROOT          operator     10
         LEVEL <= x (for Counter Table)          8.1.7.4     Re: Oracle Virtual Machine Connect by Prior Problem
         ORDER SIBLINGS BY               9
         Subquery in START WITH clause          9.2     or earlier
         SYS_CONNECT_BY_PATH     function     9
    
    DATE between 4713 and 9999               8
    DATE Literals                         10
    DBMS_Metadata                         9
    DBMS_RLS                         8.1
    DBMS_SCHEDULER                         10
    DELETE in MERGE                         11.1
    
    EXTRACT                              9
    
    FIRST Function                         9
    FOLD_AFTER (FOLD_BEFORE) in SQL*Plus COLUMN     8.1     or earlier
    Foreign Key Constraints                    7     (very limited enforcement in 6)
    Functions, User-defined                    7
         Aggregate                    9
    
    GREATEST Function                    6.0     or earlier
    
    IGNORE NULLS
         in FIRST_VALUE, LAST_VALUE          10
         in LAG                         11.2
    In-Line Views                         8.0     (documented in 8.1)
    
    KEEP (DENSE_RANK ...)                    9
    
    LAST Function                         9
    LEAST Function                         6.0     or earlier
    LISTAGG                              11.2
    LNNVL Function                         10
    
    MEDIAN Function (Aggregate or analytic)          10
    MERGE                              9
    MERGE ... DELETE                    10.1
    MODEL                              10
    MONTHS_BETWEEN Function                    6.0     or earlier
    
    NEW_TIME Function                    6.0     or earlier
    NOCYCLE, CONNECT BY                    10
    NTH_VALUE Function                    11.2
    NULLIF Function                         9
    
    ORDER BY in Sub-Queries                    9
    ORDER SIBLINGS BY                    9
    OWA_Pattern Package (for Regular expressions)     9
    
    Partioned Outer Joins (Query Partitioning)     10
    PERCENT_RANK function                    8.1
    PIVOT                              11
    PLS_INTEGER same as BINARY_INTEGER          10.1     http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/datatypes.htm#sthref690
    Policies, Row-Level Security               8.1
    PURGE                              10     
    
    Q-Notation for string literals               10
    Query Partition                         10
    
    Read Consistency                    4
    Recursive subqueries                    11.2
    Regular Expressions                    10
         expr argument (_INSTR and _SUBSTR)     11.1
         OWA_PATTERN Package               9
    Row-Level Security Policies               8.1
    
    Scalar Sub-Queries (except in WHERE, etc.)     8.1     not documented until 9.1
    SPOOL ... APPEND                    10
    STATS_x Functions (Incl. STATS_MODE)          10
    SYS_CONNECT_BY_PATH                    9
    SYS_CONTEXT                         8.1     USERENV introduced in 8.0?
    SYSDATE as Function                    6.0 ?     (It was a pseudo-column in PL/SQL 1.0, 1989.  6.0 SQL Language manual (1990) calls it a function.)
    
    Triggers                         7
    
    User-Defined Functions                    7
         Aggregate                    9
    USERENV Function                    8.0?     Expanded to SYS_CONTEXT in 8.1
    UTL_Match Package                    11.2     In Packages and Types manual
    
    Virtual Columns     in tables               11
    VPD ("Virtual Private Database")          8.1
    
    WIDTH_BUCKET Function                    9
    WITH Clause                         9
         Recursive                    11.2
    
    XML                              9
    XMLAGG Function                         9.2      (not in 9.1 SQL Language manual)
    XMLELEMENT Function                    9.2      (not in 9.1 SQL Language manual)
    XMLQUERY                         10
    

    Published by: Frank Kulash, 28 March 2012 18:44

  • DataGuard and RMAN across Oracle versions

    I was curious to know what restrictions we cross versions of Oracle using RMAN and DataGuard.  That is to say, can use DataGuard to ship newspapers a 11.2 a standby 12.1 primary?  We have to restore a database 11.2 12.1?

    Support for the mixed Version, for a Data Guard physical standby is generally NOT supported.

    Physical standby need primary and standby should be in the same version

    You can restore database on 12.1 11.2 House, but must open the database with the option 'open resetlogs upgrade' as binary and db are in different version. We perform db upgrade after the opening of database

  • Unable to connect to oracle DB using VBA and you are prompted with the error:-the client components and Oracle network have not been found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or installation of the

    Hello

    It would be helpful to me if someone can give me instructions on setting the version of driver or oracle client required to connect to the the Oracle DB using excel VBA

    My config: -.

    Windows - 8-64 bit

    Excel 2013-32 bit

    The components of the client / I should install, and how to solve the question below...

    I tried the VBA code... but you are prompted with the error message above

    Void Oracle()

    Con Dim As ADODB. Connection

    Dim rs As ADODB. Recordset

    Dim query As String

    The con value = New ADODB. Connection

    Set rs = New ADODB. Recordset

    strCon = "Driver = {Microsoft ODBC for Oracle}"; "." & _

    "CONNECTSTRING = (DESCRIPTION ="& _.

    "(ADDRESS =(PROTOCOL=TCP)"& _

    "(HOST = HostNumber)(PORT=PortNumber))" & _

    "(CONNECT_DATA = (SID = SIDNumber))); UID = username; pwd = password; »

    con. Open (strcon)

    If err. <>Number 0 then

    MsgBox ("Oracle error:" & vbCrLf & err.) Description)

    On the other

    MsgBox ("Oracle DB Connection successful.")

    End If

    End Sub

    I'll replace it with the values of host origin...

    Thanks for the suggestion you till u gave...

    complete solution is in the link below...

    https://itkbs.WordPress.com/2014/07/28/how-to-install-ODBC-driver-for-Oracle-in-Windows-7/

  • DML via view-based process dblink (different oracle versions)

    Hi all

    I'm little on the process. Basically, I have a table, oracle DB version Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production and application Apex resident of Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production. I did a view in the environment of the APEX and trying to do DML but if errros as follows.

    1 error has occurred

    • ORA-01461: can bind to a value of type LONG only for insertion in a column LONG ORA-02063: preceding the line of DW ORA-06512: at "SYS." WWV_DBMS_SQL', line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 832 ORA-06512: at "APEX_040200.WWV_FLOW_DML", line 1489 ORA-22816: feature not supported with RETURNING clause

    Any idea please?

    Thank you.

    RI

    Hello

    try some basics

    Create a stored procedure in the APEX

    -Take your PL\SQL statement that you use in the process of web that points to the instance DB Link

    -Create an APEX procedure with the same information.

    -Point the web process to the proceedings.

    Let me know what you find.

    Kind regards

    Benjamin.

  • What oracle versions redhat linux and takes in charge the JSK?

    Hello

    I try to install JSK on Oracle Linux 7 server, and when I run the runme script, show me the terminal

    "Error: only Oracle Enterprise Linux or RedHat Enterprise Linux are supported.

    "Action: use JumpStartKit on a supported Unix environment.

    So can someone please show me what version of oracle linux I can use?

    Best regards!

    Hello.

    As specified in the Certification Matrix, WebCenter Portal 11.1.1.8 is not certified with Oracle Linux Server 7 again.

    http://www.Oracle.com/technetwork/middleware/downloads/FMW-11gr1certmatrix.xls

    Kind regards.

  • Two inserts help FORALL in oracle version 10.1.0.5.0 - 64bi.

    Hi all
    I'm trying to insert values into a table based on the insert statement another array of return values.
    but I am unable to reach this requirement using the code below.



    DB Version :
    BANNER                                                         
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bi 
    PL/SQL Release 10.1.0.5.0 - Production                           
    CORE     10.1.0.5.0     Production                                         
    TNS for HPUX: Version 10.1.0.5.0 - Production                    
    NLSRTL Version 10.1.0.5.0 - Production 
    sample code:
     CREATE TABLE EMP1 (EMPNO NUMBER(4));   
       CREATE TABLE EMP2 (EMPNO NUMBER(4));   
    
       DECLARE
    TYPE te_emp is table of  emp.empno%type;
    t_empno te_emp;
    l_empno NUMBER;
    begin 
    select emp.empno bulk collect into t_empno from emp;
     forALL  i in 1..t_empno.COUNT  
        execute immediate
         'BEGIN
         insert into emp(empno) values(:1) RETURNING EMPNO into '||l_empno||';
         insert into emp(empno) values('||l_empno||');
         END;' using t_empno(i);
     end;  
    Please help me to reach the requirement as mentioned above.

    Published by: Rama Krishna.CH on 7 November 2012 18:39

    Don't know why you need: 2 (don't make much sense), but anyway. You must pass the entire object, not the attribute of the object:

    DECLARE
        nt_emp emp_ntt;
        v_empno number;
    BEGIN
        SELECT  emp_ot(empno,ename,sal)
          BULK  COLLECT
          INTO nt_emp
         FROM   emp;
        --select emp.* bulk collect into t_emp from emp;
        FORALL i in 1..nt_emp.COUNT
          EXECUTE IMMEDIATE
         'DECLARE
              ot_emp emp_ot;
          BEGIN
              ot_emp := :1;
              insert into emp(empno) values(ot_emp.empno) RETURNING EMPNO INTO :2;
              insert into emp(empno) values(:2);
          END;
         ' using nt_emp(i),in out v_empno;
    END;
    /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    SY.

Maybe you are looking for

  • having disappeared from Apple's music content

    I have a subscription of $9.99 / month to Apple music. I've added to my library and used to listen to a number of albums (without downloading) which are indicated as "point not available - this article cannot be read", and the songs are gray. What co

  • Update the BIOS on a Satellite 1800-314

    Hello I have an old Satellite 1800-314 and I want an update of the BIOS. I did an update of the BIOS on my desk, but never on a laptop. Is there someone who could help me with a manual or something else?

  • SP4600 upgrade memory 1 GB

    Please if anyone knows for sure satellite pro 4600 supports 2 s-SODIM 512 MB each. Already, I have 2x256MB but would like to go to 1 GB.

  • P50-A-12Z - opaque screen satellite

    Hello world I recently bought this laptop, installed with Windows 8.1. I am very satisfied with its performance, but there is a question I do not understand (same toshiba support did not explain): On google chrome and Manager of the computer image is

  • Update since the visit Ultimate to Win 7 Home Premium__

    It covers everything and updated issues I should be aware before moving from VISTA ULTIMATE to Windows 7 HOME PREMIUM? The computer to be upgraded is: HP DV80000