Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL 2022 to SIARD2 - The conversion from varbinary to BLOB is unsupported #607

Open
pi-r-ayotte opened this issue May 17, 2024 · 0 comments
Assignees
Labels

Comments

@pi-r-ayotte
Copy link

Description: Unable to export table containing varbinary column on SQL Server 2022

Steps required to reproduce the bug:

  1. Create a Test database
  2. Run the tcl script (see below) to create a test table
  3. Try to export (cmdline used: java -jar "-Dfile.encoding=UTF-8" dbptk-app-2.11.0.jar migrate --import microsoft-sql-server --import-server-name=sql2022 --import-database="Test" --import-username=userna --import-password="pwd" --export siard-2 --export-file=G:\export\Test-dbptk.siard)
  4. You should find the error in the dbptk-app.log

Attach the dbptk-app.log.txt file below.
dbptk-app.log.txt

TCL Script

USE [Test]
GO
/****** Object: Table [dbo].[AlarmEnroll] Script Date: 5/17/2024 2:18:51 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[AlarmEnroll1](
[ObjPropRef] varbinary NULL,
)
GO
USE [Test]
GO
INSERT INTO [dbo].[AlarmEnroll1]
([ObjPropRef])
VALUES
(0)
GO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants