BUG: Data Transfer Fails if Range Exceeds Rows in Table

ID: Q121021


The information in this article applies to:

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          : kbtool SSrvObj_Man kbbug4.20 SSrvWinNT 
Version           : 4.2b | 4.2
Platform          : OS/2 WINDOWS 
Issue type        : 

Last Reviewed: March 20, 1999