Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7967733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:58:10+00:00 2026-06-04T06:58:10+00:00

I am moving an app from SQL Server 2008 to SQL Server 2012 Express,

  • 0

I am moving an app from SQL Server 2008 to SQL Server 2012 Express, and all is well but several stored procedures are saying I have a syntax error. I have looked online and have not found an answer – are there types of syntax that are supported in SQL Server 2008 (Standard) but not in SQL Server 2012 Express?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:58:12+00:00Added an answer on June 4, 2026 at 6:58 am

    I guess there is one possibility, if in 2008 you were using 2000 compatibility mode, and your stored procedures had old-style outer joins:

    SELECT o.name, c.name
    FROM sys.objects AS o, sys.columns AS c
    WHERE o.[object_id] *= c.[object_id];
    

    This syntax works in SQL Server 2000, but has been deprecated since then. In 2005, 2008 and 2008 R2 you could shoe-horn it in if you use 80 compatibility mode. As of SQL Server 2012, you can no longer use 80 compat mode, so the above code would fail with:

    Msg 102, Level 15, State 1, Line 3
    Incorrect syntax near ‘*=’.

    In 2008, you would get this error message instead:

    Msg 4147, Level 15, State 1, Line 3
    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, using
    the SET COMPATIBILITY_LEVEL option of ALTER DATABASE. 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.

    But if you alter the database as suggested in the error message, it would work:

    ALTER DATABASE foo SET COMPATIBILITY_LEVEL = 80;
    

    This seems like a stretch. But without some real information it’s about the only guess I have.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am moving a system from a VB/Access app to SQL server. One common
I'm having trouble seeing tables from one particular SQL Server 2008 database while trying
Through my ASP.NET / SQL Server 2008 app I need to do a bulk
After moving several JSON files from the app bundle root to within a directory
I'm moving my old app from windows forms to WPF and have encountered an
Im moving from django to pylons, is there an admin app?
I have a global app that prevents the mouse from moving into areas of
I have an old asp app I am moving to a new server with
I have a rails app that I'm moving to another server and I figure
I'm currently moving a (working) app from using EclipseLink to Hibernate JPA, mostly it's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.