SQL Flow Field Guide

ntext, text, & image (data type)

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

data type ntext, text, & image

What changes

Input
none
Output or change
none

Syntax at a glance

ntext | text | image

Work example

Understand old columns that still use the deprecated large-object types.

Plan a reviewed migration to nvarchar(max), varchar(max), or varbinary(max) before extending old code.

Check your work ntext, text, and image are deprecated and should not be chosen for new schema.

Practice SQL

Open in SQL Flow
SELECT CAST(N'Use a max type for new text' AS nvarchar(max)) AS replacement_text;

Open Microsoft Learn for full syntax, permissions, and details for your version.