view object in SQL Server 2005

Posted on 2007-10-20
Last Modified: 2008-09-20
hi guys,

In a hurry, i am looking for a way to create a cross-database view in sql server 2005. Does sql provides something like that. Please provide me sample code. Infact i have to create such view for reconciliation b/w two databases'  tables on same server.

Question by:mfhorizon
    1 Comment
    LVL 18

    Accepted Solution

    You can reference other databases by using ..
    i.e. a view called VW1 on a database called DB1 would be referenced as
    This is actually DB1.dbo.VW1, but the dbo is assumed if it is left out

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
    In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now