Microsoft KB Archive/297468

= BUG: Invalid Value Specified for STOPAT Parameter During Restore =

Article ID: 297468

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



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:

&quot;Invalid value specified for STOPAT parameter&quot;



CAUSE
The STOPAT value supplied is being treated like it is formatted as &quot;YDM&quot; by SQL Server where as the value supplied by the SQL Server Enterprise Manager is of the format &quot;YMD&quot;, 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 &quot;English&quot;.

-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.

Keywords: kbbug kbpending KB297468

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.