Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    UK
    Posts
    3

    Unanswered: SQL Query from 2 databases

    Hi Guys

    I was wondering if anyone can tell me how to run a query to extract data from 2 different tables in 2 different databases on the same sql server.

    Thanks
    alot

  2. #2
    Join Date
    Jul 2003
    Location
    The Dark Planet
    Posts
    1,401
    use three part names --> dbname.owner.tablename
    to reference the tables
    Get yourself a copy of the The Holy Book

    order has no physical Brett in The meaning of a Kaiser . -database data

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •