select column_name, data_type, character_maximum_length
from information_schema.columns
where table_name="myTable"
More Related Contents:
- I dont know sql syntax for my table [closed]
- Unable to Subtract Dates SQL Server
- Insert local .csv data in remote SQL Server via already working connection string
- what is the reason behind this error in case statement
- Syntax combine two stored procedure into one [closed]
- How to delete duplicate rows in SQL Server?
- CROSS JOIN vs INNER JOIN in SQL
- How to cast the DateTime to Time
- How can I schedule a job to run a SQL query daily?
- Reset identity seed after deleting records in SQL Server
- How to avoid the “divide by zero” error in SQL?
- Multiple INSERT statements vs. single INSERT with multiple VALUES
- Real life example, when to use OUTER / CROSS APPLY in SQL
- Common Table Expression, why semicolon?
- T-SQL split string based on delimiter
- SQL Server 2008: how do I grant privileges to a username?
- Splitting delimited values in a SQL column into multiple rows
- How do I find duplicates across multiple columns?
- Generate script in SQL Server Management Studio
- How do I do multiple CASE WHEN conditions using SQL Server 2008?
- Why are logical reads for windowed aggregate functions so high?
- Stored procedure that exports data into csv files only exports to one file
- SQL Server: should I use information_schema tables over sys tables?
- Finding rows that don’t contain numeric data in Oracle
- TSQL – How to use GO inside of a BEGIN .. END block?
- SQL take just the numeric values from a varchar
- How to execute a stored procedure inside a select query
- Single or multiple databases
- SQL Unpivot multiple columns Data
- Foreign Key Not Populating with Primary Key Values