Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLXMLBulkLoad and empty memo fields
Message
De
11/02/2009 11:56:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Versions des environnements
Application:
Web
Divers
Thread ID:
01380476
Message ID:
01380921
Vues:
44
If you pass a value for a column that takes precedence over default.
Cetin

>You can set DEFAULT constrain to an empty string for such columns in the SQL Server table.
>
>>I'm trying to use Doug Hennig's SQLXMLBulkLoad tool:
>>http://doughennig.blogspot.com/2006/07/sqlxmlbulkload-rocks.html
>>
>>to upload large tables to SQL server and keep getting the error message:
>>No data was provided for column 'memofield' on table 'tablename', and this column cannot contain NULL values.
>>
>>Now I could cheat and just allow NULL values on the field, but does anyone know how to get this to work when dealing with empty memo fields?
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform