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 Server Auto-generated Schema - TEXT data type deprecated [BATCH-2740] #864

Closed
spring-projects-issues opened this issue Jul 30, 2018 · 0 comments

Comments

@spring-projects-issues
Copy link
Collaborator

CorwinNewall opened BATCH-2740 and commented

Please see the auto-generated schema-sqlserver.sql.

As per the given reference URL, the TEXT data type will be deprecated in a future version of Microsoft SQL server. Ideally whatever generates the SQL should be changed to generate VARCHAR(MAX) to maximise compatibility with future versions.

The auto-generated SQL column has had a TEXT data type for a very long time so technically most versions are affected, not just the Affects Versions listed.

I do not know if changing to VARCHAR(MAX) breaks anything.


Affects: 2.2.7, 3.0.9, 4.0.1

Reference URL: https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2017?view=sql-server-2017

@fmbenhassine fmbenhassine removed the status: waiting-for-triage Issues that we did not analyse yet label Jan 21, 2021
@fmbenhassine fmbenhassine added this to the 5.0.0 milestone Jan 21, 2021
@fmbenhassine fmbenhassine modified the milestones: 5.0.0, 5.0.0-M1 Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants