core-jgi/db/maintain/Maintenance/DB2_Utils.sql

26 lines
561 B
MySQL
Raw Normal View History

2006-11-17 10:06:54 +07:00
SELECT SUBSTR('asdfg',1,2) FROM SysIBM.SysDummy1;
SELECT TIMESTAMP('2006-01-22-12.00.00.000000') FROM SysIBM.SysDummy1;
SELECT CURRENT TIMESTAMP FROM SysIBM.SysDummy1;
SELECT USER FROM SysIBM.SysDummy1;
SELECT CURRENT USER FROM SysIBM.SysDummy1;
SELECT SYSTEM_USER FROM SysIBM.SysDummy1;
SELECT CURRENT SERVER FROM SysIBM.SysDummy1;
SELECT CURRENT SCHEMA FROM SysIBM.SysDummy1;
SELECT CURRENT TIMESTAMP FROM SysIBM.SysDummy1;
SELECT CURRENT TIMESTAMP FROM SysIBM.SysDummy1;
SELECT CURRENT TIMESTAMP FROM SysIBM.SysDummy1;