Bug: showing data in tables with same name, 2 different databases

Hi,
two connections, to databases "a" & "b". Both logged into the same schema, "s".
If you select table "t" in db "a" and then select the same table in db "b", the tab is not refreshed - you have to either select a different object first, or explicitly hit refresh.
regards,
William

I can reproduce this consistently on 9.2.0.1.
You need to have connections to the same schema in two different databases and the schemas must have the same table.
1 Open connection in schema 1
2 Select the table in the Tables node
3 Select the Data tab
4 Open connection to schema 2
5 Select the table in the Tables node (without going to any other tabs or objects)
What should happen is the details of the second table should occupy the main display tab and the data tab should be refreshed to show the data of the new table.
What actually happens is the main display tab apparently switches to the table in the new connection as shown by the tooltip (table@connection_name), but the data in the data tab stays the same. Refresh doesn't seem to work, only switching to a different object and back again.
The columns tab does seem to refresh properly.

Similar Messages

  • Funny bug in SQLDev 2.1EA - tables with same name...

    Hi,
    i opened two session in SQLDev 2.1EA, on two distinct instances.
    These sessions are open against the same user and i am clicking on a table with the same name.
    This happens only when the "pin" icon is not set.
    Apparently SQLDev doesn't not distinguish between the two connections when it comes to display the object attributes like columns, data, indexes and so on.
    So, practically, if i click on object 1 (instance 1), click on data tab, then i click on object 1 (instance 2), i still see the data for instance 1, no matter if i ask to refresh.
    This doesn't happen if i open each object in a separate tab.
    This happens on SQLDev on Mac OS X.
    Flavio
    http://oraclequirks.blogspot.com

    Sorry to drop in, but I suppose many have this setup: the same users/connections on both development and production databases.
    However I'm not able to reproduce now on my 10g DBs, I did see the same problem a couple of versions ago (when I was on 9i), but AFAIK that got fixed. Maybe regression anyway?
    Regards,
    K.

  • Concatenate tables with same name from different servers - CR2013

    Hello,
    I need some help.  I need data from 2 tables with the same name on different SQL servers thru an ODBC connection. When I try to get the data by adding both to my datasource I get data from one or the other.  I have considered creating a view, but not sure how to handle this.  Thanks.

    Hi,
    Linked Servers are pretty simple and straightforward, just do a search for the procedure.
    I do have an additional comment, though.  Depending on what tables you're gathering, I've found noticeable differences in performance when I use a connector to a DB on Server Instance "A" linked to "B" versus Server Instance B linked to A.  I haven't determined the circumstances affecting one over the other.
    If I'm not happy with speed using a connector A, I try switching to B.  I like to use as much SQL code as possible, but you can't get around the connector still being a factor.
    Matt

  • Bug: Application Express - Multiple pages with same name

    In my APEX application, I have mulltiple pages with the same name (user requirement). In SQL Developer, it shows the pages with the same name under the MAX Page ID. For instance, I have pages 18, 21 and 22 with the name of "Binder". In SQL Developer I see 3 APEX Page entries for Page 22. And it shows all of the page items for Page 22 in all of the entries.
    Thanks,
    Dan

    If I delete extra .ipa files when two different applications have the same name, then I need to keep track of which is the current version of what. "Sudoku 4.ipa" might be the latest version of one program, and "Sudoku 7.ipa" could be the latest version of another.
    I wish Apple would create a naming scheme where every application has a unique name, and sequential generations are not used. This would make it much cleaner, and there would be no ambiguity as to either which program is which, or which version is which.
    I find the safest way to get rid of all the dups is to just delete them all and re-download the app. The bugs in iTunes still make a mess of things, though.

  • Can't import RAW and psd file with same name different extension

    Trying to import a folder of images from desktop that I have been working with in Bridge CS3.
    LR won't import a RAW file that has a PSD file by the same name. Tried renaming the PSD and deleting the one with the same name, but says it is still there and won't import the RAW file - What is the correct workaround on this? Why can't it import same name files with different extensions?

    A forum search for 'RAW + JPEG' will give you more posts on this than you care to read. This will change. For now, import the RAW and PSD's from separate folders and then move them together for within LR.
    LR is seeing the RAW as a sidecar to the PSD. It is an unforseen effect of the RAW + JPEG thing where they decided to not import the JPEG, seeing it as basically a preview image for the RAW.
    LOL
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Moving files with same name, different extension (automator?)

    I'm trying to find a way to move a large number of files in multiple directories (all at once or directory-by-directory, doesn't matter) if they have the same name but different extensions. For example, let's say I have a photo directory with the following files:
    Photo1.jpg
    Photo1.raw
    Photo2.raw
    Photo3.jpg
    Photo3.raw
    I would like to move the raw files "Photo1.raw" and "Photo3.raw" while leaving "Photo2.raw" in it's current location (as a sign that it doesn't have a JPG counterpart. I'm assuming this can be done using Automator. Can anyone offer some help? Also, it IS likely that the vast majority of files will have a common prefix (similar to "photo" in the above), if that's something that can be used.
    Thanks in advance.

    Anyone have an idea on how to accomplish this?

  • "Open with" shows multiple app's with same name; 2 at most are valid

    I use Preview as my default JPEG viewer application; when I want to edit I used another application and use "Open With". I have a backup drive mounted and the app's backed up show... that's a nuisance, but acceptable.
    However, there are 5 listings for some applications, yet only 2 possible copies (as verified by Spotlight). How can I clean-up the list? Is there a way to tell an app's source (in the menu)?

    A long shot perhaps, but at the bottom of the Open With submenu you will see "Other...". If you go in there there is a setting for either "All Applications" or a specific application folder to be selected. Have you assigned the latter and does it help?

  • Multiple users with same name, different domains

    I'm setting up a mail server for the first time . I've got everything working fine, but I have a question. Can I have the following: [email protected] and [email protected] be two separate accounts? Currently it goes to the same mailbox.
    Thanks,
    - Don

    Yes you can. You will need to set the 2 domains up as virtual mail domains.
    See here for example:
    http://osx.topicdesk.com/content/view/45/62/

  • How to differentiate tags with same name/different attributes using JDOM?

    Hello,
    If I have the following xml file:
    <level1>
    <level2 att="a1">first</level2>
    <level2 att="a2">second</level2>
    <level2 att="a3">third</level2>
    </level1>
    how do I distinguish them from each other and add another attribute to each element?
    <level1>
    <level2 att="a1" insert="s1">first</level2>
    <level2 att="a2" insert="s2">second</level2>
    <level2 att="a3" insert="s3">third</level2>
    </level1>
    regrads,
    Happy New Year!

    Document document;
    NodeList nodeList=document.getElementsByTagName("level2");
            for(int i=0; i<nodeList.getLength(); i++){        
              if(((Element)(nodeList.item(i)).getAttribute("att")).equals("a1"))      
                ((Element)(nodeList.item(i))).setAttribute("insert","s1");  
              if(((Element)(nodeList.item(i)).getAttribute("att")).equals("a2"))      
                ((Element)(nodeList.item(i))).setAttribute("insert","s2"); 
              if(((Element)(nodeList.item(i)).getAttribute("att")).equals("a3"))      
                ((Element)(nodeList.item(i))).setAttribute("insert","s3"); 

  • EA1 - bug: worksheet not updated when switching between tables of same name

    Consider this scenario: two schemas, A, B. Each schema has a table X.
    Look at A.X data by selecting A/Tables/X in the connection list and clicking the Data tab.
    Now immediately look at B.X data by selecing B/Tables/X in the connection list.
    Bug: the worksheet viewer does not switch to B.X, but still shows A.X.
    Workaround: Click to another table before going from A.X to B.X.

    I had the same issue (bug: showing data in tables with same name, 2 different databases but I can't reproduce either...
    K.

  • It is possible to have two tables of same name in Oracle !

    Oracle Version:10gR2
    In MS-Access 2007, I had to use the 'Export' feature by which i copy a table (and its data) to an Oracle Schema via ODBC connection. Later i realised that , when copying tables with a mix of lower and upper case names , the table does not get copied(exported).But MS-Access will give you the message that Table got successfully exported.
    MS-Access messes around with Oracle Data Dictionary.
    When you issue
    SQL>select * from tab;
    TNAME                          TABTYPE  CLUSTERID
    AMStates                       TABLE
    Version                        TABLEYou'll see the table names . But when you try to DESCRIBE or SELECT this table, you'll get
    SQL>desc Version
    ERROR:
    ORA-04043: object Version does not existYou can even create another table with same name in this schema
    SQL>create table VERSION (X NUMBER);
    Table created.Why is this happening and how can i drop these "non-existent" objects?

    sometimes when you use third party clients (ODBC particularly) to create tables, you have to double-quote them to access them. tables names are case sensitive in this case. it is the same situation as if you want to use special caracters.
    so, you have to issue select * from "Version" .
    you can also have the same problem with the connection string.

  • How can i export the data to excel which has 2 tables with same number of columns & column names?

    Hi everyone, again landed up with a problem.
    After trying a lot to do it myself, finally decided to post here..
    I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
    It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
    Because both the tables have same number of columns & column names.
    Below are 2 tables with column names:
    Table-1 (MONTHLY_PART_1)
    Table-2 (MONTHLY_PART_2)
    SL_NO
    SL_NO
    COMP
    COMP
    DUE_DATE
    DUE_DATE
    U-1
    U-1
    U-2
    U-2
    U-4
    U-4
    U-20
    U-20
    U-25
    U-25
    Since both the tables have same column names, I'm getting the following error :
    Error 402 at line 103, column 4
      alias required in SELECT list of cursor to avoid duplicate column names.
    So How can i export the data to excel which has 2 tables with same number of columns & column names?
    Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
    Help me with this please.
    Thank You.

    You'll have to *alias* your columns, not prefix it with the table names:
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id, b.id, a.val1, b.val1, a.val2, b.val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
      for rData in cData loop
    ERROR at line 18:
    ORA-06550: line 18, column 3:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
    ORA-06550: line 18, column 3:
    PL/SQL: Statement ignored
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
    PL/SQL procedure successfully completed.
    cheers

  • SSIS 2012 is intermittently failing with below "Invalid date format" while importing data from a source table into a Destination table with same exact schema.

    We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
    SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
    Error: 2014-01-28 15:52:05.19
       Code: 0x80004005
       Source: xxxxxxxx SSIS.Pipeline
       Description: Unspecified error
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC0202009
       Source: Process xxxxxx Load TableName [48]
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid date format".
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC020901C
       Source: Process xxxxxxxx Load TableName [48]
       Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
    the specified type.".
    End Error
    But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
    This looks like bug to me, Any suggestion?

    Hi Mohideen,
    Based on my research, the issue might be related to one of the following factors:
    Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
    A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • SQL 2008 how to compare & identify data among 2 tables with same structure ?

    Hello is there a TSQL way of comparing row by row for example comparing DateTimeStamp field in 2 separate tables with same structure in identifying if it's data was changed (If Table1.DateField > Table2.DateField THEN UPDATE it's entire row to match it's
    corresponding Table1 row.) ?
    Probably thinking would need a cursor to loop through or are there other better ways via TSQL ?
    Thanks in advance.

    Hi,
    I am assuming you have a PRIMARY KEY field or a UNIQUE field in both tables, which you should!
    You can do this using "UPDATE with INNER JOIN". (SQL Server – Update Table with INNER JOIN)
    Working example:
    USE [TestDatabase]
    GO
    /* Create Temp Tables */
    CREATE TABLE [dbo].[Table1]
    [ID] INT
    ,[Name] VARCHAR(10)
    ,[ModifyDate] DATETIME
    CREATE TABLE [dbo].[Table2]
    [ID] INT
    ,[Name] VARCHAR(10)
    ,[ModifyDate] DATETIME
    GO
    INSERT INTO [dbo].[Table1] ([ID], [Name], [ModifyDate]) VALUES (1, 'Vishal', GETDATE())
    INSERT INTO [dbo].[Table2] ([ID], [Name], [ModifyDate]) VALUES (1, 'Gajjar', GETDATE() + 1)
    GO
    SELECT [ID], [Name], [ModifyDate] FROM [dbo].[Table1]
    SELECT [ID], [Name], [ModifyDate] FROM [dbo].[Table2]
    GO
    UPDATE T1
    SET T1.[Name] = T2.[Name]
    FROM [dbo].[Table1] T1
    INNER JOIN [dbo].[Table2] T2 ON T1.[ID] = T2.[ID] /* Join on Key field */
    WHERE T2.[ModifyDate] > T1.[ModifyDate] /* Update criteria */
    GO
    /* CleanUp - Drop Tables
    DROP TABLE [dbo].[Table1], [dbo].[Table2]
    This Updates Table1 with latest values from Table2, You need to change the UPDATE statement for your scenario.
    - Vishal
    SqlAndMe.com

  • BUG:  With same name jpg and RAW in same folder

    OK, we have established that you can't import same filenames RAW/jpg into the same folder, but you can drag them in later. This is useful for stacking.
    Bugs that occur when jpg and RAW with same name together in same folder. (have not tested for psd, tif etc.
    1. If you rename the jpg, the RAW also gets renamed
    2. You cannot move the jpg properly within the folder in grid mode.
    Most of my landscape shots need to go to photoshop. I developed a nice workflow which integrates PS quite well with LR...see post here:
    http://www.adobeforums.com/cgi-bin/webx/.3bc34679/5
    I created the workflow so that I could retain same name RAW/jpg stacks in the same folder. I have altered the workflow slightly so the jpg gets autorenamed with filename_# ... see the link above.
    Kev

    It's the same design issue Kevin. Sidecar files get renamed automatically and these are treated as sidecars.

Maybe you are looking for

  • How do I // find the library for i photos // move i photos and library to picture folder- macbookkpro a1150? 2005-2008

    how  doi find and identify i photos and library and make sure i photos is valid  .. i want to move iphotos library to picture folder so i can sync my black berry media and clean it off .. it says i need an update  but i learned that its just the ipho

  • How to start from middle of a hierarchy

    I am looking to put a hierarchy dimension on my rows but want to start, not at the top node, but some two or three levels down. How can I specify this in OBIEE 11 G? For example, my hierarchy looks like this: GL Accounts All Accounts Profit Expenses

  • Constant guard bot warning??

    Got an email warning from Comcast today about a possible bot infection detected by constant guard. I have a mbpro, Apple TV and a couple iPads/iPhones. I always run scans using virus barrier and they are always clean.  I have a closed network that is

  • Sync from the favorites on win7

    Hi all, i have a big problem: Since i reinstall my win7 Notebook (Win7 Pro) i get no favorites from my icloud. But if i create a new favorite on my win pc, i can see this link on my ipad and my iphone. If i create a link on my ipad, i can see it on m

  • Will an Epson TM-T88III thermal printer work on a Mac?

    What are the chances (I haven't got it yet) of getting an Epson TM-T88III thermal receipt printer to work on a Mac (OS X 10.7.5)? It doesn't have a USB connection. And I can't see any Mac drivers available for it. Its connection is Serial RS-232 (pos