xmltable

XMLAGG with RTRIM issue

女生的网名这么多〃 提交于 2019-11-27 06:13:54
问题 Currently I have the following query: SELECT CASE WHEN ('[Param.3]' = 'SELECTED') THEN (SELECT RTRIM(XMLELEMENT("Rowset", XMLAGG(RW.R ORDER BY RW."ID")), ' ' ) AS Orders FROM TMTABLE UL, XMLTABLE('Rowsets/Rowset/Row' PASSING UL.TEXT COLUMNS "ID" NUMBER(19) PATH 'ID', R xmltype path '.') AS RW WHERE ID BETWEEN '[Param.1]' and '[Param.2]') WHEN ('[Param.3]' = 'ALL' ) THEN (SELECT RTRIM(XMLELEMENT("Rowset", XMLAGG(RW.R ORDER BY RW."ID")) , ' ' ) AS Orders FROM TMTABLE UL, XMLTABLE('Rowsets

Angular Material 2 Table Mat Row Click event also called with button click in Mat Cell

走远了吗. 提交于 2019-11-27 01:50:26
问题 I am new to material 2 and I have implemented mat table and in which I have click event on row to open dialog and there is also a menu button in last column "Action" but on clicking on button it also open dialog box instead of opening menu. Table <mat-table #table [dataSource]="dataSource" matSort (matSortChange)="sortData($event)"> <ng-container matColumnDef="id"> <mat-header-cell *matHeaderCellDef > No. </mat-header-cell> <mat-cell *matCellDef="let element"> <mat-checkbox checked='true'><

SELECT from table with Varying IN list in WHERE clause

我的未来我决定 提交于 2019-11-26 11:33:23
问题 I am facing a issue in project I am working on, I can not give you actual code but I have created a executable sample code as below Here temp and temp_id are two tables temp table contains comma separated list of ids which is VARCHAR2 temp_id table contains actual ids which is NUMBER I want to search rows from temp_id table by getting ids from comma separated list of ids from temp table //DDLs to create table CREATE TABLE temp(ids VARCHAR2(4000)); CREATE TABLE temp_id(data_id NUMBER); //DMLs