Overblog All blogs Top blogs Jobs, Education & Studies
Follow this blog Administration + Create my blog
MENU
Advertising

LISTAGG Function

LISTAGG Function . SELECT deptno ,LISTAGG(ename, ',') WITHIN GROUP ( ORDER BY ename) AS employees FROM emp GROUP BY deptno; DEPTNO EMPLOYEES -------- --------------- 10 CLARK,KING,MILLER 20 ADAMS,FORD,JONES,SCOTT,SMITH,SMITH 30 ALLEN,ALLEN,BLAKE,JAME...

Read more

Advertising

Plsql function exception

Plsql function exception ORA-01403: no data found Cause: No data was found from the objects. Action: There was no data from the objects which may be due to end of fetch Reference: Oracle Documentation ORA-01403 is a very common error. ORA-01403 occurs...

Read more

Advertising

Autonomous Transaction in oracle

Autonomous Transaction in oracle An autonomous transaction is an independent transaction started by another transaction called as main transaction. It let you allow to execute various DML statements, commit and rollback without commiting or rolling back...

Read more

SQL Server backups

Backup's =========== full:: backup database dbname to disk='path' Differential:: backup database dbname to disk='path'with differential log:: backup log dbname to disk='path' mirror:: backup database dbname to disk='path' mirror backup database dbname...

Read more

Track the growth of a database

Frequently you want to know how fast your database has been growing. Based on the backup history we can get a rough outline of the growth of a database, over time, from the msdb..backupset table. This query will give the size of the backup, every time...

Read more

Advertising
<< < 1 2 3 4 5 6 7