BUG: Invalid Value Specified for STOPAT Parameter During Restore (297468)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q297468
BUG #: 58195 (SQLBUG_70)

SYMPTOMS

If you use SQL Server Enterprise Manager to restore a transaction log you can specify a point in time restore. At the end of the restoration, the following error message occurs if the default language of the login used to register the SQL Server is not English:
"Invalid value specified for STOPAT parameter"

CAUSE

The STOPAT value supplied is being treated like it is formatted as "YDM" by SQL Server where as the value supplied by the SQL Server Enterprise Manager is of the format "YMD", which causes an invalid date.

WORKAROUND

To work around this behavior either:
  • Change the default language of the login used to register SQL Server to "English".

    -or-

  • Use the SQL Server Query Analyzer and the set the date format to YMD. For example, at the command line type:

    set dateformat ymd

    and then issue the RESTORE command.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbBug kbDSupport KB297468