hello, I have a large database on ms access with more than 100 tables. I am planning to do migrate this database into ms sqlserver 2005. I am receiving info into database access on a daily basis. so I have to do an auto job to import data from access into sql server 2005. I [...]
How can I write a stored procedure which can switch to new databases using something like “use DBASENAME”, but without knowing the dbase names before the procedure runs? The example below was my attempt to do this using SP_EXECUTESQL. The reason for this is so that I can call stored procedures within my stored procedure [...]





