what is alternative for *= in sqlserver 2012

  • Recently we have migrated our projects to SQLSERVER 2012 , some of the queries has *= [syntax in where condition]now we need to convert this syntax to SQLSERVER 2012 compatible. Can anyone has any idea to resolve the problem.

    Because *= will not support in SQLSERVER 2012.

    Regards,

    Ram

  • LEFT/RIGHT OUTER JOIN is the newer join method, the older *= has been deprecated since 2005.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • In the spirit of full disclosure, you could run databases in 80 compatibility mode on SQL 2008/R2 and still utilize the *= / =* syntax but support for 80 compatibility mode was dropped from SQL 2012 therefore you are forced to rewrite your queries to use the ANSI standard JOIN syntax.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply