sqcode Oracle returns '0' (zero)

Hi all

Can someone please tell me what is the error number 0 to pl/sql.in which situvation it will be popup?

Thanks in advance,
Sanjeev.

If no exception was raised, SQLCODE return zero and SQLERRM returns the message: ORA-0000: normal completion, with success.

Rajuvan.

Tags: Database

Similar Questions

  • Return to zero

    Can I have a simple select query out the expected. If the balance negative return zero return, otherwise it's. Please provide a select query to obtain the expected results


    Actual output

    Balance
    -20
    40
    50
    -60

    Results expected (if negative balance 0 return)
    Balance
    0
    40
    50
    0

    Hello

    Try this:

    SELECT     GREATEST (balance, 0)     AS balance
    FROM     table_x
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

  • Cursor Oracle return only the last record

    I am a newbie in oracle stored proc. I tried to select data using the slider, but it only return last record. The recording must be greater than 1.

    CREATE or REPLACE procedure MySchema.Test (myrefcur on sys_refcursor)
    Is

    Begin
    declare

    Cursor C1 IS

    Select mySerialNum from TableA;
    MyRecord C1% rowtype;

    Begin
    Open C1;
    Loop
    Fetch C1 into myrecord;
    When the output C1% NotFound;

    Open for Myrefcur
    Select SerialNumB from TableB where SerialNumB = myrecord.mySerialNum;

    End loop;
    Close C1;
    End;
    end;

    However, it only returns the last record in the list.

    Original case *.
    The original code is as below:

    1st, I'll need to select a list of ImageSerialNum of ImageSerial

    * 1 query:
    Select A.ImageSerialNum from ImageSerial A, ProductionOrder B, Bom C
    Where A.ProductionOrderID = B.ProductionOrderID And B.Assembly_Num = C.Model_Num and
    B.Revision = C.Revision And B.EngRevision = C.EngRevision and
    C.Bom_ID = passInVariable* and C.FactoryID = "7"

    2nd, I'll need to check the process of EACH series with the code below:

    * Low code a return process for 1 series only.

    Select t.processid, t.processname, t.assembly_num, t.revision, t.engrevision of
    (Select p.ProcessID, p.ProcessName, in. Assembly_Num, in. review, in. EngRevision, im.imageserialnum
    Process p, Routesequence rs, Imageserial im, ProductionOrder in.
    Where im. ImageserialNum = SerialNum* and p.ProcessID = rs. ProcessID
    And rs. RouteID = in. RouteID and rs. SequenceID = im. NextRouteSequence
    And in. ProductionOrderID = im. ProductionOrderID AND IM. STATUS OF '0'
    UNION
    SELECT A.REWORKROUTEID AS PROCESSID PROCESSNAME AS B.ROUTENAME, C.ASSEMBLY_NUM, C.REVISION, C.ENGREVISION, a.imageserialnum
    OF IMAGESERIAL A, B OF ROAD, PRODUCTIONORDER C
    WHERE A.REWORKROUTEID = B.ROUTEID AND A.IMAGESERIALNUM = SerialNum*.
    AND A.PRODUCTIONORDERID = C.PRODUCTIONORDERID and a.status = '0') t

    After that, I would like to combine the two in 1 stored proc code.

    in this case, you just want to join the two applications to use in the FROM clause
    As I don't have your tables, I created two tables, each representing the results of your queries. Substitute the names of table with your queries

    SQL> drop table master
      2  /
    
    Table dropped.
    
    SQL> drop table details
      2  /
    
    Table dropped.
    
    SQL>
    SQL> create table master
      2  (ImageSerialNum varchar2(25));
    
    Table created.
    
    SQL>
    SQL>
    SQL> insert into master values ('Serial1');
    
    1 row created.
    
    SQL> insert into master values ('Serial2');
    
    1 row created.
    
    SQL> insert into master values ('Serial3');
    
    1 row created.
    
    SQL> insert into master values ('Serial4');
    
    1 row created.
    
    SQL> insert into master values ('Serial5');
    
    1 row created.
    
    SQL>
    SQL> create table details
      2  (ImageSerialNum  varchar2(25)
      3  ,ProcessID  number
      4  ,ProcessName varchar2(25)
      5  );
    
    Table created.
    
    SQL>
    SQL> insert into details values ('Serial1',  1, 'Process1');
    
    1 row created.
    
    SQL> insert into details values ('Serial3',  3, 'Process3');
    
    1 row created.
    
    SQL> insert into details values ('Serial5',  5, 'Process5');
    
    1 row created.
    
    SQL>
    SQL> select m.imageserialnum
      2       , d.processid
      3       , d.processname
      4    from master m
      5    left outer
      6    join details d
      7      on (m.imageSerialnum = d.imageserialnum)
      8   order by m.imageserialnum
      9  /
    
    IMAGESERIALNUM             PROCESSID PROCESSNAME
    ------------------------- ---------- -------------------------
    Serial1                            1 Process1
    Serial2
    Serial3                            3 Process3
    Serial4
    Serial5                            5 Process5
    

    your query will be something like

    select m.imageserialnum
         , d.processid
         , d.processname
      from () m
      left outer
      join (
    
  • can u help me? Why if I use the function javascript parseInt for number of special character '08' and '09' return is zero for all versions firefox...?

    var n = '08';
    var r = parseInt (n); r is zero is not 8

    You must specify the number of base (10).

    If this isn't the case, then Firefox might think that this is an octal number in numbers and in this case 8 and 9 are not valid.

    var n = '08'; var r = parseInt(n,10); // r is 8
    alert(r);
  • 1016: could not connect to the database: Oracle returned ORA-00257: archiver e

    Dear friends,

    Receive the above error.

    Removed my old ARC files to another drive and now the error again.

    How can I go about it.

    Please advice.

    Thank you!

    Note: I use Oracle 10 g on a Windows platform

    Published by: user645399 on July 26, 2012 18:36

    After 1000 posts, you need to understand that 10g is not a version number, but a marketing label. That's what says the error message,

    ORA-00257: archiver error. Connect internal only, until freed.
    
    Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.
    
    Action: Check the archiver trace file for a detailed description of the problem. Also, verify that the device specified in the initialization parameter archive_log_dest is set up properly for archiving.
    

    If you simply deleted files using the command o/s, it don't will not update the control file that these files are no longer available and space mapped by them must be released. If you must use cross-checking of the RMAN command to confirm the deletion and mark the file as expired and then you will have to issue delete expired . Apart from this, the only option would be to add more space to the destination where you store the archive logs.

    HTH
    Aman...

  • AllDates - return to zero

    I accidentally added a date to some scans by which I am researching always the correct date and so I'd like to go back to 'none' State that they were before using the ExifTool to change - AllDates on the date indicated by mistake.  In this way when they are classified in a folder by capture time, they always rise to the top.  I can't find the command ExifTool to simply remove specific tags or date specify such as execution - AllDates would blank or zero fields.

    Someone knows how to do it with ExifTool?

    Thank you!

    Jeff

    Here's the syntax to remove DateTimeOriginal:

    ExifTool - xmp: datetimeoriginal = - exif: datetimeoriginal = file

  • Preferences of recent items returned to zero, without saving the changes

    I noticed yesterday for some reason, the drop-down list of recent items in applications such as TextEdit and Pages no longer displays anything. I went into System Preferences and chose 10 recent Articles, but it did not save my changes. That is, after I closed and reopened the system preferences, he once more had no selected for the recent items box.

    No idea how I can restore recent?

    Skip this question actually, I found a work around.  Mods are free to remove.

  • I tried the procedure to treat the error 8007005 - I followed the steps with the subinacl. Download and return to zero from Notepad back - all pasted and copied correctly and always my windows will not update. Please tell me what to do!

    I followed the tips you posted - downloaded as it is stated and it still does not work

    Hi Dhirasantadasa,

    Thanks for posting on the Forum of answers.

    Try the location in the Microsoft Download Center and download and install it from there.

    If failure repeated, trying to get the update in Mode safe mode with network by following these steps:

    1. remove all floppy disks, CDs and DVDs from your computer and restart your computer.

    2. click on the Start button, click the arrow next to the button lock and then click restart.

    3. do one of the following:

    ·         If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you need to try again by waiting until the Windows logon prompt appears, and then stop and restart your computer.

    ·         If your computer has more than one operating system, use the arrow keys to select the operating system you want to start in safe mode, and then press F8.

    4. in the display Advanced Startup Options , use the arrow keys to select Safe Mode with network, press enter

    5 sign in your computer with a user account with administrator rights.

    Posted by Brian

    Please let us know if that helps.

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Fill out and return to zero problems with Deskjet 3052 has printer and cartridge 61xl black

    Yesterday, my new 61xl OEM black cartridge ran out of ink. I had it only for a few weeks, but this cartridge made of course go fast (faster than the startup cartridges, I swear!). This is a printer at home that is used only by me for personal use.  I wonder how much ink was in it when I bought it. Of course, they don't disclose the ml on the packaging more... how convenient for them, huh?

    In any case, I decided to fill up again. It was my first attempt for this printer and a total failure. I did some research. I used 2 other cartridges to fool the technology of memory without result. Online instructions for which parts of contact on the Strip are either nonexistent for this cartridge or are as clear as mud so I couldn't try it again... This is where it would have been a picture is worth a thousand words.

    It would be a very good alignment page printing. So I think it was successful. But when I tried to print or copy something, it would print the upper part and act like it ran out of ink down. The same thing with trying to clean the print heads. He will start the black stripe and stop about two thirds of the way through. There was less black to have with each successive cleaning, I've tried. If I started on the first cleaning would have the same generous amount of black ink, but decrease as before. I was losing the ink in my brand new color cartridge so I stop messing with it.

    I received errors to gogo (not OEM! False! The sky is falling!). The ink is obviously coming out of the cartridge, so it's not the problem. All I know is that I have a good full of the same black refill ink oem cartridge that I use in HP cartridges for years.

    I don't really like what is happening to this piece of crap cheapo printer so I am not interested to hear how HP has my best interests at heart. What about someone gullible. If I mess up with cheapo ink, then what? And counterfeiting BS is a bogus excuse too.

    Yesterday I had to go out and buy a new cartridge. So today, I found a printer as I used to have (1315) for $20 on Craig's list. Heck, I have tons of cartridges 56, 57 and 58 for this baby and you can charge for this printer throughout the day. I not picking that up next week but then if someone knows how to bypass attempts to be GREEN with this printer and cartridges, of course I understand the help. Maybe who contacts on tape cartridge? Or the head of which HP exec throw this printer to? I'm open to suggestions. Otherwise, the next cartridge runs out in this waste of time and money, it just goes straight to a landfill where it belongs so it won't be wasting someone else's time or money. Thank you!

    It seems that you have introduced an air bubble in the cartridge drain pipe, resulting in starvation of ink you print.

    Pageyield of HP's site lists the 61xl 8.5 ml cartridge.

  • Apex 4 Cascading LOV s how to define a child LOV back to the null return value

    Hello

    My problem is that I use the new dynamic action to implement features of LOV cascading to the Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes.

    What I find, is that when you change the value LOV parent, then the child LOV (which has a return value of zero) is not or by default in the return value zero (in my case no selection should return-1) if the list is filtered to a different set of values, which is not a selection valid. The LOV child is left without a choice when I need its default value to the return value zero (-1, which represents all values).

    Also, I expected to do before the page is sent and filtering to the bottom of the hierarchy of LOVs can work when the child is zero (-1, which means that all values) and in turn her child LOV (s) will also the child null filter.

    Any help would be appreciated.

    Thank you

    Hi 804641,

    I don't know if I get your problem and I tried to reproduce.

    http://Apex.Oracle.com/pls/Apex/f?p=2672:6 is my example with a LOV cascading where I also defined a dynamic action that is triggered when P6_EMPNO changes and it shows the current selection.

    Maybe it helps if install you an example on apex.oracle.com and provide space to work/user/pwd, so that I can have a look. I'm not sure about your sentence "help for a new dynamic to implement cascading LOV feature", because dynamic actions are not necessary for LOVs cascading. It is a characteristic of the types of items themselves where you just set the attribute "Cascading LOV Parent éléments".

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Shows the columns having / sum not zero

    We have a report that HAV total of twenty columns.

    Whenever we run you report (dynamic query) random columns have sum = zero

    We want to show only eachtime the columns having the amount greater than zero.

    concerning

    Jean Marc

    Hi John,.

    OK - I've tested this here [http://htmldb.oracle.com/pls/otn/f?p=267:43]. The report on the left shows/hides the SAL and COMM columns according to totals. The report on the right shows the complete data. Change the Dept to see this implemented.

    There are other methods available, but that's what I did:

    The select dept list (item name is P43_DEPTNO) is simply a list of departments and a NULL option that returns 0 (zero).

    This report is a SQL statement of:

    SELECT EMPNO, ENAME, SAL, COMM
    FROM EMP
    WHERE :P43_DEPTNO = 0 OR :P43_DEPTNO = DEPTNO
    ORDER BY ENAME
    

    I have a region in the position after the header that uses "No. Template" and contains two pieces of Hidden - P43_SAL and P43_COMM.

    I have a calculation of element, running "Before Header", which sets P43_DEPTNO to 0 if it is NULL.

    I have a PL/SQL unconditional process, "to charge - before Header", which has the following code to the currently running process:

    DECLARE
     vSAL NUMBER;
     vCOMM NUMBER;
    BEGIN
     SELECT NVL(SUM(SAL),0), NVL(SUM(COMM),0)
     INTO vSAL, vCOMM
     FROM EMP
     WHERE :P43_DEPTNO = 0 OR :P43_DEPTNO = DEPTNO;
     :P43_SAL := vSAL;
     :P43_COMM := vCOMM;
    END;
    

    And, finally, on the SAL column in the report, I put the Condition Type for 'value of element in the Expression 1. = zero' and the Expression 1 is: P43_SAL. And even on the COMM, but the Expression 1 column: P43_COMM

    When the page is loaded, the process is executed and SAL and COMM totals are calculated and inserted in P43_SAL and P43_COMM. The report runs and conditions check the values of these two hidden items - if a is not null, then the column is displayed.

    Andy

  • Assistant OR-9234/Sound and Vibration: being reset to zero (crazy) automatically input signals

    Hi all

    I have a voltage source and a force as entries in a sensor module DAQ 9234.

    The software focuses both signals whenever they change. For example, if the voltage is read by data acquisition increases up to a constant value, the software will trace an increase in tension, followed by a slow return to zero. Similarly, if I increase the force applied to the force sensor and keep it at a constant value, the program will draw an increase in force, followed by a return to zero.

    Here is a graphical representation of the problem, which uses the sensor force for example:

    The sensors are passive. The sensor is a PCB 02 208, and the source of tension comes from a LDM-1000 signal conditioner, which receives a signal from a MHR 250 LVDT. By the LVDT core displacement changes are interpreted by the signal conditioner, which translates as the measure of a voltage value that can be read by data acquisition.

    Thank you in advance.

    I assume you have the rule 9234 on coupling AC mode, while you should use DC coupling.

    -AK2DM

  • REGEXP_SUBSTR returns the second group

    (occuranHi! Need help. I'm trying to use regexp_substr to get the channel number. But Oracle returns me NULL when I choose the second game.

    INPUT STRING:

    Line 255 #: 05:59:51.050639000: startup process filling 188234978

    When I choose the first (default) game - it returns:

    start the process of filling 188234978

    SQL:

    Select REGEXP_SUBSTR (' #255 line: 05:59:51.050639000: start filling out the process 188234978', '(start process fill) (\w+)',1,2( )

    de double


    Why?


    Database Oracle 11.2.0.4.0 x 64

    In my opinion, there are two groups:

    1 # start process filling 188234978

    2 # 188234978

    Yes, there are two groups, but that one game.

    Do not confuse the number of occurrence of a pattern for the number of a corresponding model group.

    It looks more like what you are looking for:

    select regexp_substr(
             'Line #255: 05:59:51.050639000 : start process fill 188234978'
           , 'start process fill (\d+)'
           , 1
           , 1     --< first occurrence of the pattern
           , null
           , 1     --< there you can choose the group in the matching pattern
           )
    from dual ;
    

    However, there are probably more effcient ways of doing, without regex.

  • 64-bit Oracle 11.2.0.4 problem connection postgresql 9.1 64-bit

    Hello everyone, this week I tried extensively to create a connection between an engine and a motor of oracle postgresql, but have failed, followed the user recommendations Kgronau-Oracle through the thread https://community.oracle.com/thread/3560250?start=0 & tstart = 0, but did not work and error that comes out when I run the following query in sqlplus :

    Select * from 'user' PG_LINK;

    ERROR on line 1:

    ORA-28500: connection to a non-Oracle system Oracle returned this

    Publish:

    ORA-02063: preceding line PG_LINK

    I did the settings as follows:

    Oracle Linux 6.5 64 - bit

    I created a file in /home/oracle/.odbc.ini

    with the following information:

    [PG_LINK]

    Driver = /usr/pgsql-9.1/lib/psqlodbcw.so

    ServerName = 172.16.2.14

    Username = user

    Password = pass

    Port = 5432

    Database = database

    Trace = yes

    Trace file = /tmp/database.log

    With the permissions: - rw - r - r - oracle oinstall

    The driver install via: yum install postgresql91 - odbc.x86_64

    version 09.03.0400 - 1PGDG.rhel6

    Also installed the unixODBC package - 2.3.0 compile the source and the result of the-j odbcinst command that results in:

    unixODBC 2.3.0

    DRIVERS...: /usr/local/etc/odbcinst.ini

    SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini

    FILE DATA SOURCES... : / usr/local/etc/ODBCDataSources

    USER DATA SOURCES.. : /home/oracle/.odbc.ini

    SQLULEN size...: 8

    SQLLEN size...: 8

    Size SQLSETPOSIROW. : 8

    $ ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1

    I also created a file $ORACLE_HOME/hs/admin/initPG_LINK.ora with the following information:

    HS_FDS_CONNECT_INFO = PG_LINK

    HS_FDS_TRACE_LEVEL = OFF

    HS_FDS_SHAREABLE_NAME = /usr/pgsql-9.1/lib/psqlodbcw.so

    HS_FDS_SQLLEN_INTERPRETATION = 32

    Define ODBCINI = /home/oracle/.odbc.ini

    Files $ORACLE_HOME/network/admin/listener.ora and tnsnames.ora were also changed as well:

    Listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PG_LINK)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (ENV = "LD_LIBRARY_PATH = /usr/lib64:/usr/pgsql-9.1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin")

    (PROGRAM = dg4odbc)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = SIAPROD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = SIAPROD)

    )

    )

    tnsnames.ora

    SIAPROD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = SIAPROD)

    )

    )

    PG_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = PG_LINK))

    (HS = OK)

    )

    Finally, I've followed these recommendations:

    So, let's create a file strace to see if we get more details for esta trace.

    1. get the process id of the Oracle listener that generates the gateway (ps - ef | grep TNS)

    2 strace o FAE - dg4odbc.log < gateway listener process id > Pei

    3. now start a new SQL * Plus the term and try to select in the Postgres database again. Once you get the error, cancel the process of strace of step 2 dg4odbc.log and download the file to a public file share.

    -Klaus

    http://www.mediafire.com/download/3kglaeg023v3r9r/dg4odbc.log

    I hope you can help me solve this problem

    Thanks in advance.

    Mkirtley good day, thanks again for your help and time on my problem, but I followed your recommendations again and the error persists. Already tired of this, I decided to make several changes to the files of configuration and ODBC iniPG_LINK.ora where I was finally able to operate these services bad XD, all attached configuration files:

    Listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PG_LINK)

    (ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / dbhome_1)

    (ENV = "LD_LIBRARY_PATH = / usr / local / lib: /u01/app/oracle/product/11.2.0/dbhome_1/lib")

    (PROGRAM = dg4odbc)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = SIAPROD)

    (ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / dbhome_1)

    (SID_NAME = SIAPROD)

    )

    )

    tnsnames.ora

    SIAPROD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = SIAPROD)

    )

    )

    SS_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = SS_LINK))

    (HS = OK)

    )

    PG_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = PG_LINK))

    (HS = OK)

    )

    iniPG_LINK.ora

    HS_FDS_CONNECT_INFO = PG_LINK

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_SHAREABLE_NAME = / usr / local / lib / libodbc.so

    # HS_LANGUAGE = American_America.WE8ISO8859P1

    # HS_FDS_SQLLEN_INTERPRETATION = 32

    ODBCINI September = / home / oracle /. ODBC.ini

    / Home/Oracle /. ODBC.ini

    [ODBC data sources]

    PG_LINK = PostgreSQL

    [PG_LINK]

    Debug = 1

    CommLog = 1

    ReadOnly = no

    Driver = / usr / pgsql - 9.1 / lib / psqlodbc.so

    ServerName = 172.16.2.27

    FetchBufferSize = 99

    User name = portaluquindio

    Password = portaluquindio

    Port = 5432

    Database = portaluquindio

    [Default]

    Driver = / usr / lib64 / liboplodbcS.so

    /usr/local/etc/odbcinst.ini

    [PostgreSQL]

    Description = PostgreSQL ODBC driver

    Driver = / usr / pgsql - 9.1 / lib / psqlodbc.so

    The installation program = / usr / lib64 / libodbcpsqlS.so

    FileUsage = 1

    [Oracle @ hs DB02] $ odbcinst-j

    unixODBC 2.3.2

    ............ DRIVERS: /usr/local/etc/odbcinst.ini

    SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini

    FILE DATA SOURCES... : / usr / local / etc / ODBCDataSources

    USER DATA SOURCES.. : /home/oracle/.odbc.ini

    SQLULEN size... 8

    SQLLEN size... 8

    Size SQLSETPOSIROW. : 8

    CREATE DATABASE LINK PG_LINK3

    CONNECT to 'portaluquindio' IDENTIFIED BY 'portaluquindio '.

    WITH THE HELP OF "PG_LINK";

    CREATE DATABASE LINK PG_LINK

    CONNECT to 'postgres' IDENTIFIED BY 'postgres '.

    WITH THE HELP OF 'PG_LINK '.

    [Oracle @ dbhome_1 DB02] $ database

    SQL * more: Production release 11.2.0.4.0 Wednesday, August 12, 2015 09:48:17

    Copyright (c) 1982, 2013, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    SQL > select count (*) from 'usuario"@PG_LINK;

    COUNT (*)

    ----------

    442

    SQL >

    [Oracle @ dbhome_1 DB02] $ database

    SQL * more: Production release 11.2.0.4.0 Wednesday, August 12, 2015 09:50:19

    Copyright (c) 1982, 2013, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    .; SQL > select count (*) from 'general '. "usuario"@PG_LINK3

    COUNT (*)

    ----------

    63143

    SQL >

    The above configuration leads to several conclusions, given my experience with all heterogeneous services:

    (1) it is not really clear, precise and detailed information on the installation of the heterogeneous services and its connection with unixODBC in oracle, I say this, because all Web sites official and unofficial oracle differently to configure or similar appear, but I always find people with different problems without clear indications of your problem.

    (2) I think that it is very important to take account of the version of unixODBC, because the version 2.3.0 has not helped me and I had to use the 2.3.2. Version 2.3.0 did not help me, because a mistake: '[unixODBC-support] [IM002] [unixODBC] [driver manager] data source name not found and no pilot not specified default', unlike points 2.3.2 and it was installed in the same way as above:

    tar xvf /tmp/unixODBC-2.3.2.tar

    CD /tmp/unixODBC-2.3.2

    . / configure; do; make install

    (3) I have several dblinks with data different connection as stated above, this means that the dblink is not logging data of the odbc.ini.

    Yet once, I thank very you much collaboration user Mkirtley, because it was a great help.

    I'm now stuck looking for a tutorial or a manual on how to write sentences or procedures between oracle and postgres.

    For now I leave you with the following problem when you run a SQL statement in oracle postgres:

    SQL > select 'usua_id' from 'general '. 'The user' PG_LINK

    2 where "usua_usuario" = "123456";

    where "usua_usuario" = "123456"

    *

    ERROR on line 2:

    ORA-00997: invalid use of LONG data type

    SQL >

    Thank you very much and good day.

  • error trying to connect to an excel file into oracle

    Hello, I'm trying to create an ODBC module within the Warehouse Builder to connect to an excel file,

    but I get this error message when creating the location.

    ORA 28500: Connection between Oracle and a system non-Oracle return this message name [Microsoft] [ODBC Driver Manager] Data Source not found and no default driver specified. {IM002}.

    Can you please guide me, because I really need help. Please ask me anything they have to provide.

    You have configured SYSTEM ODBC DSN? What's his name? Could you also post the gateway init file?

    Thank you

    Klaus

Maybe you are looking for

  • Cannot install update

    I get an error 2324.

  • Calibration Portege Z830-10F and battery

    I have a problem with the Portege Z830-10F battey. With no alert, closing down and when to start the load at the level start at 51%. In an hour, the charge is complete. There is a method to calibrate the battery? Best regards.Nicola

  • M426FDW HP SCANNING SOFTWARE

    Hello world Can someone help me please. Im tring to locate and download the software for my M426fdw Laserjet printer called HP SCAN that controls your printer to scan, fax, etc. Could someone providie a link? I reinstalled the full package, but it do

  • Cannot get rid of the pop ups for coupons

    Pop we free coupons appear as soon as I open a new application.  A ran a Security Scanner from Microsoft - complete sweep, no virus or other bad things.  Then in tools and turnned popup blocker.  Could not find where they come from, but happens 20 to

  • Why is hotmail/gmail now reduced to unreadable? How can I get rid of MSN?

    This font size is small enough to be unreadable, check my email - hotmail or google became in fact a very UNPLEASANT experience;