Withdata Software

Producing high-quality database tools

Main menu

Skip to primary content
Skip to secondary content
  • Withdata Software
  • Blog
  • Categories
  • Tags

Tag Archives: get column names

How to get column names from SQLite table

Posted on October 21, 2016 by Shiji Pan

PRAGMA table_info(table_name); see also: How to get column names from Sql Server table How to get column names from DB2 table How to get column names from Oracle table How to get column names from Mysql table How to get column names from PostgreSQL table Some SQLite tools you can try: ... Read more

Posted in Sqlite | Tagged get column names, Sqlite

How to get column names from DB2 table

Posted on May 30, 2013 by Shiji Pan

SELECT colname, typename, length, scale, default FROM syscat.columns WHERE tabname = “<table name>” AND tabschema = “<schema name>” See also: How to get column names from Sql Server table How to get column names from Oracle table How to get column names from ... Read more

Posted in DB2 | Tagged DB2, get column names

How to get column names from Mysql table

Posted on May 30, 2013 by Shiji Pan

We can use information_schema.columns for getting column information SELECT column_name FROM information_schema.columns WHERE table_schema = ‘My_Schema_Name’ AND table_name = ‘My_Table_Name’ See also: How to get column names from Sql Server table How to get column names ... Read more

Posted in Mysql | Tagged get column names, Mysql

How to get column names from Sql Server table

Posted on May 30, 2013 by Shiji Pan

SELECT [name] AS [Column Name] FROM syscolumns WHERE id = (SELECT id FROM sysobjects WHERE type = ‘U’ AND [Name] = ‘My_Table_Name’) Type = ‘V’ for views Type = ‘U’ for tables For SQL Server 2008, we can use information_schema.columns for getting ... Read more

Posted in Sql Server | Tagged get column names, Sql Server

How to get column names from Oracle table

Posted on May 30, 2013 by Shiji Pan

You can query the USER_TAB_COLUMNS table for table column metadata. SELECT table_name, column_name, data_type, data_length FROM USER_TAB_COLUMNS WHERE table_name = ‘My_Talbe_Name’ See also: How to get column names from Sql Server table How to get column names from DB2 table How to ... Read more

Posted in Oracle | Tagged get column names, Oracle

Recent Posts

  • Use Cases for Dumping to CSV
  • Convert Text to Speech by CSV / TSV
Withdata Software. ©2004 - 2025 All rights reserved.