Reply
Highlighted
Visitor
Posts: 1
Registered: ‎05-22-2018
Accepted Solution

How can we connect to data bases in different Servers dynamically based on the selection

[ Edited ]

Hi when you have two companies A & B where the data achitecture is as below .

 

Company A 

DatabaseName: dataA

Server: ServerA

 

Compnay B

DatabaseName: dataB

Server: ServerB

 

is there a way to paramertize selection of data source based on the selection of the company so that we can access the serverB when company B is selected .

 

In this case the database is SQL Server 2014 and both Databases contain exactly same database objects .

 


Accepted Solutions
Super User
Posts: 9,293
Registered: ‎07-11-2015

Re: How can we connect to data bases in different Servers dynamically based on the selection

Yes, you would use Query Parameters to do this.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


View solution in original post

Member
Posts: 58
Registered: ‎03-07-2018

Re: How can we connect to data bases in different Servers dynamically based on the selection

[ Edited ]

Hi @knvsiddarth,

 

I have written a blog Post about templating in a multitenant environment.

in there you can find some useful things about setting parameters, updating datasources and credentials.

 

Hope it helps.

 

Thanos

View solution in original post


All Replies
Super User
Posts: 9,293
Registered: ‎07-11-2015

Re: How can we connect to data bases in different Servers dynamically based on the selection

Yes, you would use Query Parameters to do this.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


Member
Posts: 58
Registered: ‎03-07-2018

Re: How can we connect to data bases in different Servers dynamically based on the selection

[ Edited ]

Hi @knvsiddarth,

 

I have written a blog Post about templating in a multitenant environment.

in there you can find some useful things about setting parameters, updating datasources and credentials.

 

Hope it helps.

 

Thanos