Selecting Fields with Parameters from a Table
To select fields and all parameters by field from a table, you can use the SP_COLUMNS procedure. Example: exec sp_columns [Table Name]
2 posts
To select fields and all parameters by field from a table, you can use the SP_COLUMNS procedure. Example: exec sp_columns [Table Name]
The correct way to delete a temporary table: IF OBJECT_ID('tempdb.dbo.#tmp', 'U') IS NOT NULL DROP TABLE #tmp;