Results 1 to 4 of 4

Thread: Table Links - SQL Server

  1. #1

    Thread Starter
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Is there any way to link a table of another database in SQL Server? (as in MS Access). If so, how?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  2. #2
    New Member
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    10

    SQL link

    Haven't work with SQLsvr long time, but try this one:
    SELECT a.field1, b.field1
    FROM firstdbname.tablename a, seconddb.tablename b
    WHERE a.linkfield=b.linkfield
    In INFORMIX you need the two DB to be in same states (loged ...)
    Good luck
    Learn n Teach

  3. #3
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Leavenworth KS USA
    Posts
    482
    Expanding vbzen's comment, create a view in the first db for the table in the second and, of course, set the appropriate r&p. Just a thought.

  4. #4

    Thread Starter
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Sincerely, I didn't understand either of them. However a Friend of mine told me to copy the table in the other database and set a DTS to keep it updated. Is this better solution than yours? If not, please explain me better.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

Posting Permissions

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



Click Here to Expand Forum to Full Width