Selecting information from 2 DB´s
Posted: Thu 30 Jan 2014 15:53
Is it possible to perform a select statement to retrieve data from 2 databases located in 2 different servers and get the result in, let´s say, one DataReader or one DataTable?
One approach for getting the information into a DataTable is to perform 2 selects, fill 2 different DataTables and, finally, do a DataTable merge. However, I am interested in knowing if there is an approach to do all this in only one step, with one query, one pgsqlConnection, one pgsqlCommand.
Respectfully,
Jorge Maldonado
One approach for getting the information into a DataTable is to perform 2 selects, fill 2 different DataTables and, finally, do a DataTable merge. However, I am interested in knowing if there is an approach to do all this in only one step, with one query, one pgsqlConnection, one pgsqlCommand.
Respectfully,
Jorge Maldonado