Is there a way to match all columns in a table?

Oracle 11.1.0.7:

Is it possible to say match all columns in A table with table B? For example:

Table A
--
ID
name

Table B
--
ID
name

Is there a way to say matches all columns with a similar column in others in a select statement instead of making "where A.id = B.id and B.SID = b.name? I'm trying to write a script of comparison to check that replication is in effect doing the right thing.

user628400 wrote:
Is there a way to say use 'Less', but exclude the column 'y' and 'z' comparison?

Not without explicitly listing the columns that you want to compare in the different SELECT lists, no.

If it was something you wanted to do on a regular basis (looks like it's just a unique validation), you could potentially generate the statement LESS through dynamic SQL where you could easily exclude some columns. But it's more work that simply listing the column names in a static SQL statement, unless you plan to do on a regular basis.

Justin

Tags: Database

Similar Questions

  • Is there a way to select all text objects containing the specified character?

    Is there a way to select all text objects containing the specified character?

    For example,.

    My work consists of points and numbers.

    Points are separated into blocks of text, so are numbers.

    I want to select all points, so I group.

    Or numbers and group together them.

    Screen Shot 2014-09-23 at 14.48.52.png

    Yes,

    -loop through all the elements of text

    -get each content

    -compare to '. '.

    -If the matching, save a reference to that block of text

    -When does with all frames

    -loop through all stored references and move to a group

  • Is there a way to "minimize all" applications to see the desktop?

    Is there a way to "minimize all" applications to see the desktop. I can do this on a Windows PC using WindowsButton + M.

  • I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP.

    I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP. I don't want to remove them from the laptop - contains any installed programs, etc.

    I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP. I don't want to remove them from the laptop - contains any installed programs, etc.

    Encrypt files...   http://support.Microsoft.com/kb/308989

    But do it on your own windows login, it is password protected so technicians can not access (let connect them only on a guest account).  http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/ua_provide_guest_account_w.mspx?mfr=true
  • Is there a way to customize all folders at once with the same details?

    I have several folders with several subfolders.  The default details that show for items in the files must be changed, but to make each file individually is taxation.

    Is there a way to customize all folders at the same time with the same details?  Thank you.

    Original title: "customize the details of the record.

    H,

    Thanks for the sharing of information, happy in the knowledge that you have addressed the issue. Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • Is there a way to see all the emails today from my different e-mail accounts in Outlook?

    For example, I have more than 10 accounts e-mail, and instead of the Inbox, click display all the e-mail now and then by clicking Inbox for the following e-mail account, is there a way to see all emails today to all my e-mail accounts 10 +? And if the answer isn't in Outlook, could you tell me another application that could do it please? Thank you.

    Ask groups of Outlook
    http://answers.Microsoft.com/en-AU/Office/default.aspx#tab=3
     
    The integrated Vista Windows Mail program displays all accounts in one Inbox.
     
    --
    ..
    --
    "Kim2theKiko" wrote in message news: 65d412c9-e571-496e-9 d 72-278d0fb323c9...
    > For example, I have more of e-mail accounts 10 and instead of click
    > Inbox, view all the email today and then clicking Inbox for the next
    > e-mail account, is there a way to see all emails today to all my
    > 10 + e-mail accounts? And if the answer isn't in Outlook, could you tell me
    > another application that could do it please? Thank you.
    >
     
     
  • Is there a way to select all emails in RT Mail when their deletion or must be done individually?

    Is there a way to select all emails in RT Mail when their deletion or must be done individually?

    Is there a way to select all emails in RT Mail when their deletion or must be done individually?

    Hey MarioPapa,

    If you have a keyboard connected, you can click a message and press the CTRL + a shortcut to select all before using the button Delete. Unfortunately, there is no way to accomplish this task using the key.

    -Chris

  • Calculation Manager - is there a way to see all the members not recognized for a rule or script at the same time

    A customer has a script component that has a good amount of references hardcoded to embedded members.  Is there a way to see all Member unrecognized at once without having to modify the script to each Member not recognized individually in order to validate again in order to see the next?

    Joachim

    not as far as I know :/

    It was already like that in environmental assessments before Calc Manager.

  • Is there a way to detect all the keys that the user clicked in AS3?

    Hi all

    Quick question - is there a way to detect all the keys that the user clicked using the AS3 code? I have pimples on my project and I want to that they be disabled once the user has clicked on it, but I wonder if there is a function that I can write that will automatically disable all keys that the user clicked once?

    Thank you!

    Here is an example where the buttons share the same handler... try it and see if it works (I can't due to not having Flash on hand).  The only problem that I could expect it not to love the evt.currentTarget is not identifiable as a particular class type, but sometimes it can't.  If this is the case there is an easy solution.

    Btn1.addEventListener (MouseEvent.CLICK, processBtnClick);

    btn2.addEventListener (MouseEvent.CLICK, processBtnClick);

    function processBtnClick(evt:MouseEvent):void {}

    evt.currentTarget.removeEventListener (MouseEvent.CLICK, processBtnClick)

    }

    If you also want to keep track of which buttons were clicked already you can store in an array...

    var clickedButtons:Array = new Array();

    Btn1.addEventListener (MouseEvent.CLICK, processBtnClick);

    btn2.addEventListener (MouseEvent.CLICK, processBtnClick);

    function processBtnClick(evt:MouseEvent):void {}

    evt.currentTarget.removeEventListener (MouseEvent.CLICK, processBtnClick)

    clickedButtons.push (evt.currentTarget)

    }

  • I have 300 pictures in the section 'develop' Edition. I would like to make all B & W. is there a way to make all B & W rather than one by one?

    I have 300 pictures in the section 'develop' Edition. I would like to make all B & W. is there a way to make all B & W rather than one by one?

    Hi Kates,

    You can always apply the same develop settings of an image at all.

    Please follow this link and it should be useful:

    https://helpx.Adobe.com/Lightroom/help/develop-module-options.html

    Please let us know if this helps

    Kind regards

    Tanuj

  • Is there a way to get all the names of collection under which an entity is attributed?

    Is there a way to get all the names of collection under which an entity is attributed?

    Hello

    For a list of the collections which make reference to a specific entity, please refer to the following API request (see documentation of swagger producer-Service-entity ):

    GET /publication/ {publicationID} / {entityType} / {entityName} / {referencingEntityType}

    This request has been added to the content producer DPS2015 API examples, you can now use the getReferencing()function. Please see /article/get_referencing_entity.php for the complete example.

    You can download the latest examples of producer API Content DPS2015 and swagger documentation from here, all the resources are in a file single zip.

    -Mike

  • Is there a way retroactively copy all the text highlighted?

    I pointed out the text in a pdf document without activating the function "copy the text selected highlight... ». Is there a way retroactively copy all the text highlighted?

    Yes, it is possible to do it with a script (in most cases). I'll send you a PM with more details.

  • Is there a good way to find all references to a table or a column?

    I have recently inherited an application large apex and receive requests to make changes.  I would like to ensure that any changes that I could do on a table or a column in a table affect application pages which I think are involved.  However, demand is high, and I'm assuming that it is possible for other pages may refer to the same column or table, and I was not aware of these references (at least until after he breaks once I have change the column or table).

    My question is this: is there an integrated report, or a way to query apex, who will tell me ALL references to an application to a particular table or column?  This way I could fix all pages in the application, rather than waiting to break.

    Thank you!

    John

    John,

    Look to the upper right while in the Application Builder, for the area of the search Application .  Enter any string you want and APEX will search to find and view a report that contains a link.  Click the link and APEX will show the page and control chain concerned.

    Here's another way; query the table APEX seen through this code:

    SELECT workspace,
           workspace_display_name,
           application_id,
           application_name,
           page_id,
           page_name,
           region,
           item_name,
           display_as,
           display_sequence,
           item_label,
           db_column_name,
           db_table_name,
           help_text,
           item_id
      FROM apex_application_page_db_items
    WHERE     workspace = :workspace
           AND db_table_name = :table_name
           AND db_column_name = :column_name
    

    Jeff

    Post edited by: jwellsnh

  • Is there a way to read all the music of a kind without creating a playlist?

    Is there a way to select a genre in 'my music' and play all this music randomly.  In its current form when I select the type tab in my music, he will show me all albums, but no way to play what he. I play all this create a playlist. The feature of the music has been removed in the latest version?

    It seems to work for me. Go to the list of its kind. Tap on the work for the genre. This should start to play. You can then go to the bottom of the screen, tap the name of the song played to bring up the work and controls for this piece. You should see the icon at the bottom of the screen shuffle. Tap that.

  • Is there a way to disconnect all devices?

    People keep complaining that I do not answer when I'm not connected. I thought maybe it was Skype high reading on my phone, so I uninstalled it. But the problem persists. People see me as 'available' when I'm disconnected from all the devices I own.

    Anyone know what could possibly be the cause? And is there a way to fix it or is it possible to display all devices, I'm connected?

    Any help is appreciated!

    You can try the /showplaces and cat /remotelogout commands.

    http://community.Skype.com/T5/Windows-desktop-client/Skype-shows-me-online-though-I-am-not-connected...

Maybe you are looking for