I am trying to create tables and insert data based on a linked server. The linked server may not always be available so we need to have a local copy of the data. Since I am not in control of the linked server, I won't know when table structure changes. Is there a way to create a SP that will select from the linked server tables and then create the structure for the local database tables and then insert all the rows?