I am loading multiple tables by using Select into statments. Now, I need to create a job that runs everyday. My syntax goes like that: drop table select * into from
so what it will do, it will drop tables everyday and create them again. This helps in cathcing any changes in the table. They are small tables so it doesnt take long to drop and create again. Someone told me that I should do a stored proc for this but I have no idea about stored proc. There are about 50 tables I am doing the select into statements for. How do I write a stored proc for all these tables? I am confused please help!