BUG: XferMgr Does Not Preserve Nullability of User-Defined Data

Last reviewed: April 16, 1997
Article ID: Q153969
The information in this article applies to:
  • Microsoft SQL Server version 6.0

SYMPTOMS

SQL Transfer Manager does not preserve the specified nullability of user- defined datatypes. A datatype defined to allow nulls does not allow nulls after having been transferred via Transfer Manager.

CAUSE

Transfer Manger does not send the sp_addtype command with the nullability parameter surrounded by quotes. Since the nullability parameter is optional, and an unquoted NULL is simply interpreted as null, the nullability parameter is set to the default nullability of the session or database.

WORKAROUND

Generate, edit, and run the script for the user-defined datatypes. Follow this with a transfer of all other objects in the database.

STATUS

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

MORE INFORMATION

For user-defined datatypes that do not allow nulls, the third parameter, nullability, is simply omitted from the sp_addtype statement, therefore, these datatypes transfer correctly.


Additional query words: 6.0
Keywords : kbbug6.00
Version : 6.0
Platform : 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 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.