OVH Cloud OVH Cloud

text in row

1 réponse
Avatar
Phil
Existe-t'il un m=E9thode qui me permet de conna=EEtre le=20
parametre "text in rows" attribu=E9 =E0 une colonne de type=20
text ?

Merci.

1 réponse

Avatar
Steve Kass
Phil,

La fonction OBJECTPROPERTY donne cet information:

use tempdb
go

create table t(
i int,
t text
)
go

select objectproperty(object_id('tempdb..t'), 'tabletextinrowlimit')
exec sp_tableoption 't', 'text in row', '100'
select objectproperty(object_id('tempdb..t'), 'tabletextinrowlimit')
go

drop table t

SK

Phil wrote:

Existe-t'il un méthode qui me permet de connaître le
parametre "text in rows" attribué à une colonne de type
text ?

Merci.