Why does "SELECT * FROM [database].[schema].[table]" not work in Azure ?

Hi all
In Microsoft Azure I have 2 databases.
I work since more than 10 years with T-SQL and I always use
fully qualified object names, means "[database].[schema].[table]".
When I now make a connection to my database "A" in Azure and
write a Query against database "B" ("SELECT * FROM [B].[schema].[table]")
I get an exception. Of course when I connect to database "B" it works
but again not to database "A". When I use "SELECT * FROM [schema].[table]"
with the right database connected, it also works in Azure.
Hope you understand what I mean :-)
In MS-SQL, this of course works fine.
Well my question is: What sense does this make ??
Do I now have to re-write everything just for azure or will this behavior changed sometimes ?
I know MS-SQL is not the same like Azure-SQL, but hey; does Microsoft think all projects have only one database ?? :-)
Thanks for any answer
Frank

Hi Frank,
According to your description, you want to retrieval data cross database in SQL Azure, right?
As June said, Currently cross database joins are not supported in SQL Azure. Also you cannot change database mid query so you cannot, for example, put a USE [MyDB] in your query either. Please refer to the link below to see the details.
http://www.britishdeveloper.co.uk/2011/11/cross-database-joins-in-sql-azure.html
If you have any concern about this behavior, you can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
in the following release after official confirmation.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Creation of a Database Schema is not working (Into a Sync Group)

    Hello,
    We have in: Sql Databases > Sync > Sync Group, a group called "SyncGroupViviendasProyectosVentasPruebas"
    If we go to "Sync Rules" and click "DEFINE SYNC RULES", no matter the databse we choose (there are 2), when we click in "REFRESH
    THE DATABASE SCHEMA" it dont works!
    It seems to be working but minutes later there is no Schema created.
    Why? Why the Create Database Schema is not working?
    Thanks,

    The detail error log from our service backend is:
    'Type=Microsoft.SqlServer.Management.Sdk.Sfc.InvalidVersionEnumeratorException,Message=Operation not supported on version 11.0 SqlAzureDatabase.,Source=Microsoft.SqlServer.SqlEnum,StackTrace=   at Microsoft.SqlServer.Management.Smo.XmlReadDoc.LoadFile(Assembly
    a, String strFile)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitDataFromAssemblyInternal(Assembly assemblyObject, String file, ServerVersion ver, String alias, StringCollection requestedFields, Boolean store,
    StringCollection roAfterCreation, DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitData(String file, ServerVersion ver, DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.LoadElement(ObjectLoadInfo oli, ServerVersion ver, DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetElement(ObjectLoadInfo oli, ServerVersion ver, DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetAllElements(Urn urn, ServerVersion ver, DatabaseEngineType databaseEngineType, Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetObjectsFromCache(Urn urn, Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request),'
    It might be a collation/SMO issue after I do some research, so may I know that have you change the collation of you SQL Azure database? If yes, please try to use default collation and try again.
    Regards,
    Bowen

  • In formcentral, why does the "proceed to checkout" button not work? on IE I get error " This content cannot be displayed in a frame...

    In formcentral, why does the "proceed to checkout" button not work? on IE I get error " This content cannot be displayed in a frame. To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame ". On Chrome I get nothing but loading.

    Hi,
     This error is generally specific to Internet Explorer and has two possible causes. The most likely explanation is that your browser has unusual browser security settings. I would recommend you try
    resetting your security settings to defaults (varies by version but all essentially the same). You may also have to turn off
    Protected Mode which is enabled by default on some systems. If you’re seeing this error (or a version of it) outside Internet Explorer, you may have a server-level setting that is preventing your content from being framed.
    Reference:https://social.technet.microsoft.com/Forums/exchange/en-US/1460c5a5-6242-4402-9f6b-bc581bf56478/content-cannot-be-displayed-in-a-frame-when-trying-to-add-item?forum=sharepointgeneral
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Why does power nap time machine backup not work on my August 2012 macbook pro retina?

    Hello. I got a MacBook Pro with retina display in August of this year 2012. I have done the SMC ? firmware update and I have 10.8.2 installed on my machine. Power nap still doesn't seem to work. I have the button in energy saver preferences and I have clicked it so it looks like power nap should work. When I am running Time Machine backup with the time capsule and I close the lid (plugged into power) it appears that no progress is made when I reopen the lid. I have closed the lid with activity monitor running and with network displayed. When I reopen the lid it may take up to one minutes to come out of sleep. When it does come out  of sleep I can see that there has been no network traffic.  Eventually, time machine backup resumes and I can see several megabytes per second. When I closed the lid overnight, just to make sure backup didn't restart after lid closing, I saw that no progress had been made in backup when I reopened the lid.
    What options are left if I already have 10.8.2 and I have done the required firmware?  One person has mentioned a clean install but I really don't like to have to reenter all the different passwords and all the different preferences again unless that's absolutely necessary. Are there any other options left to try before a clean install?
    One other bit of information.  I have filevault turned on; however, it looks like others have a working power nap even with file vault enabled.  If this is not an option, the power nap button should be grayed out when the machine is in filevault.
    Thank you for any help.

    Yeah I still have the same problem BTW; it still does not work.
    The second I open the lid and take it out of sleep mode, it starts to backup automagically, but when it's sleeping EVEN when it's connected to AC power, TM backups do NOT work to my OS X Server. 
    I don't understand what the problem is here.
    I didn't before but I do have FileVault turned on now -- should that make a difference?
    In either situation it didn't work, but now that I think about it, I could understand why it wouldn't backup while asleep.  Apparently the encrypted volume will stay encrypted during sleep and even at the lock screen; it's not until you open the lid and log in from the lock screen that it will unlock the encrypted boot volume.
    But even still, I did *not* have FV turned on before, and this still did not work.
    Is there some third party solution that can do what I want this to do?
    Here's my use case:
    1.) I have a mac mini at home that I use when I'm at home; it runs OS X server.app (bought and paid for) and has TM server turned on.
    2.) I have a laptop that I mainly use at work and I don't use at all when I come home (ie. when I'm ready to head home for the day I close the lid and don't open it until I'm back at work the next day, but the laptop does come home with me every day).
    What I want to have happen is this:
    1.) The minute my laptop enters my home wifi lan (even though it's still asleep with lid closed) I want it to automatically backup the boot drive.
    I thought that's what Power Nap was supposed to do, but then I found out that in order for this to work, you have to be connected to AC power; so then I tried that -- ie. every day I come home, I put my laptop in a docking station that has AC power, but TM backups while lid closed / sleeping STILL do not occur!
    Thanks for your help everyone...Looking forward to a solution that works.
    EDIT:
    I found this thread:
    https://discussions.apple.com/thread/4158709
    "It looks like Power Nap doesn't perform Time Capsule backups when the MacBook Air screen is closed."
    So apparently that is yet *another* requirement to get powernap working.  The lid can not be closed. 
    What is the difference between sleep with lid open and sleep with lid closed!?

  • Why does the power button intermittently fault -- Not work to wake up the phone?

    Iphone 4 occassionally won't respond to the power/sleep button.  Isn't stuck -- works normally much of the time, but occassionally acts as though the battery is dead.  Have to plug into a power source to activate phone.  Battery will show same charge it had before it went into sleep mode.  Can be near fully charged and proceed working for the rest of the day just fine.
    Button does not stick or seem faulty in any way.  But, when you least need it to not work - such as in travel - or for emergences and have not power source to get to -- is bad.  An unreliable phone for a doctor is not good.  I have presented the problem to a few repair shops who are either not familiar with this behavior or suggest that is may be software rather than hardware.  Something miss reading the battery to the phone indicating that the battery is dead when in fact it is not.  Had the phone restored at the Apple store and this did not solve the problem.
    It seems I did run across a blog that this occurred with some IOS update?
    Would be grateful for advice.
    Thanks

    Hi
    I found this tip on the net.
    Plug phone cable in (powered), press and hold button until voice control is activated, release, unplug.
    http://forums.macrumors.com/showthread.php?t=1328312
    I have not tryed it my self but it may work..
    There are a simular trick to get the home button to work, here it is.
    Open a default iOS application, such as Stocks, Calculator, or Weather
    Press and hold down the Power button until the “Slide to Power Off” dialog appears, then release
    Now press and hold the Home button until the “Slide to Power Off” screen disappears, quitting the application.

  • Why does clipboard from FF shut down Microsoft Works?

    Any idea why clipboard contents copied from a web page in Firefox, would not paste into Microsoft Works? I can paste to Notepad or Wordpad, but if I try to paste to Microsoft Works, the Microsoft program shuts down every time. I can, however, paste from IE to Microsoft Works, so it seems to be a Firefox setting somewhere, but I can't figure out where.
    == This happened ==
    Every time Firefox opened
    == I first downloaded Firefox

    Use "Edit > Paste Special" in MS Works.

  • Why does Fire Fox 4.9 Beta not work after install, I download,install all is fine, Fire Fox does not respond

    Fire Fox 4.9 Beta does not respond after install, I am running 3.6.13 at the moment

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]
    * http://kb.mozillazine.org/Browser_will_not_start_up
    * http://kb.mozillazine.org/Error_loading_websites

  • Why does the visited link color change not work on some pages. this has only occurred in the past few weeks. 2 different computers Win 7 home pm Firefox 29

    On some sites the visited link color does not change. I have checked all settings and they have not changed. I can make the problem change by unchecking the "allow pages to choose thier own colors" box , but the some pages do not display correctly. Things worked fine up to a few weeks ago. I feel it may be a glitch in firefox 29.
    Windows 7 home premium SP 1
    Firefox 29

    Can you try to start Firefox in Safe Mode to see if Firefox works properly with no error? You can start Firefox in Safe Mode below:
    *'''Windows/Mac''': Go to Help > Restart with add-ons disabled
    *'''Linux''': Run ''firefox -safe-mode'' in the Terminal/Konsole
    If Firefox opens up fine with no problems, it's probably one of your extensions that's causing the issue. You can re-enable your add-ons one by one until you find the one that causes the issue upon being re-enabled.
    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *[[Image:new fx menu]] > Options/Preferences> Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *[[Image:new fx menu]] > Options/Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • Why does my iPod 4g front camera not work?

    I have an iPod 4g for over a year now. The front camera no longer works. Whenever I click the button to switch it to the front camera, the last image from the rear camera just freezes. I have tried restarting my iPod and even resetting it. It still doesn't work. I don't have the warranty on it anymore either. Please help! Also, if there is no solution to this, can I go to an Apple store and get it fixed? Do I have to go to an Apple store only? How much would it cost to get fixed? Thank you.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store. SInce it appears yo have a hardware problem.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for $99 for 8, 16 and 32 GB ones and $199 for 64 GB one. They do not fix yours.
    Apple - iPod Repair price

  • Why does the drag and drop feature not work?

    I have several files on my desktop.  When I try to move them o a new location, they just 'snap back' to their original position.  Why doesn't the drag and drop feature not function properly?

    I'm just trying to move some files to a new position on the desktop.

  • Why does my AT-MIO-16XE-10 not work in Windows 2000?

    OS is current w/ sp2. Using Ni-DAQ 6.9 and LabVIEW 5.1.1. Board will not properly install, regardless of computer (tried several mainboards, different bios versions, etc.). Board will work under windows 98, however, we don't use this OS for security reasons.

    I would suggest completely uninstalling NI-DAQ from your computer and reinstalling with the board out of the computer.
    1 - Goto Add/Remove Programs and remove NI-DAQ 6.9
    2 - Click on the Start button and goto 'Run'
    Type in regedit to bring up the registry editor
    Follow this path to the NI-DAQ folder
    HKEY_LOCAL_MACHINE >> Software >> National Instruments >> NI-DAQ
    Delete the NI-DAQ folder
    3 - Download NI-DAQ 6.9.1 from our website
    4 - Take out AT-MIO-16XE-10 board from computer
    5 - Install NI-DAQ 6.9.1
    6 - Put AT-MIO board back in computer
    7 - Open up Measurement & Automation Explorer and see if it recognizes the board
    Let me know if you still cannot get the board to work after this.
    Brian

  • When defining the Outgoing SMTP Server, why does specifying the "default" SMTP server not work, but only the first server specified?

    I have several options for SMTP outgoing server. I set one to default and try to send. it fails and uses the first one in the list.
    I restart Thunderbird and try to send. It uses the first one in the list.
    I eliminate all SMTP servers from the list but the one I want, and it works.
    What am I missing, this I have observed this problem on all of my systems for a long time?
    Regards,
    Carl

    what your missing is that account have an SMTP sever associated with them, which if your "in" an account over rides the "default"
    Right click an account folder and select settings.
    Click on the account name in the settings and on the right is a drop down list and the "default" smtp for that account.

  • Why does the logic pro 9 upgrade not work on OS X 10.8.4 ?

    Just decided to upgrade to logic 9 from my 8 (an upgrade from 6!) but I also have Protools on my computer (dont hate). Tools 11 needs 10.8.4 but the logic 9 update refuses to work with 10.8.4 ...BTW pro 8 is still working well on my system, but 9 has some additional cool featurs etc
    Additionally an upate to Logic X loses all my 32bit plugins so...I am  staying with 8/9 for a while ..any help to get 9 functional??

    It is the installer that's quitting, or Logic Pro when you try to launch it? If the latter, download all the available updates, either through Software Update or the standalone downloaders;
    http://support.apple.com/downloads/#logic%20pro%209
    and apply them before attempting to launch Logic. That might work better.
    Regards.

  • Why does shift click for straight line not work in mask

    Is "Shift Click" supposed to work when editing a mask with the brush tool.   Seems like it used to but doesn't any more.  Anybody have this problem?

    Could you please post a screenshot with the pertinent Panels (Layers, Brush, Brush Preset, Options Bar, …) visible?
    If resetting the Tool dow not help you can always try restoring preferences (preferably after after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved).
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Why does the "verify your account" link not work???

    How much more detail can I give? My wife is donating me her Macbook, and I wanted to migrate my bookmarks from my windows XP machine. Her being helpful when I was out cutting firewood, installed sync on both computers and created an account for me, but nothing has worked because the "VERIFY" button on the email YOU sent me goes to ...
    The connection was reset
    The connection to the server was reset while the page was loading.
    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    If I try to use the "RESET PASSWORD" or "FORGOT PASSWORD" links I eventually get to the same page.

    Hi mberehulke,
    I am filing a bug to further investigate the incident however, can you please verify the following:
    This is still happening and that this still happens in Safe Mode [[Troubleshoot Firefox issues using Safe Mode]].
    And do you allow Firefox to make redirects, or do you have a firewall/antivirus that may be blocking the redirect? [[Websites don't load - troubleshoot and fix error messages]]
    I have also started the conversation here to help investigate this issue.
    [https://bugzilla.mozilla.org/show_bug.cgi?id=1072572]

Maybe you are looking for