database link creation on same server

  • Want to create a database link in sql server 2005.

    The two databases exist in the same database server . But both have different authentication .

    For eg :

    DB server : DBSQL/DBSQL

    Database 1 : projectdb1

    database 2 : empdb

    I just want to link "projectdb1" from "empdb" both have different sql server authentication.

    Please help me out.

    Thanks in advance

  • What you mean by link?

    If u want to query a particular table from second db when u r in first then use db_name.schema.object_name

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply