Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 =*

Author  Topic 

X002548
Not Just a Number

15586 Posts

Posted - 2010-05-06 : 13:33:39
Ran this in SQL Server 2k5

SELECT * FROM CLIENT c, CLIENT_FUNCTIONS f
WHERE c.Process_Id =* f.Process_Id


Msg 4147, Level 15, State 1, Line 2
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.

In 2000

SELECT * FROM Orders o, [Order Details] d
WHERE o.OrderID =* d.OrderID

It works


Is it completely depricated in 2k8?

Personally I ALWAYS used ANSI SQL...but we are doing a masive migration of everything to 8

Should be fun


Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-05-06 : 13:42:28
It's still supported in 2008 if you run the database in 80 (2000) compatibility level.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-05-06 : 14:04:02
I'd rather make these bozos fix everything before...I plan to makes sure we do a model/code review before I migrate

Problem is...some of these apps are 3rd party vendors...and I'll tell you this...their code is usually garbage



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -