I'm trying to migrate a database from SQL Server 2008 to MySQL using MySQL Workbench 5.2.46CE. Everything works fine until the copy of the data (step "Bulk Data Transfer) :
Starting...
Prepare information for data copy...
Prepare information for data copy done
Determine number of rows to copy....
Counting number of rows in tables...
wbcopytables.exe --count-only --passwords-from-stdin --odbc-source=Driver={SQL Server};Server=.\sqlexpress;Database=... ;User Id=... ;Password=... --table-file=...
ERROR: Determine number of rows to copy: unsupported operand type(s) for +: 'NoneType' and 'str'
Failed
I don't really understand why I get this, so if any of you have an idea... :) (PS : I started using SQL Server 2008 & MySQL Workbench today so I don't really know how they work)
EDIT 2 - SQL Express Table DDL (updated)
CREATE TABLE [dbo].[S_OCivilite](
[OCIV_Id] [int] IDENTITY(0,1) NOT N'',
[OCIV_Code_Pan] [nvarchar](3) NOT N'',
[OCIV_Intitule_Pan] [nvarchar](35) NOT N'',
[OCIV_DateModif_Pd] [datetime] NOT N'',
CONSTRAINT [PK_OCIV_Id] PRIMARY KEY CLUSTERED
(
[OCIV_Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
CONSTRAINT [IX_OCIV_Code_Pan] UNIQUE NONCLUSTERED
(
[OCIV_Code_Pan] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO