RE: SQL 2005 Management Studio can't edit text rows with > 4000 ch
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 9 Nov 2006 23:27:49 +0000 (UTC)
asanford (asanford2000_at_hotmail.com@xxxxxxxxxxxxxxxxx) writes:
I even captured the update query SSMS is generating, and it is NOT
trying to edit the text field, the problem is the where clause that
converts the text field to an > nvarchar(max) to do a like operator
(using an optimistic concurancy pattern.)
Yes, that just seem plain wrong to me. Why not use a simple =? LIKE looks
like a recipe for failure. Note the least with @param1 LIKE '1'...
Of course, with text/ntext/image, it would not work with = neitehr, but
it would work with the MAX data types.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- RE: SQL 2005 Management Studio can't edit text rows with > 4000 charac
- From: Charles Wang[MSFT]
- RE: SQL 2005 Management Studio can't edit text rows with > 4000 ch
- From: asanford
- RE: SQL 2005 Management Studio can't edit text rows with > 4000 charac
- Prev by Date: Re: SQL 2005
- Next by Date: Re: Debugging Stored Procedures
- Previous by thread: RE: SQL 2005 Management Studio can't edit text rows with > 4000 ch
- Next by thread: RE: SQL 2005 Management Studio can't edit text rows with > 4000 ch
- Index(es):
Relevant Pages
|