cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Model Wizard - Remote script contains nvarchar columns

1,391

Hello everybody,

we are running on MobiLink 17.0.9.4838 with a Oracle 12 as the consolidated database (switching from SQL Anywhere as CDB in the past). The remote database is set to Ultralite in my MobiLink project in SQL Central.

I am now trying to create and deploy the sync model via SQL Central, however the deployment on the remote fails, as the wizard is converting NVARCHAR2 on Oracle into NVARCHAR for the Ultralite (and that of course is not supported.

Any idea/suggestion?

Thanks for your help and best regards, Alex

Accepted Solutions (1)

Accepted Solutions (1)

[UPDATE]

I found the reason. Looks like a bug in SQL Central.

When I use the "Test ..." Button on the Synchronization Model Deploy tab, it generates me the following code in the remote_setup.sql:

DROP TABLE IF EXISTS "COUNTRIES"
GO
CREATE TABLE "COUNTRIES"     (
    "SPRAS" varchar(1) not null,
    "LAND1" varchar(3) not null,
    "LANDX" nvarchar(15) null,
    PRIMARY KEY ("SPRAS", "LAND1")
)
GO

This does not run on Ultralite, as nvarchar is not supported.

When I use the "Deploy ..." button however I get:

DROP TABLE IF EXISTS "COUNTRIES"
GO
CREATE TABLE "COUNTRIES"     (
    "SPRAS" varchar(1) not null,
    "LAND1" varchar(3) not null,
    "LANDX" varchar(60) null,
    PRIMARY KEY ("SPRAS", "LAND1")
)
GO

So my problem is solved.

Vlad
Product and Topic Expert
Product and Topic Expert
0 Kudos

have you reported it to SAP, or did you get any news from the support?

Answers (0)