PRSQL9103017: Cannot Pass @@Version to a Stored Procedure

ID Number: Q70837

1.10

OS/2

buglist1.10

Summary:

PROBLEM ID: PRSQL9103017

SYMPTOMS

If the global variable @@VERSION is passed as a parameter to a

stored procedure, SQL Server will GP-fault.

RESOLUTION

@@VERSION does not need to be passed as a parameter. Access the

global variable from within the stored procedure.