They query will fail when run in SQL Server 2005.The query uses non-ANSI outer join operators ("*=" or "=*").To run this query without modification, please set the compatibility level for current database to 80 or lower, using stored procedure sp_dbcmptlevel.It is strongly recommended to rewrite the query using ANSI outer join operators (LEFT OUTER JOIN, RIGHT OUTER JOIN).In the future versions of SQL Server, non-ANSI join operators will not be supported even in backward-compatibility modes.
E 12°55'05.25"N 56°04'39.16"