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
 Development Tools
 ASP.NET
 Please help me with this SQL SERVER error...in que

Author  Topic 

yasinirshad
Starting Member

18 Posts

Posted - 2007-08-06 : 08:56:21
Hi,
Please help me sort this error with my query using sqlserver 2005... which am getting when i run my application in vb.net ...

Error is:
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.

Query is:
"SELECT CALLS.CALL_ID, REQUESTOR, USERS.USER_NAME REQUESTOR_NAME, DESCRIPTION, TYPE, SCOPE, SEVERITY, STATUS.STATUS_LABEL STATUS,FLAG MESSAGE_FLAG FROM CALLS,STATUS,USERS,MESSAGES WHERE REQUESTOR='" & Session("USER_ID") & "' AND CALLS.STATUS_ID <> 10  AND CALLS.STATUS_ID=STATUS.STATUS_ID AND CALLS.REQUESTOR=USERS.USER_ID  AND CALLS.CALL_ID*=MESSAGES.CALL_ID ORDER BY CALLS.CALL_ID"


Thanks a lot.

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-08-06 : 09:19:26
please do NOT cross post:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=87400

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -