Sub-Query in ASP.NET?

  • Thread starter Thread starter Scott Allen
  • Start date Start date
S

Scott Allen

Are you using SQL Server? If so you can reach across databases in a
query. For example, from the pubs database I can pull records from
Northwind:

USE PUBS
GO

SELECT FirstName
FROM Northwind.dbo.Employees
 
How to create SQL Sub-Query in ASP.NET , if the sub query retrieves records
from another database ?

For Example i have a Database A table A in one database B and a table B.
I want to receive some records from Database B table B and save into
Database A table A
 
Back
Top