You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
the begginning
This commit is contained in:
26
dbcon/mysql/dumpcat_mysql.sql
Normal file
26
dbcon/mysql/dumpcat_mysql.sql
Normal file
@ -0,0 +1,26 @@
|
||||
-- $Id: dumpcat_mysql.sql 7049 2010-09-14 16:43:13Z rdempsey $
|
||||
--
|
||||
|
||||
select
|
||||
`schema`, TABLENAME, COLUMNNAME COLNAME, OBJECTID, DICTOBJECTID DICT,
|
||||
case datatype when 0 then 'BIT'
|
||||
when 1 then 'TINYINT'
|
||||
when 2 then 'CHAR'
|
||||
when 3 then 'SMALLINT'
|
||||
when 4 then 'DECIMAL'
|
||||
when 5 then 'MEDINT'
|
||||
when 6 then 'INT'
|
||||
when 7 then 'FLOAT'
|
||||
when 8 then 'DATE'
|
||||
when 9 then 'BIGINT'
|
||||
when 10 then 'DOUBLE'
|
||||
when 11 then 'DATETIME'
|
||||
when 12 then 'VARCHAR'
|
||||
when 13 then 'CLOB'
|
||||
when 14 then 'BLOB'
|
||||
end DATATYPE,
|
||||
SCALE, PREC, COLUMNLENGTH COLLEN, COLUMNPOSITION POS, COMPRESSIONTYPE CT
|
||||
from
|
||||
SYSCOLUMN
|
||||
order by
|
||||
`schema`, TABLENAME, POS;
|
Reference in New Issue
Block a user