Trucate table destination_tablename
Insert Into destination_tablename
Select * from source_tablename
- T-SQL to count columns in a table:
SELECT count(column_name) from Information_schema.columns where table_name = 'Table_Name'
cf522c00-8485-42a9-801c-faa54e45758c|0|.0