Arshad Mehmood

Search the blog

    View table schema using SQL

    sql1 min read

    Use this query to get the schema:

    select *
    from INFORMATION_SCHEMA.COLUMNS
    where TABLE_NAME='tableName'

    Stackoverflow