Dynamic data import / export

datenbank

simply more productive
Up to 10,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.

TOPIC: mysql blob and varbinary fields

mysql blob and varbinary fields 5 years 5 months ago #2131

  • brent
  • brent's Avatar
  • Offline
  • New Member
  • Posts: 1
i am trying to move from mysql to ms sql server and i have blob and varbinary fields to move to varbinaary in sql server. when i try to import into ms sql server the binary fields which do not allow nulls i am erroring out saying can not insert null values. mysql varbinary field is not null also
The administrator has disabled public write access.

Re:mysql blob and varbinary fields 5 years 5 months ago #2132

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Posts: 239
Hi Brent,

The problem is, that FlowHeater handle the SQL data types (blobs, images, varbinary, …) as internal FlowHeater RAW data type!

NOTE: All other FlowHeater data types can handle inserts and/or updates! Please have a look to: FlowHeater data types

The reason is, FlowHeater generate for the internal RAW data type only SQL update statement, because FlowHeater doesn’t create for these data type the update statements by himself, the update statements are built by the database driver to connect to.

There are two possible ways to do this.
  1. You have to change the field settings and allow NULL for this field in the SQL Server database.
  2. Add a default value for this field (0x0) in the SQL Server database.
For both above you can use the SQL Server Management Studio.
Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
The administrator has disabled public write access.
Moderators: FlowHeater-Team
Time to create page: 0.071 seconds