May 17, 2026, 11:40 PM

This commit is contained in:
Paweł Domański
2026-05-18 06:40:19 +00:00
commit 64944cf004
896 changed files with 310709 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-- export specific column data to text file:
copy EMPLOYEE( EMP_NAME,EMP_ID) to '/tmp/emp.txt';
-- export complete table data to text file:
copy EMPLOYEE to '/tmp/emp.txt';
-- export table data to csv file:
copy EMPLOYEE to '/tmp/emp.csv' with csv headers;
-- export specific query output to csv file:
copy ( select ename,depname from emp where depname='HR') to '/tmp/emp.csv' with csv headers;