c# .net 2.0 updating connection to database from oracle to sql server 2012 - upgrade from database links -
i have c# .net 2.0 application connects 2 separate oracle databases.
- database1
- database2
it connects database2
through oracle database link in database1
. in terms of code application communicates database2
using following sql commands in code follows:
select * table@database2 ..... etc
it connects database1
in config file through connection string.
the problem database2
being upgraded sql server 2012 , connections in code need changed.
now, connection new sql server database going handled through read routing using sql server 2012 on database availability connection string follows:
data source=db_source;applicationintent=readonly, username, password etc.
i wish know best way of proceeding , options update code query new sql server database, appreciated.
thank you.
Comments
Post a Comment