A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
As far as I know, accessing tables/views from another Sql Azure database is not supported. Unless it is hosted on a VM like normal Sql Server. I might be wrong here