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 1071119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:40:10+00:00 2026-05-16T20:40:10+00:00

i came across a compatibility issue today, as a customer upgraded from Windows XP

  • 0

i came across a compatibility issue today, as a customer upgraded from Windows XP to Windows 7.

The (12 year old code) is calling a stored procedure on the SQL Server called

ai_nextid

Except that when it calls the stored procedure it is using the name:

ai_nextid;1

Yes, with a “;1” appended. Apparently the SQL Server driver in Windows 95, Windows 2000, Windows XP, and possibly Windows Vista, are fine with this specifically added suffix. But the SQL Server ODBC driver in Windows 7 is different, and causes the error:

General SQL Error.
[Microsoft][ODBC SQL Driver][SQL Server]Could not find stored procedure ‘ai_nextid;1’.
[Microsoft][ODBC SQL Driver][SQL Server]Indicator variable requried but not supplied’.

With native error 2812.

This brings up 4 questions:

  • why were we appending ;1 to the end of the stored procedure name? (what does it accomplish)
  • why was the SQL Server driver ignoring it?
  • why was a breaking change made in Windows 7?
  • is the breaking compatibility change documented?

The last two questions would probably be the same, since if they document it, they would justify it.

  • 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-05-16T20:40:10+00:00Added an answer on May 16, 2026 at 8:40 pm

    see CREATE PROCEDURE (Transact-SQL) SQL Server 2008 documentation

    --Transact-SQL Stored Procedure Syntax
    CREATE { PROC | PROCEDURE } [schema_name.] procedure_name            [ ; number ]  <<<<<<
        [ { @parameter [ type_schema_name. ] data_type } 
            [ VARYING ] [ = default ] [ OUT | OUTPUT ] [READONLY]
        ] [ ,...n ] 
    [ WITH <procedure_option> [ ,...n ] ]
    [ FOR REPLICATION ] 
    AS { [ BEGIN ] sql_statement [;] [ ...n ] [ END ] }
    [;]
    
    <procedure_option> ::= 
        [ ENCRYPTION ]
        [ RECOMPILE ]
        [ EXECUTE AS Clause ]
    

    ;number

    An optional integer that is used to group procedures of the same name.
    These grouped procedures can be dropped together by using one DROP PROCEDURE statement.

    Note:

    This feature will be removed in a future version of Microsoft SQL Server.
        Avoid using this feature in new development work, and plan to
        modify applications that currently use this feature.
    

    Numbered procedures cannot use the xml or CLR user-defined types and
    cannot be used in a plan guide.

    you can use this system view to find all of these and begin to rewrite them as separate procedures:

    sys.numbered_procedures (Transact-SQL)

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

Sidebar

Related Questions

I came across this code today and don't really understand it. Please could someone
I came across code similar to the following today and I am curious as
I came across an issue with one of our utility classes today. It is
I came across a case-switch piece of code today and was a bit surprised
Came across this error today. Wondering if anyone can tell me what it means:
Came across something like this today, and was wondering if there was an equivalent
I came across a controller in an older set of code (Rails 1.2.3) that
I came across this snippet of code on MSDN: entityBuilder.Metadata = @res://*/AdventureWorksModel.csdl| res://*/AdventureWorksModel.ssdl| res://*/AdventureWorksModel.msl;
I came across this code in ShareKit, and I don't understand what the writer
I came across some java code for doing a prefix search on a JList.

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.