Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLXMLBulkLoad and empty memo fields
Message
From
11/02/2009 11:56:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Environment versions
Application:
Web
Miscellaneous
Thread ID:
01380476
Message ID:
01380921
Views:
45
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform