How to digit grouping in result grid?

Hello Community & SQL Dev team,
Asking on behalf of my workmate :)
===================
Does anyone know to enable digit grouping in result grid?
Display: 999,999,999
Instead off: 999999999
===================
Yury

Thanks Barry, the feature request has been submitted:
https://apex.oracle.com/pls/apex/f?p=43135:7:10812276646823::NO:RP,7:P7_ID:36181
Forum members: visit the link and vote for the feature if you would find it useful.
Cheers!
Marc

Similar Messages

  • SSMS Addin - How To Access Query Results Grid

    Hi,
    I want to access Query Result Grid(Results) in SSMS addin but I did'nt found anything.
    How can I access Query Result Grid, Rows, Columns and Cells when I executed a script?
    Thanks.

    SQL Server Management Studio currently supports query execution results to be displayed in three different ways: Results to Grid,
    Results to Text and Results to File.
    By default SQL Server Management Studio is configured to display query results in
    Grid format.  If you want to change the default to some other option follow these steps.
    1. In SQL Server Management Studio, under Tools menu, click
    Options as shown in the snippet below.
    2. In the Options dialog box, expand Query Results, expand
    SQL Server and then select General as shown in the snippet below. In the right side panel choose one of the three options shown below in the
    Default Destination for results drop down list and click
    OK to save the changes as shown in the snippet below. The changes will go into effect once you open a New Query window.
    Query Result Options for Results to Text
    In this format you have the option to display the results in a different tab as well as setting different output options.
    In the Options dialog box, expand Query Results, expand
    SQL Server and then select Results to Text tab as shown in the snippet below. In the right side panel first select the checkbox for
    Display results in a separate tab and then select the checkbox for
    Switch to results tab after the query executes and then click
    OK. If you would like to also display the column name in the result set then choose the option Include column headers in the result set
    as shown in the snippet below.
    The options you can use in the Text format are:
    Output format: - In the above snippet you could see that by default the output is displayed as columns aligned. Some of the other options that are available are Comma Delimited,
    Tab Delimited, Space Delimited and Custom Delimited. If you choose the Custom Delimited option in the Output format drop down list then you need to specify a character of your choice for the delimiter in the
    Custom delimiter text box.
    Include column headers when copying or saving the results: - If this option is selected, then whenever the results are copied to clipboard or it is saved to a file the column headers are also copied along with the results.
    Include the query in the result set: - The text of the query is displayed as part of query output under the messages tab.
    Scroll as results are received: - If this option is selected, then the display focuses on the most recently returned records at the end of the results set.
    Right align numeric values: - If this option is selected, then numeric values will be aligned to the right of the column.
    Discard results after query executes: - If this option is selected, then the query results are not displayed in the reviewing pane.
    Display results in a separate tab: - If this option is selected, then the result set after query execution will be displayed in a new tab instead of at the bottom of the query window.
    Switch to results tab after the query executes: - If this option is selected, then after the query execution the screen focus will be set to the results tab.
    Maximum number of characters displayed in each column: - This sets the maximum characters to display for any one column.  So if you have a column that is 500 characters this will only show the first 256 if you keep the default setting.
    Ref link :http://www.mssqltips.com/sqlservertip/2346/different-options-for-query-results-in-sql-server-management-studio/
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • N95 number digit grouping

    Hi,
    I´ve purchased an N95 8Gb NAM (N95-4, RM-421) model. I´m in Argentina but the phone was purchased in USA.
    When I dial a number, edit a contact´s number o receive a call the number appears formatted as "## ### ### ###"
    Here in Argentina (and I suppose many places outside USA) we use to format numbers differently. We use (###) ####-####, ie. an 8 digit number preceded by an optional 2 or 3 digit area code. As an example my office number is:
    "(11) 4864-5xx4"
    When I try to dial that number the screen shows
    "1 148 645 xx4"
    that results very annoying.
    Prior to this new N95 8Gb I had a N95-1 where I never had that issue.
    How is this setting changed ? Why the phone suppose I must like american digit grouping ? Even when it asks on first power up on country, language and date/time format ?
    Nokia - "Connecting people" making them to support themselves after wasting USD800+ on a inflatable dinghy "Flagship" :-(
    PS: DON'T EDIT MY SIGNATURE PLEASE !!!

    29-Jul-2008 12:00 AM
    cjlim wrote:
    The N95-4 is a US only version of the N95 8gb. The version for the rest of the world is the N95-2.
    I understand.
    But, in some parts of "the rest of the world", like Argentina, or several other places in South America, if you want be able to connect your N95 to the 3G networks, you'll need the N95-4 that has it's UMTS band set to 1900 Mhz. European (or "rest of the world" ) N95s are set to 2100 Mhz
    Said that, I still don't understand why the number formatting, that's strictly for display purposes is tied to the UMTS band frequencies and not user configurable :-o
    Message Edited by marlboro35 on 29-Jul-2008 12:54 AM
    Nokia - "Connecting people" making them to support themselves after wasting USD800+ on a inflatable dinghy "Flagship" :-(
    PS: DON'T EDIT MY SIGNATURE PLEASE !!!

  • How can I export the results of a query?

    After executing a select statement I can see the results in a grid but how can I export the results (the data)?
    How can I export the results of a join of two or more tables?

    Right click in the results grid and select the Export menu option

  • "group by" resulting in 'invalid number' error

    Hi,
    I have following query:
    SELECT from_locn from  appwms.PROD_TRKG_TRAN ptt 
    join
    (select locn_id,locn_brcd from appwms.locn_hdr where locn_brcd like '60-001-%') locn on locn.locn_id=ptt.from_locn
    where  ptt.TRAN_TYPE = 500
    This runs fine and displays results as below:
    FROM_LOCN
    0000317
    0000319
    0000319
    0000319
    0000319
    Now, adding a group clause results in error:
    SELECT from_locn from  appwms.PROD_TRKG_TRAN ptt 
    join
    (select locn_id,locn_brcd from appwms.locn_hdr where locn_brcd like '60-001-%') locn on locn.locn_id=ptt.from_locn
    where  ptt.TRAN_TYPE = 500
    group by from_locn
    ORA-01722: invalid number
    01722. 00000 -  "invalid number"
    *Cause:   
    *Action:
    Kindly let me know what I am missing here

    Hi,
    I don't see any obvious mistakes.
    Whenever you have a problem, post enough so that the people who want to help you can re-create the problem and test their ideas.  Include a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.Make sure the error occurs with the sample data you post.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • How to Perform Group By operation in OBIEE 11g

    Hi,
    I have created a report for the "Nationality count in department wise manner", since for this i need to give 'group by department' for getting correct answer...
    But in OBIEE 11g on presentation service how i need to give "Group BY" operation....for viewing correct count in nationality wise......
    Regards,
    Harry...

    Hi sai,
    U mentioned, but i couldn't clearly able to understand that.......Since to perform Group By i need to make some setting changes in content in Advanced Tab setting like that it is mentioned, but i need to perform in the following manner
    select count(nationality), nationality
    from per_all_people_f, per_all_assignment_f, hr_all_organization_units
    group by department
    Note: per_all_people_f-----------> dimension table, per_all_assignment_f--------------> fact table
    nationality from per_all_people_f and count(nationality) from per_all_assignment_f
    But department is from hr_all_organization_units--------->dim table
    I dont want to see the departments but i need to group the result in department manner that i was taking from the table hr_all_organization_units.....
    How to perform Group BY in OBIEE 11g.......
    Thanks,
    Harry.........

  • Group by result in query

    how can i see the group by result in a query means show result also in groups i hope u guys understand wat i meann

    Mushy wrote:
    how can i see the group by result in a query means show result also in groups i hope u guys understand wat i meannJust select the GROUP BY columns. Not sure what you are exactly looking for. Lets say you have a table of employee and you want count of employee on each department you can do this
    SELECT deptno, count(*) FROM emp GROUP BY deptnoHere i have selected deptno and grouped by deptno.
    Is this what you are looking for?

  • [SQL] how can i get this result....??(accumulation distinct count)

    [SQL] how can i get this result....??(accumulation distinct count)
    Hi everybody,
    pls tell me how can it possible to get result?
    ### sample data
    date visitor
    10-01 A
    10-01 A
    10-01 B
    10-01 B
    10-01 C
    10-01 C
    10-02 A
    10-02 C
    10-02 C
    10-02 D
    10-02 D
    10-03 B
    10-03 B
    10-03 B
    10-03 A
    10-03 A
    10-03 F
    10-04 A
    10-04 A
    10-04 F
    result that i want...like this.
    date date_unqiue_visitors acc_date_unique_visitors
    10-01 3 3
    10-02 3 4
    10-03 3 5
    10-04 2 5
    date distinct visitors : count(distinct visitor)
    but how can i get accumulation distinct visitor count???
    Thanks to every body..

    SQL> select dt,cnt,sum(cnt1) over(order by dt) cnt1
      2  from(
      3  select dt,count(distinct visitor) cnt,sum(flg) cnt1
      4  from
      5   (select dt,visitor,(select decode(count(*),0,1,0)
      6                           from test
      7                           where rowid < t.rowid
      8                           and visitor = t.visitor) flg
      9   from test t)
    10  group by dt);
    DT                CNT       CNT1
    10-01               3          3
    10-02               3          4
    10-03               3          5
    10-04               2          5
    Message was edited by:
            jeneesh
    Wrong...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Transaction of item with cost-group 2614 results incost-group comingle

    Hi,
    I'm working on EBS 11i.
    I have setup inv organization and wms is enabled.
    When i'm trying to make transactions betwwen suborganizations there is an
    error message for some type pf items:
    Transaction of item with cost-group 2614 results in cost group comingle.
    I see that for some item, in On hand quanitity form are grouped in different cost groups.
    There is a way to change the cost group of those items, or to make this cost group disabled.
    In this organization I do not care about cost and account. (It is just needed to have physical count of items)
    Pls advice how to solve?
    Thank you in advance,
    Denis

    HI,
    is not that type of error.
    Actually there is no error. the system is working as it should.
    I have used different cost groups in subinventories.
    I need a way to change the cost group for some of the items.
    I found some workaround in article 837816.1 but i'm not able to follow it.
    Pls,
    help with procedure to follow.
    Thank you in advance,
    Denis

  • Digit grouping for large numbers

    Hi,
    Is there a way in APEX to display large numbers with digit grouping?
    E.g. to display "ten millions" as 10'000'000 and not simply as 10000000.
    I didn't find anything neither in APEX (3.0) nor in my browser settings (Firefox 2.0). And I guess the database settings don't matter in a web environment. How is that handled in web applications?
    Thanks for any response,
    Roger

    Hello Mike,
    Thank you for your tip! It worked fine in the tabular form with its report region.
    However, how would you do that in a single record form with its form region? I looked in the attributes of the items and the region and could not find the corresponding. The closest possibilities I found were fields in the "edit item page" (under "elements") to manipulate HTML attributes.
    Can this display formatting be done via HTML? And if not, how else?
    Thanks in advance,
    Roger

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • I followed previous keylogger detection instructions from an older post - how do I interpret the results that appeared in Terminal?

    I have a Macbook pro that I suspect my exhusband installed keylogger software on.  I followed the keylogger detection instructions posted on an older post, but I do not know how to interpret the Terminal results.  What should I be looking for in the strings that result?

    You don't have an off-the-shelf commercial keylogger installed. I can't rule out a well-hidden rootkit. That would only be possible If the attacker is a computer expert, or if he had help from an expert. If you suspect that, you'll either have to consult an expert yourself or (less expensively) erase your hard drive, reinstall OS X and all your other software from known-good copies, and restore only your documents and settings from a backup.
    I should add that there are hardware keyloggers on the market that don't install any software at all. The cheap ones can't be accessed remotely, but with enough money you can buy pretty much anything. A highly motivated attacker could plant listening devices in your home, your car, or your office.

  • Imported CD songs are each put into a separate album. How can I group them in one album?

    Imported CD songs are each put into a separate album. How can I group them in one album?

    Look at Steve MacGuire's helpful article:  http://samsoft.org.uk/iTunes/grouping.asp

  • How I can displsy the results in a nice readable format

    I have this query in a cursor
    I is displaying the data like this
    Major/Minor RestrictionEnglish English and Theater Envir St-English
    How I can make it to display something like this
    Must be enrolled in one of the following Majors:
    English, English and Theater, Envir St-English
    looks easy but the descripton come from the union (cllumn    stvmAjr_desc)
         SELECT
         DISTINCT
           ssrrmaj_major_ind,
            DECODE (
                       ssrrmaj_major_ind,
                       'I', g$_nls.get ('BWCKSCH1-0088',
                               'SQL',
                               'Must be enrolled in one of the following Majors:' ,'<BR />'
                       'E', g$_nls.get ('BWCKSCH1-0089',
                               'SQL',
                               'May not be enrolled in one of the following Majors:','<BR />'
                          indicator1
                FROM ssrrmaj,
            scbcrse,
           ssbsect
          WHERE     scbcrse_subj_code = ssbsect_subj_code
          AND SCBCRSE_CRSE_NUMB = ssbsect_crse_numb
           AND ssrrmaj_crn = ssbsect_CRN
          --- AND ssrrmaj_majr_code = stvmajr_code
           AND ssrrmaj_term_code = ssbsect_term_code
           AND ssrrmaj_major_ind IS NOT NULL
           and SSRRMAJ_TERM_CODE = term  
           and ssbsect_subj_code = subj
           and ssbsect_crse_numb = crse_numb      
           UNION
           SELECT
           DISTINCT
             stvmajr_code,
           stvmAjr_desc
         FROM ssrrmaj,
            scbcrse,
           ssbsect,
          stvmajr
      WHERE     scbcrse_subj_code = ssbsect_subj_code
          AND SCBCRSE_CRSE_NUMB = ssbsect_crse_numb
           AND ssrrmaj_crn = ssbsect_CRN
           AND ssrrmaj_majr_code = stvmajr_code
           AND ssrrmaj_term_code = ssbsect_term_code
           and SSRRMAJ_TERM_CODE = term 
           and ssbsect_subj_code =  subj
           and ssbsect_crse_numb =crse_numb
           ORDER BY ssrrmaj_major_ind DESC;
      the second query display the data after the union
    like this
    1250 Earth and Oceanographic Sci
    1310 English and Theater
    1300 English
    1450 Envir St-English
    I guess I can deal with the dis play like
    this I only need the desc not the code
    Earth and Oceanographic Sci
      English and Theater
      English
    Envir St-English
    This is how I am displaying the results, the results are correct, I just need to diaplay the data in a more friendly format
    HTP.p ('<h4>Major/Minor Restriction</h4>');         
           FOR  ssrrmaj_major_REC IN  ssrrmaj_major_c (term_in,ssbsect_rec.ssbsect_subj_code,ssbsect_rec.ssbsect_crse_numb)
            LOOP
                IF  ssrrmaj_major_REC.ssrrmaj_major_ind IS NOT NULL
                THEN
                ----HTP.p ('<h4>Major/Minor Restriction</h4>');
                 twbkfrmt.p_printtext (ssrrmaj_major_REC.indicator1);  HTP.p ('<BR />') ;
                  ELSE
                  HTP.p ('<h4>Major/Minor Restriction N/A</h4>');
                  END IF;
                END LOOP ;   

    Just a thought...I suggest to use XSLT for doing these type of formatting. Its more flexible to get XML for te query columns and then define the formatting at XSLT level. This way you dont have to keep changing the procedure or query. Just XSL change will do the job..

Maybe you are looking for

  • What is import statement for ?

    Hi all, Sorry for asking a silly question. Since it is a new to java forum I am asking this. What is happening when an import statement is triggered at compile time and at runtime. What is the difference/advantages/disadvantages between importing an

  • Apps have connect to itunes to receive push

    When I launch Yahoo Fantasy Football app, message keeps popping up "Connect to iTunes to receive push notifications" -then I connect, sync and the same thing appears. Some other apps do the same thing, some say the message once and it's fine.  It hap

  • Browser Rendering Oddities, Symbols disappearing?

    Hello folks, I was feeling great this morning having fixed (I thought) some issues with an animation (with previous help from this forum!) and successfully adding audio. The animation played fine in all browsers BEFORE I added the audio, but after: -

  • OEM Grid Control 10201, cannot find executable for 64bit.

    Hi, I need to install OEM Grid crontol 10.2.0.4 on Sun 64bit. I have already installed OEM 10.2.0.4 64 bit patch installer but I am not able to find the 10.2.0.1 full installer for 64bit for Solaris although I can see 10.2.0.1 for 32 bit which I do n

  • Issue with Credit note

    Hi, We have made a returns sales order RET. This sales order has five line items with same item category. Now when we made the order related credit memo. system only copied 4 items and we saved the credit memo. . we do not know why the system ignored