select * from tempdb.sys.columns where object_id =
object_id('tempdb..#mytemptable');
More Related Contents:
- I dont know sql syntax for my table [closed]
- Insert an image in a column of a table that already has 5 columns
- 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?
- How to generate a range of numbers between two numbers?
- Reset identity seed after deleting records in SQL Server
- How to avoid the “divide by zero” error in SQL?
- SET versus SELECT when assigning variables?
- Multiple INSERT statements vs. single INSERT with multiple VALUES
- Generate Dates between date ranges
- Real life example, when to use OUTER / CROSS APPLY in SQL
- How to print VARCHAR(MAX) using Print Statement?
- Default row order in SELECT query – SQL Server 2008 vs SQL 2012
- How to update Identity Column in SQL Server?
- Common Table Expression, why semicolon?
- T-SQL split string based on delimiter
- Concatenate values based on ID
- SQL Server 2008: how do I grant privileges to a username?
- How do I find duplicates across multiple columns?
- Split values over multiple rows [duplicate]
- sql varchar(max) vs varchar(fix)
- How do I prevent a database trigger from recursing?
- SQL Server: should I use information_schema tables over sys tables?
- store arabic in SQL database
- Convert Date format into DD/MMM/YYYY format in SQL Server
- Converting Select results into Insert script – SQL Server
- TSQL – How to use GO inside of a BEGIN .. END block?
- SQL take just the numeric values from a varchar
- Cumulative Total in MS Sql server [duplicate]