Display only one instance if value is repeating

hii everyone,
i have a requirement i want to show following data
no name
1 a
1 b
1 c
2 d
2 e
3 f
3 g
3 h
in this form
1 a
b
c
2 d
e
3 f
g
h
i.e if elements are reeating then show their only one instance
i am using oracle 11g is there any way to write this on sqlplus??
thanks

Hi,
810345 wrote:
i am using oracle 11g is there any way to write this on sqlplus??The SQL*Plus command is
BREAK   ON  noAfter you give this command, if the first column in the output is called no, then SQL*Plus will not show it if it is the same as the value on the line right above it.
You may have noticed that this site noramlly compresses whitespace.
Whenever you post formatted text (such as query output) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How can I display only one value of a field with two or more values?

    Post Author: skiabox
    CA Forum: Crystal Reports
    I have a field in my report with 2 or more values (depending of another field id).For example for id = 1 the report gives me 2 names in that field.For id = 3 the report gives me 3 names in that field.I want to display only one of these names in the id row.The selection of name is random.Thanks!

    Hello Tim,  would barely fit in this situation since this code resides on the client’s interaction side of things. I’d recommend using JavaScript for this matter, e.g. var Data_FName1 = document.getElementById(‘Data_FName1’).value;. If you still opt for using CFML, then you’d go for proxying your JavaScript code to a CFC.

  • Display only one row for distinct columns and with multiple rows their valu

    Hi,
    I have a table having some similar rows for some columns and multiple different rows for some other columns
    i.e
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    9825000111 01-jan-06 'a' 991543154 02-feb-06 d
    9825000111 01-jan-06 'a' 154845545 10-mar-06 a
    What i want is to display only one row for above distinct row along with multiple non distinct colums
    ie
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    991543154 02-feb-06 d
    154845545 10-mar-06 a
    regards,
    Kumar

    Re: SQL Help

  • Instead of creating multiple Instances I want to create only one Instance.

    Hi Everyone
    Good morning, How are you.
    I have a requirement to transfer files from one location to another location, I am able to do this successfully using FTP Adapters.
    I have some Issues please help any one.
    1) When I deployed my process it is creating one instance for one file transfer, Suppose If I have 50 files in my Get
    directory, After deploy the process 50 instances are creating and 50 Email generating saying files are not tranfered successfully.
    Instead of creating 50 Instances I want to create only one Instance.
    2) When files are not transferd it will fire error mail saying that not success (I want to display all file names(not tranfered files) in my mail , i.e whatever files are not tranfered, need to diplay in mail).
    3) And I am not able to transfer 0 size files, But in BPEL Console Instance is creating for 0 size file also and I am getting Email for success... and In put directory 0 size file is not showing. (Instance is creating and Success Email coming but file is not exists in Put directory)
    Please help me.
    Regards
    Venkat
    Edited by: user10263255 on Oct 1, 2008 8:10 AM
    Edited by: user10263255 on Oct 1, 2008 9:15 AM

    Hi Dharmendra,
    Thanks for your reply.
    I am not able to see any thing about singleton process in mentioned URL.
    Can you please provide me the another URL or please paste here about singleton process .
    Thanks in Advance.
    Regards
    Venkat

  • Only one instance in a RAC will start at a time

    All:
    I have a 4 node Oracle RAC running on RHEL AS 4 64 bit. 10.2.0.1 64 Bit
    This DB was running just fine last week.
    Now all of a sudden only one instance will start.
    In the alert log I get an ORA-1102
    crsctl shows everything good
    srvctl show all node apps running
    srvctl shows all ASM instances running
    When the second instance starts the alert log shows the reconfiguration taking place.
    Then the second instance will die after getting an ORA-1102.
    I have tried deleting and re-adding all the instances with DBCA.
    ocrcheck comes back fine on all nodes.
    I have another RAC on the same set of HP Blades that is still hunky dorey so I don't know what is going on.
    Please help.

    Hi,
    check the value of cluster_database parameter
    it should be TRUE on all instances, also post ur alert log and trace file.
    Thanks
    Kuljeet

  • How to restrict only one instance of web service running at a time

    Hi All,
    Have a requirement to ensure that only one instance of java web service is active at any point of time.
    Using Application Server 10.1.3.4. Not the soa suite.
    Thanks
    Saikrishna

    Thanks for the reply..
    I have a java web service that pulls up some files produced periodically from remote machine and uploads them to some doc mgmt system and then update the database that what files are uplaoded successfully so that during next run it will ignore those files.
    so, if my web service executes second time before completion of first run. It would pick files that were already processed by first run since the first run might have not updated the databse yet.
    Thanks
    Saikrishna

  • Getting Error :- Only one instance of COBRAS Export can be running at a time

    Hi All,
    I was checking the Briefcase Mode help file and it mentions for Unity Conection
    that COBRAS will run multiple instances of itself – if you schedule multiple backups to fire up at the same time they will all run at the same time.
    However if I schedule multiple backups to fire at the same time then I get the error :- "Only one instance of COBRAS Export can be running at a time".
    This also happens if the COBRAS windows is left open and the scheduled backup starts in the background.
    http://www.ciscounitytools.com/Applications/General/COBRAS/Help/COBRAS_Briefcase/COBRAS_Briefcase.htm#_Toc276653845
    I am not sure if I am making a mistake in understanding the statement :- "COBRAS will run multiple instances of itself – if you schedule multiple backups to fire up at the same time" or do we need to add any switch like lot of other application need like /m etc in the field of the scheduled backups as I see as /silent switch for process to run in background automatically but none for multiple instances.
    I am attaching the screen shots of the errors I got when
    A.) I scheduled 2 backups to run at the same time and the COBRAS application window was open "COBRASExportCUC7.exe" was running  and no backup took place and got errors for both the scheduled backups.
    And
    B.) I scheduled 2 backups to run at the same time and the COBRAS application window was closed off and "COBRASExportCUC7.exe" was not running and one of the scheduled backups started to work and the other one gave error and didn't work
    Unity Connection in use :- Version 8.0.3.20000-18
    Cobras Export :- Version 1.0 Build 76
    Please Suggest.
    Regards,
    Prad
    (E-Mail :- [email protected])

    Yeah, I’m of two minds on that – on the one hand it’s bad style to have a scheduled application popping dialog boxes (especially if you’re running as an account you don’t log in as regularly) – one the other hand I did have some sites go a while not noticing backups were failing (due to a UNC not flying any longer after a server reconfig) – folks can be bad about checking log files or the event log for issues.  A pop up would pretty much guarantee they’d notice on next login at any rate.
    I think I may stitch in email notifications in COBRAS Export in the same way they’re in the User Data Dump so failures of scheduled backups would be noticed right away (big, bright email in your box saying “failed!” would do it). 
    Either way, I’ll update the help and make sure it fails quietly for now when I update some other items on the site middle of next week.
    Thanks for the report.

  • Allowing only ONE instance of a PDF to be open

    I'm trying to work out a new system for proofreading and commenting in our business using the Comment and Markup tools in Acrobat 8 Professional. I'd like to allow multiple users on a network to interact and markup a PDF easily. I'd like to make it so that one of two things can happen:
    a) Only one instance of a PDF can be opened at once on the same network. That is to say, if a user on one computer opens a PDF, another user on the network on a different computer cannot open that same PDF at all, until the first user has closed it. Also, I'm not sure if the functionality for this would be implemented in Acrobat or the operating system (Mac OS X 10.6, to be precise).
    b) Multiple users can open a PDF simultaneously, and markups and comments from all users are somehow saved.
    I'm sure it's more of a possibility for a) to happen, but perhaps I'm wrong. Anyway, I hope there is a solution out there! Thanks for all your help!

    George,
    Thank you for your helpful reply. It does appear that Shared Reviews is capable of providing our business exactly what we need in this regard. I have found that Acrobat 8 does support Shared Reviews, but it only does so with Network Folder locations and WebDAV folders as locations for comment servers. I know how to get to the process to set up Shared Reviews, but not how to designate or set up a folder as a comment server using Network Folders or WebDAV. Unless you just so happen to know about that process as well, I will post a new thread, since the problem of finding a solution has been solved, but the new problem of implementing it has risen.
    Although using Acrobat X Pro to share PDFs and collaborate automatically using Acrobat.com sounds mighty tempting...

  • PAR iView: Only one instance need to be opened by a user in a portal sessio

    Hi All,
      Please  let us know how to enforce only one instance of PAR iView is opened at a given time for a user.
    Regards,
    Gangadharayya.
    For Eg: let us say We have created PAR iview <b>A</b>. Once user <b>U</b> logs in to portal and opens A by clcking on iView link(Let us say that it opens in New Window).
            If U clicks once again on A iView link now , it is opening in one more new window.
           How to stop this scenario i.e. when user tries to open A once again, it should clsoe previous window or SOMETHING LIKE THAT

    Hi,
    How do you link to IView ? If you link with html like
    <a href="http://www.sap.com" target="_blank">SAP</a>
    try to use a target parameter
    <a href="http://www.sap.com" target="sap">SAP</a>
    If you link in this way,
    First time user clicks link,
    It opens new window
    If user clicks the link second time it just refreshes previous opened window.
    Regards
    Abdul.

  • How to display only one record.

    Hi Gurus,
    Here my requirement is i have 2 pages.
    first page having project_number lov,create and tableRN.
    once u select the projectnumber and click on the create button it is navigate to secound page,here enter the data and click on the submit button it ll insert into database table and navigate to fitst page and display the data in tableRN what ever u insert the data(this part is over).
    but the problem is, in tableRN displays all the records(previous records also displayed)
    my requirement is display only one record(click on the submit button at the time of record only).
    Plz help me
    its very urgent.
    Thanks
    Seshu.
    Edited by: its urgent on Jan 3, 2012 10:52 PM

    Seshu,
    Do u want to display the inserted row...
    Regards,
    Gyan
    www.gyanoracleapps.blogspot.com
    www.querenttech.com

  • Display only one variable in the header and not column in WAD

    Hi All,
    my requirement is to be able to display only one variable in the report output header and hide the others. I am able to display all by using the INFO FIELD ITEM and saying variable display ON - but the requirement is very specific for only one variable display.
    how can i achieve this ?
    Thanks,
    Shweta

    Hi,
    You can insert a text item and Turn off the others or Hide these from Filter pane I have done that and then use that query for your WAD.
    Steps:
    1. Uncheck all the variables from your Design item in Analyzer.
    2. Insert a New Text Item and check the Variable you want to display.
    3. Go back and run the Query.
    Even you can change the position in the Query and Save as a workbook.Let me know ,if this works.
    ~AK

  • Best way to have only one  instance of an object in web application.

    Hello,
    I defined a class that provides services to my web application: subscribes user, check if user already subscrubed etc. The objects don't need to save any session information. So it is like a Stateless Session Bean (from what I've read about Session beans).
    The webapp is small and I don't want to use EJBs.
    What would be the best way to have one instance of the above class in my webapp ?
    Would making the class static be a good method ? Using a factory ?
    Is there a way to put in web.xml something that asks the container to instantiate an object that is not a servlet and place it in Application scope, so that I cann retrieve it whenever required in my app ?
    Other suggestions ?
    Thank you,
    Vlad.

    Hi
    The best way to have only one instance is use the singleton pattern. The idea is : the class has a private
    contructor, a public static method that returns an instance of this object and a static member that is false if not any instance and true if there si an instance.
    To obtain one instance you can do some like
    MyObject ob=MyObject.getIntance();
    this method inspect the static member and returns null if true. If false set to true and return the object
    via the private constructor.
    You can lear more at book of Gramma .... (gang of four)
    Hope this helps

  • Consumer Group/Resource Plan to use only one instance of a RAC

    What would be the way to create a Consumer Group/Resource Plan to use only one instance of a RAC? I have 10.1.0.5 database
    running on 10.1.0.5 RAC.
    Thanks,

    You should use "services" to limit workload to just one specific node of RAC:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/create.htm#sthref400

  • MSS iView 'Team Calendar' display only one Month

    Hi ,
    The Managers want to see at least 3 months for the leave , in order to schedule resources/coverage .MSS iView 'Team Calendar' display only one Month . Can we change the number of months ? or use another tool/functionality via the portal ?
    Any help or documentation are welcome .
    Regard's

    In SAP standard config there is no option so as to display more than one month on in Team calender iView.
    In you case you will have to do development.

  • It keeps saying " only one instance of this applictaion can run"

    I keep getting a message " only one instance of this application can run"

    http://forums.adobe.com/thread/1195540

Maybe you are looking for

  • Jabber 9.2.5 desktop sharing intermittently working

    Hello All, I'm experiencing strange problems with jabber desktop sharing feature. I'm using CUCM 9.1 and IMP 9.1 with J4W 9.2.5 in softphone mode. I configured the sip profile for jabber devices with: "Allow Presentation Sharing using BFCP" Sometimes

  • Zend AMF and Flex 4

    Hello, I am currently working on a windowed app that uses the Zend AMF to connect to the database. I have been trying move the framework from my local testing server to my web server. First I ftped the framework files, my gateway.php, and amf_config.

  • I cant'f configure my xorg.conf

    I'm using a COMPAQ dc5100 semi-tower It has a 82915G/GV/910GL integrated VGA When I try hwd -s it detects the VGA but seems to leave it uncomplete: Server : Xorg ( ) " <---Blank Space into () Driver : xf86-video- Module: - If I do hwd -x it generates

  • Qosmio: X505-Q890 Black Screen BUT Computer has not crashed

    I have a Qosmio: X505-Q890, my screen goes black after a few minutes.  But if you look at it on an angle you can see screen and mouse moving around.  I am assuming that the backlights are going out on screen.  What is the fix.  I am capabale of dissa

  • How do i get my moives off my ipod to my new computer?

    i got a new computer and i cant get my moives off my old computer to this one. but there all on my ipod can i pull them off my ipod to my new computer? im wanting to get rid of my ipod cuz i just dont use it at all, but i dont wanna lose the data off