sql server - Is there a way to automaically migrate stored procedures? -



sql server - Is there a way to automaically migrate stored procedures? -

we're migrationg old version of ms sql server much more recent version. problem is, have many as old stored procedures won't run in new version, in particular, many utilize "*=" notation instead of "left join" or right join. upgrading them on-hand extremely error-prone , time consuming (just 1 of databases i'm in charge of has 900+ sp, , i've yet check other four!), i'm wondering if there's software out there can aupgrade these procedures. help appreciated!

you don't mention target version of sql server, believe of recent version have corresponding sql upgrade advisor. believe tool useful identify of places utilize obsolete syntax.

assuming have server-side code (and no dynamic sql) useful.

however, don't think find tool can automatically cases -- old style syntax @ times ambiguous , there other possible problems.

you might find article useful though shows how can utilize smss convert old-style join. not perfect, , not yield highest performance equivalent join, may improve nothing.

i never used old-style joins myself on ms first version of ms-sql 7.0.

sql-server stored-procedures left-join database-migration

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -