select top 0 *into temp_tablefrom employee_master;
select count(*) as 'No of Columns'from Information_Schema.Columns cwhere table_name = 'temp_table'
Login to post response