I thought I understand the notion in the Title until I ran the query below. This query inserts a 5000 byte value into two columns in the same record and sql (2008) doesn't complain. Please advise what is going on! TIA, edm2
-- drop table table_1
create table table_1(
[mychar1] [varchar](8000) NULL,
[mychar2] [varchar](8000) NULL
)
insert into table_1 ( mychar1, mychar2)
values (replicate('a', 5000) , replicate('b', 5000))
select * from table_1
-- truncate table table_1* Update* I just noticed that using Replicate ('a', 50000) doesn't cause an issue either. I'll be reviewing the replicate documentation too.