SELECT returning different rows when issued from SQL Developer or Java apps

Hi there. I'm facing a problem here: I'm trying to issue a SELECT from Java, which should return me 2 rows; but I'm getting just one. When I issue the SELECT directly through SQL Developer it gives me the expected result. I've pastebin the code at http://paste.uni.cc/11821, where I've described in details the problem.
What could it be? Any help would be appreciated.
Thanks in advance!

Marco,
I would code it a bit differently, but I don't think that would solve your problem.
I suggest setting up the JDBC logging. I'm not promising it will help, but I guess it
can't hurt. Here is a white paper about it:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/pdf/logging%20white%20paper.pdf
You can also access that link from this Web page:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
Good Luck,
Avi.

Similar Messages

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

  • System events not captured when call from SQL Developer?

    Hi,
    This seems a bit weird to me. I'm not sure if there is something going on that I'm not seeing, or just not aware of.
    Oracle 9.2.0.5.0
    SQL Developer 2.1.1.64
    If I run the following in sqlplus, I correctly get a trace file generated
    alter system set events '1403 trace name errorstack level 14';
    begin
    raise no_data_found;
    end;
    OS Pid: 553 executed alter system set events '1403 trace name errorstack level 14'
    Fri Apr  9 14:11:01 2010
    Errors in file /filer3/admin/dev2/udump/dev2_ora_553.trc:
    ORA-01403: no data found
    ORA-06512: at line 2However, If I run it from SQL Developer.. No trace file is generated. All i get in the log file is the alter system message
    OS Pid: 6806 executed alter system set events '1403 trace name errorstack level 14'Any idea what could be going on here? I'm not sure if this is an Oracle problem, or an SQL Developer problem? Or I'm just misunderstanding how this should work?
    Thanks
    Matt.

    Sorry I forgot to mention, I'm selecting Run script ( F5 ) in SQL Developer.. The script output in SQL Developer is
    alter system set succeeded.
    Error starting at line 71 in command:
    begin
    raise no_data_found;
    end;
    Error report:
    ORA-01403: no data found
    ORA-06512: at line 2
    01403. 00000 -  "no data found"
    *Cause:   
    *Action:

  • How to Select the Current Row When Using af:iterator?

    Hello all,
    I encounter the following problem when using af:iterator to display data from
    a View Object:
    When trying to display the content of a row via a popup, only the first row is
    returned no matter which row is selected. So a selection of the current row
    should exist or some other method which should allow the access to the
    current row.
    The af:table has a selectionListener attribute which permit to achieve this.
    Does anyone know about some similar attribute or some method for
    selecting the current row when the af:iterator is used?
    Thank you,
    Mirela

    I would be interested in the answer to this basic question as well. I cannot get the selected row value of an attribute in an iterator for a view if I simply set-up a attribute binding to the iterator. It seems that this should be possible. I've had no other option but to obtain the current row and the related attributes programmatically. This works fine, but if there is a more elegant option, then I'd certainly like to use it.
              <af:table value="#{bindings.CompaniesView1.collectionModel}"
                            var="row"
                            rows="#{bindings.CompaniesView1.rangeSize}"
                            emptyText="#{bindings.CompaniesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.CompaniesView1.rangeSize}"
                            selectedRowKeys="#{bindings.CompaniesView1.collectionModel.selectedRow}"
                            rowBandingInterval="0" id="tCompanies"
                            summary="Companies"
                            width="100%"
                            rowSelection="single"
                            binding="#{CompanyBackingBean.companiesTable}">Page Def:
        <attributeValues IterBinding="CompaniesView1Iterator" id="Id">
          <AttrNames>
            <Item Value="Id"/>
          </AttrNames>
        </attributeValues>I should be able to get the Id attribute value of the current selected row using "#{bindings.Id}", right? Well, it doesn't work for me. Any ideas?
    Thanks

  • Different Colors when printing from Photoshop and InDesign CS3

    Different Colors when printing from Photoshop and InDesign CS3
    I have the following problem:
    When printing from Photoshop or InDesign to a PostScript printer, Adobe recommends to let Photoshop handle the colors (I use the German version, so I don't know the exact term used, it changes slightly in all CS3 apps anyway).
    The manufacturer however told me to let the PostScript printer handle the colors.
    When I chose this option in Ps's print dialog and then choose ISO Coated as the printer pfofile, the results are fine.
    But when I place the exact same image in an InDesign file and print from InDesign or export to PDF and print via Acrobat, again using "Printer handles colors", the results are the exact same as if I had used Ps and chosen to let Ps handle the colors (way too saturated and a bit too red).
    ·Photoshop CS3
    ·InDesign CS3
    ·Test image is a TIFF in CMYK Fogra 27 Coated (which is also the working color space in Ps and ID.
    ·Printer: Xerox Docucolor 3535
    ·Printer profile: ISO Coated
    How can I make sure the printer handles the colors in other CS3 apps than Ps? I tried it with ID's print dialog (translated from the German version: Color Management > Options > Color Handling: PostScript-printer decides colors).
    Thanks a lot!

    RE: "You don't indicate what Xerox printers you have"
    In my first post I named it, is that the information you need?
    Docucolor 3535 using Splash 3535
    That's interesting, so I have to find a way to turn off the printer's Color Management function? I mailed them, hope they can tell me how to do it easily. They usually just tell me to not use any profiles and so on, but that's the general rule in this area, I'm really tired of hearing it. Everybody seems to think profiles and LAB mode are nuclear science and I should stay away from it.
    Anyway, the test image I'm using is a simple photograph (size A3, 300dpi), so no transparencies at all. I'm placing this image into an equally large ID file and print it from ID, then export it to PDF-X/3 and print it from Acrobat. Hope that helps.

  • Limit users to execute "SELECT" statemes only from SQL Developer

    Hi:
    Is there a way to control what SQL command can be executed from SQL Developer?
    I am trying to limit users to execute "SELECT" statements only from SQL Developer.
    I believe SQL*Plus used to have the product profile where I can control what SQL command can be executed from what user.
    Thanks in advance.

    There's nothing special in sqldev to enforce privileges, the database does all that already. See the database documentation on the GRANT and REVOKE statements. Basically, you would only want to grant SELECT privileges to your users...
    Have fun,
    K.

  • Mail error "Verify that you have addressed this message correctly. Check your SMTP server settings in Mail preferences and verify any advanced settings with your system administrator.Select a different outgoing mail server from the list"

    The Mail application has suddenly started giving error:
    "Verify that you have addressed this message correctly. Check your SMTP server settings in Mail preferences and verify any advanced settings with your system administrator.Select a different outgoing mail server from the list"
    It was working fine till yesterday, suddenly it stopped. I have 3 email accounts configured here, 2 are on exchange servers and one yahoo. Connection verification works and shows all servers as green.
    Any inputs?

    I had 3 accounts, 2 ms exchange accounts and 1 yahoo. After removal of yahoo, everything is back to normal.
    Regards
    Rohit

  • HT204266 Why does my iPhone send me to a select payment type page when I try to download a FREE app from the apps store?

    Why does my iPhone send me to a select payment type page when I try to download a FREE app from the apps store?

    You can only redownload using the Apple store id you purchased the items under

  • Failure to connect to 11G XE from Sql Developer

    Hi Gurus,
    I have been trying for more than a week to make this work. Basically I am trying to install XE database 11.2.0 on my windows 7 64 bit computer.
    I have had problems with the getting the listener up , finally managed to get it up by deleting the Oracle_home and reinstalling 11g XE.
    Changed the listener.ora file to include the sid XE - restarted th listener so now its working.
    -- I am able to start the instance from command prompt as
    SQL> conn / as sysdba
    Connected.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1388352 bytes
    Variable Size 620757184 bytes
    Database Buffers 444596224 bytes
    Redo Buffers 4591616 bytes
    ORA-00205: error in identifying control file, check alert log for more info**
    When I checked the log files here are the details
    from C:\Oracle11XE\app\oracle\diag\rdbms\xe\xe\alert
    <txt>ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;C:\ORACLE11XE\APP\ORACLE\ORADATA\XE\CONTROL.DBF&apos;
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    </txt>
    Please let me know how I can resolved this issue. The eventual goal is to get the database up and running and be able to conenct from Sql Developer installed on the same machine.
    any help will be greatly appreciated.
    Here are some details
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <Cumputername>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = <ComputerName>)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    lsnrctl status result
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 30-JAN-2013 11:35:47
    Uptime 0 days 0 hr. 0 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\Oracle11XE\app\oracle\product\11.2.0\server\network
    \admin\listener.ora
    Listener Log File C:\Oracle11XE\app\oracle\diag\tnslsnr\ZaidHP\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ZaidHP)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Thanks
    Edited by: user12026382 on Jan 30, 2013 10:57 AM

    Hi clcarter
    Thanks for your input. I actually did a complete de-install and re-install.
    The two things I did differently this time was
    1. Delete any ORACLE_HOME or ORACLE_SID variables that were existing and just to make sure check from cmd> set ORACLE_HOME - should return not defined.
    (This I found at a different forum)
    2. Run the setup (as administrator) this time.
    And you guessed it.. It worked. I was able to login to the database. Also could go to the database home page.
    Thanks for your inputs.
    On a side note.. since I am new to forums, I wanted to know how you quote things in the grey area as you did when you replied 'ORA-00205: error in identifying control file, check alert log for more info'.

  • Performance problem with slow VIEW from JDBC (fast from SQL Developer)

    Hi all,
    I'm experiencing following problem and would like to know if someone else also hit this one before and has a suggestion how to solve it:
    I have a pretty complicated SELECT statement that per definition returns only a few rows (~30). With no further optimization it takes ~20 seconds to return the full dataset in Oracle SQL Developer. If you add the */+ PUSH_PRED(name_of_some_inner_view) /* hint (hint is correct, stars got eaten by the OTN-forum syntax), the statement takes less than 0.5s to execute (still in SQL Developer). I saved the statement with the hint as VIEW. Selecting from the VIEW in SQL Developer is also fast.
    Now if I call the statement from JDBC (Tomcat webapp), I can see from the server console that the statement is 1:1 100% the same as the one I execute in SQL Developer. Nevertheless it takes about 20 seconds to complete.
    Here my details:
    SELECT banner FROM v$version;
    BANNER                                                                        
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production             
    PL/SQL Release 11.2.0.2.0 - Production                                          
    CORE     11.2.0.2.0     Production                                                        
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production                         
    NLSRTL Version 11.2.0.2.0 - Production                                          
    JDBC Driver used: some old odbc14.jar as well as current odbc6.jar for 11.2.0.2.0 from http://www.oracle.com/technetwork/da...10-090769.html
    SQL Developer: current version 3.2.20.09From my reading this could go wrong:
    - JDBC doesn't know the VIEW's column data types and Oracle behaves mysterious because of this (=there must be more to the SELECT than just the string, some meta-information)
    - For some reason the hint inside the VIEW is not used (unlikely)
    I also tried a Table Function/Pipelined table and selected from it as a workaround, but the result is the same: Selecting from Function is fast from SQL Developer, but slow from JDBC. All other statements that come from JDBC are as fast as they should be. I really don't know what to think of this and where the error might be.
    Is there some setting that tells Oracle not to use hints when called from JDBC?
    Thank you & Best regards,
    Blama

    Hi Bawer,
    that's what I'm thinking. Unfortunately I can't post it, as it is library code (not my lib). But in the debug-output I can see the SQL-String sent to the DB (which does include the hint).
    But I find the 2nd option you mention more likely anyway: Even if I put the hint into a VIEW and select from the view, the time-difference is there (it's even there if I use Table Functions/Pipelined table and select from the function).
    So I'd think it is more likely that something else is happening (e.g. Oracle is configured in a way that it does not use hints when called from JDBC or similar. Or the library sets some session options in order to prevent the usage of hints). But I don't know if there is even the possibility of doing so.
    Does the Oracle JDBC driver have the option to set these options?
    Does the Oracle DB have the option to set sth. like "ALTER SESSION SET dontUseHints = 'Y';"

  • Mouse moving issue in sql developer 3.2

    Hi,
    I'm using sql developer 3.2 in vmware .I'm facing issue  when i try to select the package/procedure from left side tree structure with mouse,mouse pointer  is moving to some other place.
    If i try to click on one object name(procedure/package/function) then  mouse pointer is moving to other object name automatically.It is very difficult to work .Can some advice why it is ? And how i can resolve?
    And at the same time no issue with  sql developer 1.1 .
    Environment:
    In side vmware
    Os:Xp
    Sql developer  Version 3.2.20.09

    Enable security descriptors = Allow virtual applications full write permission to the virtual file system.
    Here is how it looks like:
    https://twitter.com/packageologist/status/462180503995813888/photo/1

  • Serious UI issues in SQL Developer 4.0 for Mac

    I've encountered some serious UI issues in SQL Developer 4.0 for Mac (4.0.0.13) that impact it up to the point where it becomes unusable.
    If the database and tables are expanded in the "Connections" view, sometimes a node in the tree seems to become sticky. Whenever you scroll the up or down, it will immediately scroll back to make the old selection visible again. If you want to work with an item that's outside the current view (e.g. to collapse the "Tables" node), you can no longer use it. SQL Developer needs to be restarted.
    If the context menu is opened (ctrl click), it appears in the wrong place. It's too far to the right and bottom. If you then move the mouse pointer towards the menu, a rectangle appears and follows the mouse pointer as if you had initiated a drag and drop operation.
    If the "Data" tab of a table is selected and if a cell is clicked to edit the cell value, the text cursor is drawn in the wrong position. It can be off by more than one character and it is often drawn in the middle of a character instead of between two characters. It's hardly possible to edit the cell value as you cannot tell for sure where insertions and deletions will happen. You basically need to copy the value into a separate editor, edit it there and copy it back.
    The scrolling in the "Data" tab of a table is a pain. For no obvious reason, it first scrolls downwards a few rows and then jumps to the top (at least using a Magic Mouse). If all rows have been loaded, this problem seems to disappear. But generally, the scrolling distance is far too short. With a long finger swipe, one would expect to scroll the contents by several pages. However, it only scrolls about half a page. For shorter swipes, it's similar. It sometimes only scrolls by a few pixels.
    Am I the only one to experience these severe problems? Or is the Mac version not as mature as the Windows version yet?

    In terms of diagnosis, perhaps not -- probably very time-consuming to debug.  I did find some unpublished bugs against dual monitor use ...
    Bug 13727841 - FORUM: 64BIT WIN7 SOME DIALOGS SHOW ON DISPLAY 1 WHEN SQLDEV ON DISPLAY 2
    Bug 18504928 - NEW CONSTRAINT UI MENU IN TABLE DIALOG AT WRONG LOCATION ON DUAL MONITOR
    The first turned out to be an issue in the 64-bit Java AWT libraries, not the 32-bit libraries, and specifically for Windows 7 as opposed to, say XP, but this was all quite a bit in the past and was fixed for 4.0.   The second one (on 64-bit Linux), however, just came in yesterday, so you can wait to see if a fix for that also covers your situation or, if you are able, pursue it directly with Oracle Support.

  • No more Data to read from socket from SQL Developer

    Hi,
    When I run the below query from SQL Developer, I get "No more data to be read from socket" error. The Oracle trace shows "Address not mapped".
    select LDateDayPrec, LDateMonPrec, LDateOrder, LDateOrder_cd, LDateSep, LDateYearPrec,
    LanguageCode, LanguageCode_cd, NegNumPres, NegNumPres_cd, NullNumPres, NullNumPres_cd,
    NumDecimalChar, NumUnitSep, NumUnits0, NumUnits1, NumUnits2, NumUnits3, NumUnits4,
    NumUnits5, ProfileName, SDateDayPrec, SDateMonPrec, SDateOrder, SDateOrder_cd, SDateSep,
    SDateYearPrec, TimeFlg, WeekDayPres, WeekDayPres_cd, ZeroPres, ZeroPres_cd,Nls_profile_ver
    FROM NLS_PROFILE WHERE NlsProfileId =1"
    When I run the same query on the server through SQL Plus session, the result is getting fetched properly.
    Next thing , when I select only 28 columns from the table in the above query, then also the row is getting fetched. I tried interchanging the columns. In that case also, the result is same. Also, when I do a "select * from NLS_PROFILE " , the row is getting fetched..
    Can somebody help ?

    SQL> SELECT * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    One more info: This table "NLS_PROFILE" is not on the DB where I am running the query. It is on a remote DB which is accessed via a synonym created over a DB link
    Edited by: 840203 on Feb 28, 2011 9:57 PM

  • How export datas with special characters from SQL Developer?

    Hi.
    I'm doing an import of datas of a table, but this table have special characteres in specific accents (á,é,í,ó,ú), my source table have for example "QRCN Querétaro, Candiles" but when I done an export from opcion Tool --> Export DLL (and Datas) from SQL Developer generate the next script
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    How can I do for export my datas and generate the script correct?
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Querétaro, Candiles');
    thanks.

    Hi sybrand_b,
    1. In my SQL Developer I select Tool-->Export DDL (and Data).
    2. I Select name file, connection (this is a remote DB), objects to export in this case I select 'Tables and data' and table name to export
    3. Run the procedure and generate the script following:
    -- File created - jueves-julio-01-2010
    -- DDL for Table TABLEXXX
    CREATE TABLE "BOLINF"."TABLEXXX"
    (     "CADENA" VARCHAR2(50 BYTE),
         "NUMERO_FARMACIA" VARCHAR2(50 BYTE),
         "SUCURSAL_REFERENCIA" VARCHAR2(200 BYTE)
    -- DATA FOR TABLE TABLEXXX
    -- FILTER = none used
    REM INSERTING into TABLEXXX
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20281','QRCG Quer?ro, Corregidora');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20282','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20283','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20284','SAUN San Lu?P, Universidad');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20285','SAEV San Lu?P, Eje Vial');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20286','SALB San Lu?P, Los Bravo');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20287','SAAL San Lu?P, Alvaro Obreg?');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20288','SACA San Lu? Callej?n de Cod');
    4. But my source table have the next datas.
    Select * from TABLEXXX.
    CADENA     NUMERO_FARMACIA     SUCURSAL_REFERENCIA
    C002     20280     QRCN Querétaro, Candiles
    C002     20281     QRCG Querétaro, Corregidora
    C002     20282     QRFU
    C002     20283     QRFU
    C002     20284     SAUN San Luís P, Universidad
    C002     20285     SAEV San Luís P, Eje Vial
    C002     20286     SALB San Luís P, Los Bravo
    C002     20287     SAAL San Luís P, Alvaro Obregó
    C002     20288     SACA San Luís, Callejón de Cod
    5. I have done a query to table nls_database_parameters.
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     UTF8
    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 TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_RDBMS_VERSION     10.2.0.4.0
    6. I have revised in Regedit-->HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->ORACLE HOME and value for NLS_LANG=AMERICAN_AMERICA.UTF8
    where should I change for export my datas correct?
    or exist any form for export my datas?
    thanks a lot.
    regards

  • Error when log into sql developer as sysdba

    Hi iam able to loging in oracle 11g from command prompt as sysdba,
    the same when iam tried from sql developer with same credentials as sysdba its showing error invalid user or password.
    Could any one help me out o n ths pls?

    Did you select role SYSDBA from the drop-down box?
    Provide all details you entered in the dialog.
    Hope that helps,
    K.

Maybe you are looking for

  • Looking for a tutorial on how to use VI Server

    Hello.  Can anyone link me to a tutorial or article that covers the usage of VI Server across machines on the same network? Also, can VI Server functionality be used inside executables created by developers suite w/o any running LabVIEW instances?

  • Level of local SQLCE/other DB support in windows phone 8.1/using linq to sql from dll?

    I have had a mixed opinion for SQLCE support in windows phone 8/8.1. Is their still support for a local SQLCE or other database in windows phone 8.1? (A lot of different blog articles created their own handlers it appears and one used an visual studi

  • Column header using OdiSqlUnload

    hi, I am using the ODISQLUNLOAD utility to create a a csv from a couple of tables in database. Though the file is generated properly, i am unable to append column headers in the file. Can u plz guide me as to how shud i add the column headings. My co

  • How To caluculate % in Pivot Table..

    Hi All, I have 3 columns like source,Month,Amount.using pivot tabe i displyed Data like this oct xx 45 yy 05 zz 50 GrandTotal 100 Now i want Calculate The %month oct %oct xx 45 45/total yy 05 05/total zz 50 50/total Please Let Me know How to Do This.

  • Being interupted by a message box

    the pop up message content is like below. "While executing getCurrentValue in AddressURL.htm, a JavaScript error occurred." what had happened? it realy make me mad.... plz anybody can help me in this case......thx.....