Selecting Temp Table Fields with Parameters in MSSQL
Example of selecting fields from a temporary table with all parameters. Can be used for regular tables as well. #tmp - your temporary table
Example of selecting fields from a temporary table with all parameters. Can be used for regular tables as well. #tmp - your temporary table