Please help with Applet in New Window?

I am trying to write a html page which opens appet into new window.
Tha'ts what i want. My applet has user/passwd authentication and then
makes a socket connection. However i am facing tow problems(kind of one):
1. If i close my applet browser window, socket connection is still active.
(if i use appletviewer.. every thing works perferctly)
2. on my web page, if i click again to open my appet window it refreshes my applet window again ....if it 's already opened. in other words, my applet does not really gets reloaded from my webserver..
Please advise..
Here is my HTML Code
index.html
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=840,height=630,scrollbars=yes');
return false;
</SCRIPT>
<A
   HREF="NewJApplet.html"
   onClick="return popup(this, 'notes')">Loads Streamer </A>
</HEAD>NewJApplet.html
<HTML>
<BODY>
<P>
<APPLET  code="NewJApplet.class" width=800 height=560></APPLET>
</P>
<HR WIDTH="100%"><FONT SIZE=-1>
</BODY>
</HTML>

You can open a frame, and have a very small applet on your html page. Perhaps you can set the applet size to (0, 0).
You could also open a new browser window that is not resizable and contains your applet in its full size and without the toolbar buttons and menubar. I think you need javascript to configure the new browser window like that.

Similar Messages

  • Help with creating a new window

    Hi there
    Could anyone help me with the coding to create a new window in java? Basically its when i click on a button a new window pops up
    thanks

    Icer_age828 wrote:
    Could anyone help me with the coding to create a new window in java? Basically its when i click on a button a new window pops upWe need more information on what you mean here, what you know and what you don't know. Do you understand the basics of Java? Are you talking about using Swing? If so, what exactly do you mean by a "new window"? You can create a simple dialog via the method JOptionPane.showMessage(...) method. Do you mean to create and show a new JDialog? JFrame? Do you know about ActionListeners and how to add them to jbuttons? Given your post, I think that your best bet would be to start going through the Sun Java Swing tutorial from the beginning. Look here .

  • HT1420 Please help with Authorizing a new computer

    I have tried what they say to go to store then account and it says I have 2 computers authorized and the only button is to deauthorize the 2 computers. Please help. I just want to add our new computer.

    Press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (79377)

  • Please help with my Boot Camp/Windows problems

    I need to install windows on to my iMac to continue a course I’m taking at uni. Sadly it’s been a nightmare so far.
    I backed up all of my data and opened Boot Camp Assistant and tired to partition a section of my hard drive for windows. However it gave me an error each time I tired. After asking around I was told to buy idefrag and that should fix the problem - it didn’t. I was then told to format the hard disk and reinstall OSX. I did that and Boot Camp was now happy to partition my hard drive.
    I insert a copy of legitimate copy of Windows 7 Professional (x64) and clicked the Install Windows button when Boot Camp prompted me to.
    Windows installation menus open after a quick restart but quickly tells me it cant see any partitions/drives to install on.
    I googled the problem read that the partition should be formatted to NTFS for windows seven to install and that OSX wont do that. I installed a free program called NTFS-3G and that formatted the partition to NTFS.
    Windows now saw the drive and went through the installation process. After it has gone through its automated routine it restarts the Mac and takes me to a "Press any key to boot from CD or DVD..."
    I press Enter and it takes me back to the very first installation menu and restarts the whole thing until it has once again gone through its automated routine and restarted the Mac and told me to press any key.
    This happened ever time. During the install I am presented with the options of "Installing Windows" or "repairing windows". When I tried the automatic repair it told me it could find no fault.
    So I started again by deleting the partition from within OSX and making a new one and installing windows and restarting but this time remove the windows 7 disk.
    All this did was boot the Mac up in OSX. I then restarted the Mac and held down the options key. This presented me with the choice of booting from the Mac HDD or the windows partition. I chose the windows partition and it takes me to a black screen with a flashing line/prompt and does nothing else.
    I assumed Windows 7 might not like my Mac for some strange reason so brought a copy of Vista business with SP2 (x86).
    I deleting the partition from within OSX and made a new one. I began installing Vista. It told me it could only install on NTFS formatted partitions/drives.
    Once again I used NTFS-3G to formatted the partition to NTFS and relaunced vista.
    It installed fine and restarted itself. Once again it took me back to the first installation screen just as windows 7 did. I tried restarting without the disk (hold options again) and it took me back to the black screen with the flashing line and sat there forever.
    I restarted the Mac with the OSX 10.6.1 install disk in the drive and it booted up ignoring the disk. I launched the disk from desk top and looked through the install options hoping to find some drivers or extra installs for boot camp/windows. I couldn’t see anything.
    I don’t know what else to try.
    I have a 21.5' iMac:
    Model Name: iMac
    Model Identifier: iMac10,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 3.06 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 3 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: IM101.00CC.B00
    SMC Version (system): 1.52f9

    Re-read in the PDF guide in Boot Camp Assist where it tells you to format the "BOOTCAMP" FAT volume when in Windows.
    http://www.apple.com/support/bootcamp
    But I have really only one question:
    Was this an electronic school download edition? they offer students Windows 7 Pro. If this was an electronic version from school, fine, but it has to be burned at *reduced 2x speed* or it won't work, and can have various (and different for everyone) problems, BUT: it is pretty well known and semi "documented."
    You do NOT need NTFS driver. That is totally wrong.
    Sorry you bought Vista, I used it but once Windows 7 went Beta and then RC I've used 7 and never looked back (what Vista should/could have been but was not, even with SP2).

  • Please help with backup of new MM iCal

    I have just updated to the new MM calendar, and am attempting to understand the proper way to backup iCal on my Mac. The Apple support article says to choose File > Export > Export and choose a location, which implies that one should NOT use the prior system of File > Export > iCal Archive. Do I understand this correctly? If so, why? Also, with the old iCal I could combine my 4 separate calendars under one group calendar and back it up all at once. With this new system, which does not support groups, it appears that I must back up each of the 4 calendars individually. Is this correct? If so, it seems like a step backwards, with (for me) 4 times the work. At this point I just want to find out if my understanding is correct, or if I am more confused than I think I am. Thanks!

    Thank you. You have saved me hours trying to figure out where I might be wrong .

  • Please help ... have new samsung ativ se windows 8 phone ... screen lock is on to require password, but on incoming calls its not locked ... how do i lock it for incoming calls too ???? thanks

    please help ... have new samsung ativ se windows 8 phone ... screen lock is on to require password, but on incoming calls its not locked ... how do i lock it for incoming calls too ???? thanks

    Personal rant, why do people write the entire problem in topic line
    It's not possible with Windows Phone 8.  What's the point, a call is coming in and the phone allows you to answer.

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

  • Hi, please help with the installation of Lightroom 4, I bought a new Mac (Apple) and I want to install a software that I have on the album cd. My new computer does not have the drives. Can I download software from Adobe? Is my license number just to be ab

    Hi, please help with the installation of Lightroom 4, I bought a new Mac (Apple) and I want to install a software that I have on the album cd. My new computer does not have the drives. Can I download software from Adobe? Is my license number just to be able to download the srtony adobe.

    Adobe - Lightroom : For Macintosh
    Hal

  • Please help with minidump - Windows 7 64 bit

    Hi,
    I recently reinstalled Windows 7 and since reinstalling, I've been having a problem with BSODs when running Freemake Video Converter which was working flawlessly before the reinstallation.  No hardware changes have been made, nor any BIOS changes.
    I was getting various different BSOD messages and they seemed to point to Kaspersky 2013 so I uninstalled that, ran Kaspersky's uninstallation tool but still kept getting BSODs when running Freemake.
    So I formatted and reinstalled Windows 7 64bit again and installed MSE instead of Kaspersky. 
    I am still getting BSODs using Freemake though and it looks like a driver problem but that's as far as I can guess!
    My system consists of an Intel 2600k, 16GB RAM, Ati HD5450 VGA, 250GB Samsung 840 Pro SSD, Asrock Z68Extreme7 motherboard, various SATA storage drives, Pioneer DB-206K Blu-ray writer.
    Could someone please help?  I have installed Windows Debug and here is my latest minidump:
    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [C:\Windows\Minidump\030414-9313-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    Symbol search path is: srv*c:\windows\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (8 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.17514.amd64fre.win7sp1_rtm.101119-1850
    Machine Name:
    Kernel base = 0xfffff800`02a4c000 PsLoadedModuleList = 0xfffff800`02c91e90
    Debug session time: Tue Mar  4 02:26:40.038 2014 (UTC + 0:00)
    System Uptime: 0 days 0:09:52.787
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    *                        Bugcheck Analysis                                   
    Use !analyze -v to get detailed debugging information.
    BugCheck 3B, {c0000005, fffff80002ae88a4, fffff880072ffd00, 0}
    Probably caused by : Unknown_Image ( nt!KeReleaseSemaphore+1e4 )
    Followup: MachineOwner
    1: kd> !analyze -v
    *                        Bugcheck Analysis                                   
    SYSTEM_SERVICE_EXCEPTION (3b)
    An exception happened while executing a system service routine.
    Arguments:
    Arg1: 00000000c0000005, Exception code that caused the bugcheck
    Arg2: fffff80002ae88a4, Address of the instruction which caused the bugcheck
    Arg3: fffff880072ffd00, Address of the context record for the exception that caused the bugcheck
    Arg4: 0000000000000000, zero.
    Debugging Details:
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP:
    nt!KeReleaseSemaphore+1e4
    fffff800`02ae88a4 0fb6462b        movzx   eax,byte ptr [rsi+2Bh]
    CONTEXT:  fffff880072ffd00 -- (.cxr 0xfffff880072ffd00)
    rax=0000000000000037 rbx=fffffa8010760580 rcx=fffffa8010760620
    rdx=0000000000000000 rsi=0a1001c9ea0fd64d rdi=0000000000000000
    rip=fffff80002ae88a4 rsp=fffff880073006e0 rbp=fffffa8010760688
     r8=0000000000000000  r9=0000000000000000 r10=0000000000000000
    r11=fffff8a00a3e3130 r12=0000000000000001 r13=fffff880009ec180
    r14=fffff880009b3101 r15=fffffa8010760948
    iopl=0         nv up ei pl nz na po cy
    cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010207
    nt!KeReleaseSemaphore+0x1e4:
    fffff800`02ae88a4 0fb6462b        movzx   eax,byte ptr [rsi+2Bh] ds:002b:0a1001c9`ea0fd678=??
    Resetting default scope
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT
    BUGCHECK_STR:  0x3B
    PROCESS_NAME:  FreemakeVC.exe
    CURRENT_IRQL:  2
    LAST_CONTROL_TRANSFER:  from fffff80002dd7d60 to fffff80002ae88a4
    STACK_TEXT:  
    fffff880`073006e0 fffff800`02dd7d60 : fffffa80`00000000 fffff8a0`00000001 00000000`00000000 fffff8a0`0a3e3000 : nt!KeReleaseSemaphore+0x1e4
    fffff880`07300760 fffff800`02dd954e : 00000000`00000000 00000000`00000000 03030303`00000000 00000000`00000000 : nt!AlpcpCompleteDispatchMessage+0xa10
    fffff880`073007f0 fffff800`02dd6e4f : 00000000`00010002 fffff8a0`024ae648 00000000`00000000 00000000`00000000 : nt!AlpcpDispatchNewMessage+0x24e
    fffff880`07300850 fffff800`02da1d53 : 00000000`00000030 00000000`00000000 00000000`00000000 fffffa80`0f137900 : nt!AlpcpSendMessage+0x4ad
    fffff880`07300950 fffff800`02da2465 : fffff880`00000000 00000000`051fe600 fffffa80`0f137900 00000000`00000000 : nt!PspExitThread+0x223
    fffff880`07300a50 fffff800`02da2575 : fffffa80`0f137990 00000000`00000000 fffffa80`0f137990 00000000`7ef01000 : nt!PspTerminateThreadByPointer+0x4d
    fffff880`07300aa0 fffff800`02acb8d3 : 00000000`00000000 fffff880`07300b60 00000000`7ef01000 00000000`00000000 : nt!NtTerminateThread+0x45
    fffff880`07300ae0 00000000`76e2184a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
    00000000`051fe668 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x76e2184a
    FOLLOWUP_IP:
    nt!KeReleaseSemaphore+1e4
    fffff800`02ae88a4 0fb6462b        movzx   eax,byte ptr [rsi+2Bh]
    SYMBOL_STACK_INDEX:  0
    SYMBOL_NAME:  nt!KeReleaseSemaphore+1e4
    FOLLOWUP_NAME:  MachineOwner
    IMAGE_NAME:  Unknown_Image
    DEBUG_FLR_IMAGE_TIMESTAMP:  0
    STACK_COMMAND:  .cxr 0xfffff880072ffd00 ; kb
    BUCKET_ID:  INVALID_KERNEL_CONTEXT
    MODULE_NAME: Unknown_Module
    Followup: MachineOwner

    Lemental2
    Both of these were inconclusive and were different error codes (BCC).  Though Freemake was the active process I think there is an underlying issue.  Please run driver verifier as instructed in this wiki.  It will give a much better chance
    of "catching" the mis-behaving driver.
    Please run this test to find which driver is causing the problem.  
    If you are overclocking (pushing the components beyond their design) you should revert to default at least until the crashing is solved. If you don't
    know what it is you probably are not overclocking.
    Driver verifier (for complete directions see our wiki here)
    Co-Authored by  JMH3143
    Wanikiya and Dyami--Team Zigzag

  • HT3209 Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    You will need to contact the movie studio that produced the DVD and ask if they can issue you a new code valid for Canada. Apple cannot help you, and everyone here in these forums is just a fellow user.
    Regards.

  • How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore. Please help with proper steps, if any.

    How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore.
    On the new computer, I am getting a message that my all purchases would be deleted if I sync it with new iTunes library.
    Please help with proper steps, if any.

    Also see... these 2 Links...
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141

  • Opening Help Topic in a New Window

    I'm posting this inquiry after searching the forum for the above topic. I have a client who requires that a contextual help page be opened in a new browser window when users press F1 in a web application screen. The client does not want help opened in a new tab or in the same window as the web application screen.
    The web application for which I'm writing help supports only Internet Explorer, versions 7 through 9 (no other browsers). The client programs in .NET and, for security, handles HTML help pages like .aspx.
    I have RoboHelp HTML 9 installed. Contextual help mapping is done with an external XML schema that pairs web application screens with target help topics via F1.
    In practice, despite the new-window requirement, testers have found that CSH opens differently with different combinations of browsers and operating systems. With Windows XP - IE 7 & 8 and Windows 7 - IE9, when the user presses F1, the help screen is opened in a new tab. In Windows 7 - IE8 (32 and 64 bit), it opens in a new window. This last is the way the client expects it to work.
    Here's my question: With RoboHelp HTML 9, can I control whether help opens in a new window, the same window or a new tab? Or do I need to rely on a developer to configure the web application server so that help opens in a new window as expected?
    So far, after a search of user documentation for RoboHelp and my help mapping configuration files, I haven't found a way in RoboHelp or Help Mappings to control whether contextual help opens in a new window or a new tab. I would appreciate any information on whether this attribute can be controlled through a server configuration, or .NET, or some other aspect of the system beyond RH. Or am I overlooking something in RH?
    Thanks and regards,
    Tom

    I'm not sure here but I would say that there is no way you can make that happen from RoboHelp. I believe it will always open in the way you describe, according to the user's browser settings and operating system.
    If there is a way to do it, my gut feel is that is something that your developers will have to implement.
    As a software user, I think it would irritate me to find new browser instances opening but you have to go with what your client wants.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Please Help me in Assigning New Id for Different persons

    version 11g
    please Help me in assiging new person id for dirrerent persons if there middle name is different
    I listed Out Three Scenarios in the below example. Please help me out
    WITH NAMES AS(
    /* Scenario1 -- Three dirrerent people so assign Three diffrrent ID,
                      keeping 1 id as is and assign two new ids from sequence*/
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'C' MIDDLE_NAME FROM DUAL UNION ALL 
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'W' MIDDLE_NAME FROM DUAL  UNION ALL 
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'X' MIDDLE_NAME FROM DUAL  UNION ALL 
      /* Scenario2 NULL can be equal to any value if there is only one value to equate with
        In the below case we have two values that can equate with null so assign three diffrent ids */
    SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , 'J' MIDDLE_NAME FROM DUAL UNION ALL 
      SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , NULL MIDDLE_NAME FROM DUAL  UNION ALL
    SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , 'L' MIDDLE_NAME FROM DUAL  UNION ALL
      /* Scenario3 NULL can be equal to any value if there is only one value to equate with
        In the below case we have ONE VALUE  that can equate with null so DONT ASSIGN ANY IDS*/
    SELECT 17540300 ID , 'AMARONE' LAST_NAME , 'JOSEPH' FIRST_NAME , 'J' MIDDLE_NAME FROM DUAL UNION ALL  
    SELECT 17540300 ID , 'AMARONE' LAST_NAME , 'JOSEPH' FIRST_NAME , NULL MIDDLE_NAME FROM DUAL
    Select * from names
    o/P Required
    ID    LAST_NAME    FIRST_NAME    MIDDLE_NAME
    47540310    WO      ROBERT          C
    99999990    WO      ROBERT          W                   -- New Sequence Number
    99999991     WO      ROBERT         X                   -- New Sequence Number
    47540300    AMATUZIO    ALBERT    J
    99999992    AMATUZIO    ALBERT                          -- New Sequence Number
    99999993    AMATUZIO    ALBERT    L                     -- New Sequence Number
    17540300    AMARONE    JOSEPH    J
    17540300    AMARONE    JOSEPH    Thanks
    Edited by: new learner on Jun 7, 2012 2:12 PM

    I don't understand what this line is doing:
    FIRST_VALUE (fn_get_person_id) -- sequence for the functionI have the impression that the only difference with my query is to select distinct values not to consider duplicates. Correct me if I'm wrong.
    To me this one should give the same result as your query:
    WITH NAMES AS ( /* Scenario1 -- Three dirrerent people so assign Three diffrrent ID, keeping 1 id as is and assign two
    new ids from sequence*/
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'C' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'C' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'W' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'X' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   /* Scenario2 NULL can be equal to any value if there is only one value to equate with
                     In the below case we have two values that can equate with null so assign three diffrent ids */
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            'J' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            'L' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   /* Scenario3 NULL can be equal to any value if there is only one value to equate with
                     In the below case we have ONE VALUE  that can equate with null so DONT ASSIGN ANY IDS*/
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'K' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'Y' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL),
    sel_names AS (  SELECT id
                              , last_name
                              , first_name
                              , middle_name
                              , COUNT (middle_name) OVER (PARTITION BY id ORDER BY middle_name) cnt
                              , ROW_NUMBER () OVER (PARTITION BY id  ORDER BY middle_name) rown
                           FROM (SELECT DISTINCT * FROM names) -- use SELECT DISTINCT here to remove duplicates
                       ORDER BY 1, 2, 3, 4
    SELECT 8888888 new_id, id, last_name, first_name
         , middle_name
      FROM sel_names
    WHERE cnt > 1 AND rown > 1;As you can see I have only replace the the table with an inline view using SELECT DISTINCT *
                           FROM (SELECT DISTINCT * FROM names) -- use SELECT DISTINCT here to remove duplicatesFor the new id I have put a dummy value 888888, you may use a function or a sequence according to your needs.
    Regards.
    Al

  • Welcome. At the outset, I'm sorry for my English :) Please help with configuration Photoshop CS6 appearance. How to disable the background of the program so you can see the desktop. (same menus and tools) Chiałbym to be the same effect as CS5.

    Welcome.
    At the outset, I'm sorry for my English
    Please help with configuration Photoshop CS6 appearance.
    How to disable the background of the program so you can see the desktop. (same menus and tools)
    i wantto be the same effect as CS5.

    Please try turning off
    Window > Application Frame

  • Please help me to find out windows 7 home premium product key

    Please help me to find out windows 7 home premium product key .My windows product ID is 00359-OEM-XXXXXX-XXXX
    my pc have sticker but is damage ...only can see last is -RXWJ8-XXXXX

    Hi,
    Please don't disclose any product key information in here. This is public and open place to discuss Windows 7 problem. It's dangerous for any personal information.
    Also, since the Windows is brought with OEM computer, maybe you could try to contact the manufacturer for help.
    Karen Hu
    TechNet Community Support

Maybe you are looking for