Databases

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Taftheman
    New Member
    • Nov 2006
    • 93

    Databases

    Hi i am trying to connect two databases together in sql server 2000, how would i go about doing this, as i would like two tables form different databases reading information to carry outs statements


    Cheers if anyone can help
  • DbAFtW
    New Member
    • Nov 2006
    • 4

    #2
    Originally posted by Taftheman
    Hi i am trying to connect two databases together in sql server 2000, how would i go about doing this, as i would like two tables form different databases reading information to carry outs statements


    Cheers if anyone can help
    I would imagine you would need to use a JOIN. Is this for a query, stored procedure or is a scripting language (ASP) used for web?

    Comment

    • willakawill
      Top Contributor
      • Oct 2006
      • 1646

      #3
      Originally posted by Taftheman
      Hi i am trying to connect two databases together in sql server 2000, how would i go about doing this, as i would like two tables form different databases reading information to carry outs statements


      Cheers if anyone can help
      Ycan refer to the full name of the table using the database name to start:

      From [databasename].[dbo].[tablename]

      Comment

      Working...