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

Is there any support for image, nText datatype #1267

Closed
arjunbharara opened this issue Oct 28, 2024 · 7 comments
Closed

Is there any support for image, nText datatype #1267

arjunbharara opened this issue Oct 28, 2024 · 7 comments

Comments

@arjunbharara
Copy link

arjunbharara commented Oct 28, 2024

.It is throwing me a exception which is ntext from provider SqlSyncProvider, Dotmim.Sync.SqlServer.SqlSyncProvider is not currently supported.'

@arjunbharara arjunbharara changed the title Is there any support for image, nText datatype .It is throwing me a exception which is ntext from provider SqlSyncProvider, Dotmim.Sync.SqlServer.SqlSyncProvider is not currently supported.' Is there any support for image, nText datatype Oct 28, 2024
@Mimetis
Copy link
Owner

Mimetis commented Oct 28, 2024

As said, it's not supported.
My advice: Change ntext to varchar(max)

@Mimetis Mimetis closed this as completed Oct 28, 2024
@Mimetis
Copy link
Owner

Mimetis commented Oct 28, 2024

and change Image to varbinary(max)

@arjunbharara
Copy link
Author

thank you for your reply .
i had one more question
By using SetCreateProceduresForAdditionalScopeDefault, you can prevent redundant stored procedures from being created, reducing the number of database objects and improving maintenance efficiency. When additional scopes for the same table do not require unique stored procedures (i.e., they share similar filtering or data requirements), you can reuse the existing procedures. This approach optimizes storage and minimizes the complexity of managing multiple scopes, especially when the same tables are involved in each scope.
can we do the same in Dtmim ?

@Mimetis
Copy link
Owner

Mimetis commented Oct 29, 2024

No, each scope has its own set of stored procedures.

That being said, it something we can think about, but definitively not in my priority list :)

@arjunbharara
Copy link
Author

What are the alternate if do not want to upgrade my database from using image and nText dataType. because migrating my database would cost me a lot work and data changes.

@Mimetis
Copy link
Owner

Mimetis commented Nov 5, 2024

if you want to use DMS, as is, there is no option.
Otherwise you can look at this PR (#941), but it's quite old, and not up to date with the latest changes.
Honestly it's a lot of changes in DMS, and I decided to not incorporate it in the master branch.

You can take a look, but there is no guarantee.

@arjunbharara
Copy link
Author

arjunbharara commented Nov 6, 2024

Beside Text ,nText and image data types is there any other data types which are not supported by the sqlSyncProvider?
Does it support xml datatype if no why (because i has not been deprecated by sql server ).
It will be great if you can update the documentation to the latest version.
thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants