Arshad Mehmood

Search the blog

    Today I Learned

    View table schema using SQL

    sql

    Use this query to get the schema:

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

    Stackoverflow