• G² (11/6/2008)


    It was my understanding that varchar(max) was meant to be a replacement to the text data type because of the issue that this question raises as well as other like:

    Being able to use varchar(max) as a local variable (can't with text)

    Being able to use most string functions with it

    It can still hold 2Gb of data like text can, so what would this break?

    Please correct me if I'm wrong. These discussions are great!

    Greg

    Yes, all of the above is true. That is why I have changed my usage when we dropped SQL Server 2000 support. As to breakage, the application could be using READTEXT, WRITETEXT, UPDATETEXT, TEXTPTR, etc. See the BOL for details.


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]