Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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

asked 17 Aug '18, 04:36

Alexander%20Ilg's gravatar image

Alexander Ilg
346272739
accept rate: 50%


[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.

permanent link

answered 19 Aug '18, 03:49

Alexander%20Ilg's gravatar image

Alexander Ilg
346272739
accept rate: 50%

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

(20 Aug '18, 14:25) Vlad
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×371
×128
×5

question asked: 17 Aug '18, 04:36

question was seen: 1,205 times

last updated: 20 Aug '18, 14:25