Re: How to get around row size limitation
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 02/28/05
- Next message: James Goodwin: "Re: SYNTAX ERROR in Stored Procedure"
- Previous message: PH: "RE: SYNTAX ERROR in stored procedure"
- In reply to: moondaddy: "How to get around row size limitation"
- Next in thread: moondaddy: "Re: How to get around row size limitation"
- Reply: moondaddy: "Re: How to get around row size limitation"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Feb 2005 16:36:10 -0500
Typical ways to get around row size limitation:
- store larger chunks in TEXT columns (which do not count toward row-size,
since they are stored off-row)
- separate related table
The major downfall with TEXT is that it doesn't work well with string
functions, can be cumbersome for searching (you can offset this by using
Full-Text Search), and cannot be used in local variables.
Other than that, it's really the only way to store > 8k of data in a single
column inside the database...
-- http://www.aspfaq.com/ (Reverse address to reply.) "moondaddy" <moondaddy@nospam.com> wrote in message news:uvdQWtdHFHA.2276@TK2MSFTNGP15.phx.gbl... > I have a table which has a number of large notes columns where users > sometimes need to record several pages of notes for each column. So if I > have 2 columns each varchar(4000) then at times the row size will exceed its > 8k limit and nasty problems will occur. How is it that people are able to > collect large blobs of data (I hardly consider this a blob, but it is bigger > than 8k)? Do I need to use the nvarchar or text data type and if so, how > does this get around the row size limit? I'm hoping I don't have to use the > text data type as its been a long time since I used it, but as I recall, it > wasn't so user friendly to work with complex TSQL. > > Thanks for any input you can provide. > > -- > moondaddy@nospam.com > >
- Next message: James Goodwin: "Re: SYNTAX ERROR in Stored Procedure"
- Previous message: PH: "RE: SYNTAX ERROR in stored procedure"
- In reply to: moondaddy: "How to get around row size limitation"
- Next in thread: moondaddy: "Re: How to get around row size limitation"
- Reply: moondaddy: "Re: How to get around row size limitation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|