How can we improve Azure SQL Database?

Cross database reference

The ability to query (read-only) data from a difference database or linked server. This will allow to reference (join) some tables from the source database and build views that uses two or more SQL Azure databases.

1,170 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    TriciaTricia shared a merged idea: Add ability to reference data in a sql azure database from a stored procedure in another SQL database. Cross Query Azure databases.  ·   · 
    anonymousanonymous shared a merged idea: Linked Server  ·   · 
    anonymousanonymous shared a merged idea: Allow 3-part synonyms (database.schema.object) to use other databases in the server.  ·   · 

    49 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AnsonAnson commented  ·   ·  Flag as inappropriate

        Cross database reference wasn't a new feature / technology of SQL Server in previous versions and editions, I'm surprised that Microsoft used 4 years to "Review" this request ....I guess it will remains "Review" in 2015.

      • Richard BorrieRichard Borrie commented  ·   ·  Flag as inappropriate

        Like others here we use multiple databases on the same server, and we can't move to Azure SQL database until we have the ability to "look across" from one DB to the other. We just want to be able to do a "select xyz from otherdb.dbo.othertable", or we want to be able to create a view in the current DB which reads data from the other DB.

      • JamesJames commented  ·   ·  Flag as inappropriate

        We currently load data into a staging database from offline data sources for validation, before it is then loaded via overnight batch into the main database as part of a transaction.
        I have come from an self-hosted environment where this is possible to Azure where it is not.

        The only viable solution given my current deadline is to merge the databases, which is less than ideal.

        Please can this feature be added.

      • RickRick commented  ·   ·  Flag as inappropriate

        Amazon's MSSQL offering does not have this limitation. I am currently using that with much success, maybe you need to look there.

      • JasonJason commented  ·   ·  Flag as inappropriate

        What is the status of this feature? I'd like to know if we should abandon any hope of Microsoft support this and move off of SQL Database. We're currently still not happy with any alternatives to this problem.

      • Gowtham KunduruGowtham Kunduru commented  ·   ·  Flag as inappropriate

        it has been 4 years, but still the same. cross database query is very useful when you are dealing with multiple databases. please let us know if you are going to provide solution for this or not. if you can provide this so many customers are happy to use the feature.

      • Ed O'BrienEd O'Brien commented  ·   ·  Flag as inappropriate

        Looking for cross-database movement of data. The new backup/restore feature added last month is a great enhancement - would like the ability to update production database with subset of data from restored database.

      • Scott ButlerScott Butler commented  ·   ·  Flag as inappropriate

        Major deal breaker. Many times our app uses other third-party frameworks, which have their own DB's and schema's. We like to keep things clean so we have our separate DB. Then we need to do some cross DB joins for special examples. Think about a Security framework with its own scheam in a Security DB, then I have my data in my separate DB. I want to keep them separate so I can easily upgrade the security framework when needed. However, I need to write some queries that join the two in many situations.

      • Graham WagerGraham Wager commented  ·   ·  Flag as inappropriate

        Our current scenario would be greatly eased with this capability. We currently have an old and new system and are slowly migrating clients between the two. Being able to do this using just SQL would greatly reduce the time it would take.

        Currently we're having to backup, download, restore then link from a local instance into Azure to perform the operation.

      • Anonymous commented  ·   ·  Flag as inappropriate

        I dont understand why it is not supported in azure. I bet ms see some good in linked servers otherwise it shouldnt be present in classic sql server versions.

      • Anonymous commented  ·   ·  Flag as inappropriate

        I have a large R/O database I want to cros query with our R/W database. It does not make sense to combine into one db.

      • Andy DillbeckAndy Dillbeck commented  ·   ·  Flag as inappropriate

        We want to use Azure as a back end for a load balancing server, which will sync to our server based sql server database. The local sql server has two databases, one to hold user data, and one to hold the main data. I set up two sync groups because when I tried to sync both databases to a single Azure database it gave me all kinds of errors. I'd really love to have the ability to look up data in one database from another.

      • LukeLuke commented  ·   ·  Flag as inappropriate

        Our company would also want to join to a table in a different database. The same case as the comment below, we have multiple client DBs and then 1 or 2 common DBs.
        I also think not having support for this would prevent us from using Azure.

      • Steve HipwellSteve Hipwell commented  ·   ·  Flag as inappropriate

        We wish to be able to join to a table in another database. Basically in our system each customer has their own database and then there are a couple of common databases. We want to use Azure but we don't feel that we can until there is the support for this.

      • TemTem commented  ·   ·  Flag as inappropriate

        Although is not a regular use, but maintenance services for example.
        It is very useful for migration services, extra safety backup or non-timely data sync.
        These are simple tasks in regular MS-SQL, but without this feature we have to use any other external tool making this task very unpractical.

      ← Previous 1 3

      Feedback and Knowledge Base