Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead. For more information, see Using Large-Value Data Types.
create table #testing
(
somedata text
, myname varchar(50)
)
insert #testing
( myname )
values
( 'm!ke' )
insert #testing
( myname )
values
( 'ed' )
insert #testing
( myname )
values
( 'paul' )
insert #testing
( somedata )
values
( '' ) -- empty string
select * from #testing
where somedata is not null
select * from #testing
where somedata is null
drop table #testing
Select *
From Table
Where DataLength([!]TextColumn[/!]) > 0