BUG: Data Transfer Fails if Range Exceeds Rows in Table

Last reviewed: April 30, 1997
Article ID: Q121021

The information in this article applies to:

  - Microsoft SQL Server version 4.2b for OS/2
  - Microsoft SQL Server version 4.2
BUG# 10135 (4.2)

SYMPTOMS

Object Manager's data transfer function will generate an error if the user specifies a to (or upper) range limit that is larger than the number of rows in the table. Once this error is encountered, the data transfer function will not work until Object Manager is stopped and restarted.

If the to range limit specified for a data transfer is larger than the number of rows in the table being transferred, the data will be transferred, but an error is reported. All subsequent attempts to use data transfer fail with the following error until Object Manager is stopped and restarted:

   An error occurred during initialization of the data transfer.

For example, if an attempt is made to transfer out the authors table in the pubs DB with a range specified of 1 to 500, the following error is reported:

   23 rows copied from server. Errors were encountered, see the Data
   Transfer Error Report window.

The Data Transfer Error Report window has:

   The table 'authors' only contains 23 rows.  Copying up to
   500 rows is not possible.

All subsequent attempts to use the data transfer function fail as noted above until Object Manager is stopped and restarted.

WORKAROUND

Do not specify a to limit in the range option that is larger than the number of rows in the table. If the above error is encountered, stop and restart the Object Manager session.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 4.2 and SQL Server version 4.2b for OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: Windows NT
Keywords : kbbug4.20 kbtool SSrvObj_Man SSrvWinNT
Version : 4.2b | 4.2
Platform : OS/2 WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.