How I would compare if two indexes are the same?

I like to compare if two indexes of two users are the same. Is it possible to to that. I need similer to query below:

to select (2 * (select count (*) from (select * of XPKTBL_A CROSS, select * from XPKTBL_A)) - (select count (*) in XPKTBL_A) - (select count (*) in XPKTBL_A)) WHEN 0 THEN "Index are the same" ELSE 'Indices are different' END 'Result' from DUAL;

UserA:

create table TBL_A (FIELD_A1 number not null,

FIELD_A2 varchar2 (50).

Date of FIELD_A3,

FIELD_A4 number (5.2) default 0,

FIELD_A5 varchar2 (10) not null

);

create a unique index XPKTBL_A on TBL_A (FIELD_A1);

UserB:

create table TBL_A (FIELD_A1 number not null,

FIELD_A2 varchar2 (20).

FIELD_A4 number (5.2) not null,

FIELD_A5 varchar2 (10),

FIELD_A6 number (2) not null

);

create a unique index XPKTBL_A on TBL_A (FIELD_A1, FIELD_A6);

Thanks for the reply Lalit and sorry for the late reply... I got my answer already.

Tags: Database

Similar Questions

  • How to find the data in two tables are the same?

    Hi people,

    Suppose we have table emp01, have 10 records and create another emp02 as table

    create the table emp02 in select * from emp01;

    now both the table has the same data.

    How to find a 'data' in the two tables are the same?

    Hello

    SELECT *
    FROM emp01
    MINUS
    SELECT *
    FROM emp02
    UNION
    SELECT *
    FROM emp02
    MINUS
    SELECT *
    FROM emp01
    

    You can also compare resultset hash to select * in emp01 and select * from emp02 by using dbms_sqlhash.

    Best regards
    Nikolai

  • How do I know if the two tables are the same in the data they contain

    Hello

    How will I know if the two tables are the same in the data they contain?

    Hello

    Please check this thread [compare all columns | http://forums.oracle.com/forums/thread.jspa?messageID=3166309�].

    Kind regards

  • Photoshop CS4 - is - does anyone know how to find out if two people use the same file?

    Photoshop CS4 - is - does anyone know how to find out if two people use the same file?

    Yes, I assumed that was the case, and I thought that this link addressed to her.  I would have thought it was more a function of your network and the OS than Photoshop.

  • How can I check for dates that are the same for today.

    If I have a bunch of dates in a datetime colum. How can I check for dates that are the same for today.
    "For example, this value of days would be ' #dateFormat (now (),"mm dd yyyy") #

    The best I could come up with was:

    Select * from data where data.userID =
    2635 AND
    "Convert (varchar, dateAdded, 101) = ' #dateFormat (now (),"mm dd yyyy") #


    How can I get this to work smart peeople :)

    It is best to make the comparison on the datetime values. One technique is to get the current date at midnight. Then add one day to get tomorrow's date. In your sql query finds all values is greater than or equal to today and less than tomorrow.

    One solution is to do everything in MS SQL

    WHERE the dateAdded > = convert (datetime, convert (varchar, getdate(), 112), 112)
    AND dateAdded = dateAdd (d, 1, convert (datetime, convert (varchar, getdate(), 112), 112))

    Another option could be to use CF to calculate dates:


    WHERE the dateAdded > =.
    AND dateAdded<>

  • How can I open now two copies of the same page

    As a shortcut to business I cut and paste a copy of one web page to another copy. The new feature does not allow two copies of the same page. Is there a way to force the two copies?

    • Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
    • Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
    • Open the URL in a new tab using Alt + Enter on the highlighted entry.
    • Open the URL in the current tab by using shift + enter on the highlighted entry.
  • If two objects are the same resource in the library, how can I check it?

    Seen as below in the code, I created two objects of an object in the library. When you click it, the trace says

    object sample_mc for both. So, how can I check it in the code if several objects are of the same resource of the library...


    var a1:MovieClip = new sample_mc();
    var a2:MovieClip = new sample_mc();
    var arr:Array = new Array();
    addChild (a1);
    addChild (a2);
    A1.x = 50;
    A1.y = 50;
    A2.x = 150;
    A2.y = 50;

    A1.addEventListener (MouseEvent.Click, f_achil);
    A2.addEventListener (MouseEvent.Click, f_achil);


    function f_achil(event:MouseEvent):void {}
    trace (Event.Target);
    If (arr. Length < 2) {}
    arr.push (Event.currentTarget) ;}
    trace ("arr:" + arr);
    {if(arr[0]==arr[1])}
    trace ("OK") ;}
    }

    Yes! But there is a work around to get the class name using the getQualifiedClassName . Now you get success. under the rocks of code for you:

    If (getQualifiedClassName (Object(arr[0])) == getQualifiedClassName (Object(arr[1])))
    trace ("OK");

    It will now compare with your class name at last. Cast object is optional.

  • How can I do to two clips have the same position and scale?

    I just first Elements 10 today, since I'm doing a video for work. I am a seasoned videographer (I am a fairly successful YouTuber), but not with Adobe products. At home, I use Cyberlink PowerDirector 13 (although that is seriously considering moving to Premiere Pro), but for the moment at work I use elements since it is the program that they have.

    One thing that elements can do that PowerDirector is automatically align the clips at the same time. What I need to do, it's got a picture (do not fill the entire screen) suddenly cut to a similar picture of the same size and position, of the effect that the only part of the image changes. In my program to another, all I had to do was put them at the same time, change the shape of the Pic 1 how I want it, move the 2 Pic and do align on the same size and position, then move 2 peak after another in the timeline panel. However, items not the snap to each other, so I have no idea how to put them in the same size and position, one after the other.

    How can I do this? If this can be done in two elements or Pro, I'm going to have to Pro since I use this feature a lot.

    Thanks in advance!

    -Michael

    Michael

    First Elements 10 on what operating system? What video/graphics card your computer use? If NVIDIA GeForce, so we talk 10/NVIDIA GeForce display and other problems related specifically to first Elements.

    But, so far away that...

    Each clip on the Timeline of 10 elements first has a range of properties that contains a sign of movement. The expanded Motion Panel includes settings for the clip Position and scale. among other things.

    Position of two values... (___) (_) first from right to left and from left to right... second for up down or down the most.

    Have you been to the Palette of the 2nd clip properties to set its Position and scale values must match the first element?

    Have you been there and done that?

    Please read and review, and so let me know if I've targeted to what asked you. If this isn't the case, please specify where I missed what you were looking for.

    We'll rethink the situation if necessary and provide screenshots if necessary.

    Thank you.

    RTA

  • How I can center element then which are the same across platforms

    I like a basic layout that work very well in a desktop or laptop without floats to the left in a smart phone.

    What can I do so that they are all centered.

    http://www.dankeithwilliams.com/Gregory/gregory_art1.html

    Any help is greatly appreciated, but is it possible please you as simple as possible. I'm more of a Visual that say a person of coding.

    Thanks in advance

    Because of the limit realestate available on smaller screens, I tend to use the full width of the screen for my basic page layout. This is why floating becomes an option out of place.

  • Avoid to get two theards at the same time

    Hello

    I was wondering how to avoid to run two threads at the same time in teststand. When I using teststand, I found it can run two threads in simultaneity.for example, I can open a file sequence, using single-pass enter point to run a theard, when this theard is not finished, I use single-pass or TestUUTs enter point to run other theard. I want to avoid this case. Is there settings, we can get motor teststand to tell me a thread is running or not?

    Thank you!

    You write a custom user interface? If you use an application Manager (all the example user interfaces and the sequence editor to do), you can see:

    ApplicationManager.Executions.Count > 0

    If you use just the engine that you can keep the number of executions by increment your account upon receipt of the UIMsg_StartExecution UIMessage and reduce your number when UIMsg_EndExecution is received.

    If instead you want to determine the number of executions of a sequence running, you can use RunState.Engine.GetInternalOption () to get a reference to the Application Manager (at least of the UIS and the sequence editor that use an Application Manager) and then do the following ActiveX to get the Executions.Count property.

    Hope this helps,

    -Doug

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • can anyone tell how to compare two documents with two controlled with the same mouse pointers

    can anyone tell how to compare two documents with two controlled with the same mouse pointers?

    Windows and OS X can only display a mouse pointer - it is created by the operating system, not the application.

  • How to have two copies of the same program to install on WIndows 7 and on the desktop

    «"" "Dear help forum:»»"»

    I am new to WIndows 7, but just have not found the right research
    How to get my answer from Microsoft/Windows 7 basic knowledge.

    I have two programs. There are two versions of the same program
    ('LACE') One is the version 4.0.1, and the other is Version 4.0.6.

    I wish I had one old continue to run (using a purchased
    Product key which I own and have for years).

    BUT there is a problem. The old and new programs are the
    same 'setup.exe '? Download 124 MB each. There are small but
    many corrections and changes in the new program, I am told, but
    they do not have add up to change the size in MB of the program.

    SO I'm in trouble when I'm trying to download the program, as
    It seems to be in WIndows 7, a small program that removes the
    size of the incoming download and informed me that I can not download
    a new that I have already one of this program is installed in the
    computer!

    He asks me if I want to "Uninstall" the previous version and then replace
    It is with a new one. I can't cancel the old version because she had a
    Product key that was told to me in the instructions that he could
    only be used 'once', to uninstall the program won't help
    me as I won't be able to continue to use this program once again, as the
    registration code could only be used once.

    I have a purchased code new, different program version 4.0.6.

    Is this a problem with WIndows 7? I already called/sent the
    company and they have no help and no solution for how these two programs
    are to run on the same computer at the same time.

    Can you please help me and provide instructions on how I load
    This program of "LACE" most recent second size 124 MB and even download
    name in the computer (replacing the automated duplicate program
    prevention installer routine), so I can have and use two copies of
    This program on the computer at the same time?

    During the creation of this issue, I had an idea of what will happen if I created a
    second Downloaded Programs folder to contain the program setup.exe inside
    and try the operation or the opening of this place. He did not like
    the program checked the computer for the first copies of the
    LACE and identified, he was always present in the computer and asked
    Once again if I wanted to remove it.

    Thank you very much!

    If this program is not designed for the execution of the two copies on a single installation of Windows, then you simply can't do.  No ifs, ANDS or goals.  You have never been able to do with any version of Windows, and apparently the creators of this program thinks there is no reason to do so, then you'll just have to choose one version or another.  I'm not familiar with the lace, but more recent versions programs usually include most of the older features while adding the most recent.  They sometimes make us learn new ways of doing things that make us less happy, but I'm afraid that's life in the world of computing.

    That said, I must mention that there may be alternatives that you might continue even if they are less obvious than what you suggested.  If you have the professional version or full edition of Windows, you can get XP mode free you can start Windows 7.  It normally happens in 15 to 30 seconds and you could install and run another version of your program under that.  If you do not either of these versions, you can invest in the Anytime Upgrade and do it available.  Upgrade Home Premium to professional is $ 90.

    The other alternative would be a dual-boot configuration where you could have two versions of Windows in separate partitions, so when you start your computer, you can select the one with the version of your program you want.  I think that the choice of the XP mode would be preferable because it would be so much easier to use, but these two options are available, if you want to continue.

    Good luck.

  • How can I separate two movies on the same timeline?

    I use the first elements 11 but that you him have not used for quite awhile so I forgot much of what I learned. So here's my question: I have two movies on the same timeline. How can I separate them. In other words, how can I move one on the timeline, so it won't confuse my editing on the other? But better yet - how can I make a movie on the timeline completely and change it later as a separate film. I have really four shorts - a minute long. I would like to change separately, with a new file name. I don't know how to do that more.

    Tommyvincent

    I did some research on the issues that you have raised in this thread.

    Comments...

    1.

    After you import a video into the assets of the project, you can right click it, select Rename. This file when you drag the timeline will have the new name.

    But...

    If you import a video into the assets of the project, drag it to the timeline, right-click clip timeline, select Rename from the pop-up, then the calendar file will be renamed but not its thumbnail in the active project. You rename this project asset vignette to match if you want. However, these traces yet files renamed to the original with original filename to its disk hard saving location.

    2.

    All down your Timeline... one way would be to export the clip selectively if she was included in the Group of the clips on the Timeline. Two conditions for

    a. change box, set the gray tabs on the work area bar to expand on the segment to export

    and

    (b) in the field of export, have a check mark next to the option "Action work area Bar only.

    3.

    If you have made a clip in the active project, double clicked to open the preview window, you can cut the clip with the points put in and Set Out and create "subitems" with new names in the active project. These "subitems" would be part of the media of this project which could be moved to the timeline when necessary.

    Please review and determine if all the foregoing is in the right direction for what you want to do.

    Thank you.

    RTA

  • I bought 50 weeks to Go on my iphone and my cpu it always says I'll run out and have only the 5 GB, I had originally. They are the same accounts and idea how to fix?

    I bought 50 weeks to Go on my iphone and my cpu it always says I'll run out and have only the 5 GB, I had originally. They are the same accounts and idea how to fix?

    Have you tried signing off iCloud desktop and then signing again? If you check on the phone, does show the plan 50 GB? Are you sure that the two devices are signed on the same iCloud account?

Maybe you are looking for

  • There was a problem connecting to the server "" mount problem?

    Hi every day, every minute a received this Message from an old case of the Gendarmerie of my NAS (?) ... How can I remove this Message or How can I disassemble plus entry into the OS X system?

  • How to create the screenshot using satellites L50 - B

    I wonder how to take a screenshot on my Satellite L - 50 b. I followed the instructions on using Windows and notice that there is a button onmy keyboard that says end and print screen. I tried pressing the button by itself, with shift caps lock, shif

  • ERROR: MapLib:979 - LUT4 symbol

    When I try to compile my code FPGA LV (using LV 2010) I get the following errors: (in LV 8.6 it worked great...) Code: LV FPGA code problem ERROR:MapLib:979 - LUT4 symbol "LvFpgaWindow/theVI/leds_array_ind_0/PlainIndicator.PlainIndicator/cQ_mux0000 1

  • How can I remove files?

    I deleted everything I can find on x-plane. I'm doing a 'search' to make sure that I have and it gives me a list of x-plane. I'm trying to delete them and he told me that they do not exist! It is probably insanity. How can I get rid of all traces of

  • Problems of space in (c :))

    Why it tells me that there are some 15.9 GB of free space where I see that there are only 20 GB used space in (c)? I checked all the folder hidden and scanned using Avast antivirus.