alunmjones Posted March 14, 2012 Posted March 14, 2012 i need to get ready to migrate our moodle database to mssql for the new servers comming in summer, i have created the link between the mysql and mssql databases i currently have, and ive found a pice of sql code that will copy over a table at a time SELECT * INTO moodle.dbo.(tablename) FROM openquery(MYSQL, 'SELECT * FROM moodle.(tablemane)') is there any way of ajusting the sql statemt so it will loop through all found tables and then end? im not ver familiar with all sql syntax
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now