Chr (10) and WM_CONCAT in a statement?

Hello

Got a query
SELECT wm_concat(col1) "TEST"
    FROM   TAB T
WHERE t.NAME=vName
The results are:
TEST
T1, t2, t3...

What I want is
T1,
T2,
T3,
.
.
.

How can I get it? I tried with Chr (10), but she just added a space after the «,»

Do not forget WM_CONCAT in the undocumented. In any case:

SQL> select wm_concat(chr(13) || chr(10) || ename) from emp;

WM_CONCAT(CHR(13)||CHR(10)||ENAME)
--------------------------------------------------------------

SMITH,
ALLEN,
WARD,
JONES,
MARTIN,
BLAKE,
CLARK,
SCOTT,
KING,
TURNER,

WM_CONCAT(CHR(13)||CHR(10)||ENAME)
--------------------------------------------------------------
ADAMS,
JAMES,
FORD,
MILLER

SQL> 

SY.

Tags: Database

Similar Questions

  • I have a bank I have to use Google's browser instead of safari to be able to download and view my monthly statement.  Auto-complete in safari on id and psd won't AutoFill to this browser.  What can we do to make it right?

    I have a bank I have to use Google's browser instead of safari to be able to download and view my monthly statement.  Auto-complete in safari on id and psd won't AutoFill to this browser.  What can we do to make this right?

    I have safari 9.0.2 have a MacBook Pro.  OS X El Capitan version 10.11.2 for operating system

    If they are having problems with the Safari browser, you must contact the Bank to know if their site is compatible with Safari.

    Good day.

  • computer crashed, used the backup to restore, formated instead and charged in the State of origin. any chance to recover photos lost at this stage?

    computer crashed, used the backup to restore, formated instead and charged to the State of origin, no chance to recover lost photos at this stage?

    Hello

    It is a good free program to recover data. but no guarantee.

    http://www.Piriform.com/Recuva

    You may need to contact the data recovery specialists, who are very expensive.

    See you soon.

    p.s., You use your computer, the less chance you have of data recovery.

  • To what size, we can use if and else in HFM statements rules?

    Hi Experts,

    To what size, we can use if and else in HFM statements rules?
    (Scenario, year, time, account, PKI, value, view, entity, Custom1, Custom3, Custom3, Custom4)

    concerning
    Dev
  • Rendering and display custom item States

    I have this custom itemrender (which is an ACE, not a MXML class). When a user clicks on an element of the view state should switch to 'selected '. The selectedstate adds a text tag. But for some reason any the text box does not appear. When I add an effect to the selected state, the effect appears after clicking. If the state change works, but why the text box is not visible?

    Code:
    < albums: AlbumBrowser
    ID = "albumBrowser.
    Width = "600".
    dataProvider = "{Model.instance.album.aPhotoAlbumsOnPage}" > "

    < albums: itemRenderer >
    < mx:Component id = "albumRenderer" >
    < albums: AlbumRenderer
    buttonMode = "true" > (which is an AS class that extends UIComponent and implements IDataRenderer)

    < albums: States >
    < name mx: State = "selectedState" >
    < mx:AddChild >
    < mx:Text text = "this is a test" / >
    < / mx:AddChild >
    < / mx: State >
    < / albums: States >

    < / albums: AlbumRenderer >
    < / mx:Component >
    < / albums: itemRenderer >

    < / albums: AlbumBrowser >

    Anyone? Thank you.

    The text control has a default size (100 x 21 I think) and it expands vertically automatically because it must take all the text. Label, on the other hand will grow horizontally.

    Default size of UIComponent if 0x0, but her children do not affect its size. The UIComponent function don't ask their children how big they are while a component container will do. Containers like HBox and VBox will grow to fit their children; Canvas pliers just them.

    For your example you don't need to specify the size.

  • BlackBerry Smartphones SMS messages in a "pending" and do not send State.

    Hello

    First of all, my network coverage is the current state: edge and the signal bars.

    I must have done a framework change without knowing, because for these days whenever I send a text Message it enters a State of waiting on hold. What is the problem? Can I still receive SMS Messages, but can't send. It is also my PIN. I sent a friend request and that is pending for a few more days.

    Try to reset the unit, with the phone lights up, remove the battery for 30 seconds and install it again, let me know.

  • Purpose of "null is not null" and "null is null" statements

    Hi all

    Please can someone explain the purpose of these statements and what it means.

    1 null is not null

    2 null is null

    (a) NULL should be treated in a special way in the comparisons - see values NULL SQL - IS NULL and IS NOT NULL or SQL ISNULL(), NVL(), IFNULL() and COALESCE() functions

    (b) If you really clauses Null is not null or Null is null (meaning: the first is not a variable) it could replace "always wrong" and "always true"; Maybe in some test queries

  • Windows 8: Active window gets inactive automatically and continues to the flashing [sudden switching between active and inactive window continuously States]

    Hello

    I use DELL NewXPS Ultrabook with Windows 8. When a window is open and kept inactive for about 1 or 2 minutes, it is automatically inactive and the continuous window status from an active - inactive shows automatically. When this happens, the window is idle most of the time and the active State continues to appear at irregular intervals, repeated for a few milliseconds. This appears in the form of a 'flash' in the title bar. It's really annoying, especially when I read a document, this flashing action breaks the concentration and is really a burden for the eye.
    I reinstalled the entire system through a complete restoration and tried to update all the drivers, but the problem persists.
    Everyone knows the same problem? What are the causes and what are the steps to follow to get rid of this? Can anyone help?

    Hello

    As you reinstalled the operating system, I suggest you to contact Dell technical support for assistance.

    http://en.community.Dell.com/support-forums/laptop/f/default.aspx

    Feel free to get back to us for any information related to Windows.

  • Change in several States and action of each State

    Hello world

    I created a button that people can click to read more information. This button can be toggled to display more information, and when enabled, a new button shows STILL MORE information. This second button that appears, I want to change the State, once they click on "Keep Reading" 'Back' and for the 'Back' button to display the first State of the button more than information.

    Does make sense? I don't know much about variables, and my Advanced action work was pretty basic so far. I guess I could hide the button "Keep reading" original, and after that hide the back button appears, but then that on the scale of the key first, original. When that flashes again, how can I do showing the original more information?

    Any help would be appreciated, and before anyone jumps to conclusions and says there is too much text, etc.; It's purely a demonstration and a learning exercise for me to see if it is possible. First imageSecond imageThird image

    Personally, I think that your end users will find this confusing design.

    I suggest save you a lot of work using the first slide as a menu slide and then have the button read more them access to another slide entirely that provides additional information.  On THIS slide, you will have the entire real estate slide to show your text and can not even need to make it more complex by adding other additional buttons.

    If your skills with variables and advanced actions are minimal, I mean will be much easier to achieve and will not blow your deadlines.

  • transactions and failure of DML statement

    Hello

    Say I have 10 DML statements as part of my operation and the 9th one fails (and I have no to autocommit).

    Is it possible to have an exception that deals with this and 10th instruction and allow the validation of the transaction, or the whole operation should be cancelled?

    Thank you.

    Your session will automatically rollback the statement failed. All prior statements remain uncommitted. What you do then, it's up to you.

  • Cancellation-TBS and very large update statements

    Hello

    to be sure that I'm right...

    Currently, it need to update a table with 230.000.000 lines. A single statement attempted to update 14.000.000 lines, but this update statement failed after 29 hours with ORA-015555.

    1 how long Undo-TBS store blocks? Only until the validation of the actual transaction, isn't?

    2. on the table, we have 7 index on columns. Is it true, that we can reduce the amount of Undo-SCT for this operation if we remove some clues?

    Kind regards

    Mark

    Ask DBA_SEGMENTS or DBA_ROLLBACK_SEGMENTS for segments Undo and V$ UNDOSTAT for usage of Cancel.

    Hemant K Collette

  • How to have a menu with a submenu and keep the rollover State when on submenues

    I'm trying to find a way to have my top menu bar to stay on the status of "rolling" when the mouse pointer is on the submenus. My menu has different colors for each part with turning single images for icons. I would like to have my submenu visible and rest in its condition of bearing on the main part of the menu. Is this possible? I tried to watch the forums here, but did not find it.

    Please see this for what I mean: http://demos.go2eventlink.com/Eventlink-temp/temp/

    Hello David, I got it figured out. The Setup program knows a blank publication and I even had a black composition inside for a menu with submenu.  I also checked the options as Position: stacked, see the target on turnover, hide in slowing. Then the key is to have the bounding box of the 'zone' covering the menu and submenu area which will then eject the mouse if still considered in the area of "churn" even if it is out of the menu and above or around the area of submenu. Also the bearing is the same State as the mouse downwards and the condition of the assets.

    Here's what I did. I hope this helps.

    Web site - 1.muse - Google Drive

  • Size buttons menu custom for active and roll over the State

    Hello.

    I'm looking to create a navigation menu (simple rectangles with text) in which the role active and several indicate the box will be larger in height.

    I wish well for on roll over the button to magnify and others to shrink, then for there great when selected.

    In the example below, this is what I want it to look for the apps page.

    I'm stuck as the menu widget only allows them to be on only one size. Any ideas how I can achieve this?

    Kind regards

    Sean

    Screen Shot 2014-11-18 at 20.20.14.png

    Post edited by: Sean Bird

    You can add effects to an active state on the menu which items when in active State will show different from the menu SUP normal items.

    Thank you

    Sanjit

  • Truncated and too long EXTRACT STATS

    Hello people when I run STATS EXTRACT < GROUP > looks like this after having reported a few tables in a process that contains a large number of table:
    Statistics reply buffer exceeded.  Results truncated...
    Anyone having the same problem are able to overcome and the full report?

    Thank you in advance.

    The work around is to send to the report file:

    "Ggsci > sending , report.

    The whole stats would be available in the report.

    It could also be used in conjunction with a reversal of the report and a reset of statistics.

    You can write the script and the results could be grepped. There is no limit on the size of the returned data. »

    Please check this note for more information.

    OGG get error "response buffer exceeded statistics. Results truncated... "[1347837.1 ID]

  • Adding vswitch and portgroup in a stat report information

    Hi - I have a script that details stats for 24 hours. I'm trying to change so that it displays the name of vSwitch the VMNIC is attached to (IE vSwitch0 vSwitch1 etc).  I tried to get the information to display, but I either get a column empty, or I get all vswitches listed in each row.  Any advice?  Thanks in advance

    $date = get-date

    $vccred = import-pscredential-path xxxxxx

    to connect-VIServer-Server xxxxxx-Credential $vccred

    $metrics = "net.received.average", "net.transmitted.average".

    $todayMidnight = get-Date-time-Minute 0 - 0 - 0 second

    $start = $todayMidnight.AddDays(-1). AddSeconds (1)

    $finish = $todayMidnight

    foreach ($cluster Get-cluster | name tri-objet)

    {

    ConvertTo-Html-body"

    $cluster

    " | Out-file - add $htmlNICstats

    $clusterTmp = @)
    write-host ">" $cluster
    foreach ($esxImpl in (get-vmhost-location $cluster |)) Sort-Object name))
    {
    write-host ">" $esxImpl

    $ESXHostTMP = @)

    $esx = $esxImpl | Get-View

    {foreach ($vmhost to $esx)

    $stats = get-Stat-entity $esximpl - Stat $metrics - start $start - finishing $finish

    $stats | Group-object - property Instance. where {$_.} {Name - not ""} | %{

    $row = "" | Select Date, NIC, vswitch and NOMCLUSTER, 'Max send Mbps', 'ESX Name","Max has received Mbps. "

    $row.clustername = $cluster.name

    $row.vswitch =

    $row. "" ESX Name ' = $_. Group [0]. @entity.name

    $row. Date = $start. ToShortDateString()

    $row. NIC = $_. Group [0]. Instance

    $row. "" MBps Max Send "=" {0: F2} "f (($_.)) Group | where {$_.} MetricId - eq "net.transmitted.average"} | Measure - Object - property - maximum value). Maximum / 1 KB)

    $row. "" Max received Mbps "=""(($_.) f) Group | where {$_.} MetricId - eq "net.received.average"} | Measure - Object - property - maximum value). Maximum / 1 KB)

    $ESXHostTMP += $row

    $Report = $Report + $row

    }

    }

    $ESXHostTMP | Nic Tri-objet | ConvertTo-Html-property NOMCLUSTER, vswitch, "ESX Name", Date, NIC, "Max send Mbps", "Max received Mbps | Out-file - add $htmlNICStats

    }

    The script looks only at the active network cards.

    $pg = $vmhost.Config.Network.Portgroup |where {$_.ComputedPolicy.NicTeaming.NicOrder.ActiveNic -contains $group.group[0].Instance} | %{$_.Spec.Name}
    

    If you want to include network standby cards as well, this line should be

    $pg = $vmhost.Config.Network.Portgroup |where {$_.ComputedPolicy.NicTeaming.NicOrder.ActiveNic -contains $group.group[0].Instance -or $_.ComputedPolicy.NicTeaming.NicOrder.standbyNic -contains $group.group[0].Instance} | %{$_.Spec.Name}
    

    Let me know if it gives the results you expect.

    ____________

    Blog: LucD notes

    Twitter: lucd22

Maybe you are looking for

  • I guess the question I just enter has been ignored.

    Ah.  Now, I discovered that what I wrote was a header.  Perhaps that the system should have that clear before that I wrote most of it and ran out of characters. Here's the question: I don't know how to tell if it was ignored, because there was no con

  • Z575 Torpedo A75

    Hello, I got just a brief question. Y Board Chipset A75 torpedo Lenovo in the Z575 strong enough to support amd A8 - 3500M, or large model FS1 APU socket? mine is currently equipped with the A6 - 3400M, I thought grabing the A8, but I wanted to first

  • Fake emails from people in my contact list

    received email from a person in which they did not send my contacts list. The source IP address is in Russia 109.95.198.212

  • I have a continuous update to repeat its corupt, how to fix it.

    Windows Update too wants to repeat the same update every day. When I click it a window opens saying its corupt. I can't find "dk Utility tool too ck disc.»

  • How to handle file types in Windows 7

    In XP, we can go to the Control Panel-> Folder Options-> File Types , choose an extension, and then chooseAdvanced and generally see a list of actions associated with the file type. You can change the default action or change action to modify the pro