随笔分类 - Informix
摘要:--某个表中的字段及字段类型代码SELECT c.colname, c.coltype,t.owner FROM syscolumns c, systables t WHERE c.tabid = t.tabid AND t.tabname = 'dm_plc_policy' --查看数据库临时表空
阅读全文
摘要:informix中有无dual表为提高IO效率,希望一次查询中多个子查询不同的不关联的多张表select(selectafromtable1where****),(selectbfromtable2where****),(selectcfromtable3where****)fromdual;可是貌...
阅读全文
摘要:今天在园子里看到个group by 分组多列统计的例子,转走给大家分享一下:create table tests (year datetime year to year,type char(1),value int);alter table tests alter colomn year int;i...
阅读全文

浙公网安备 33010602011771号