Re: Infinite Length String
From: David Portas (REMOVE_BEFORE_REPLYING_dportas_at_acm.org)
Date: 05/28/04
- Next message: Admin: "Re: Linked server"
- Previous message: Roji. P. Thomas: "Re: Infinite Length String"
- In reply to: Malik: "Infinite Length String"
- Next in thread: Aaron Bertrand [MVP]: "Re: Infinite Length String"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 11:32:33 +0100
SQL Server doesn't support datatypes of unlimited length. If your text is up
to 8000 bytes you can use a VARCHAR. If it's less than 2GB you can use a
TEXT datatype. Any more than that you'll have to do it client-side. String
concatenation from multiple rows is best done client-side anyway,
particularly if the data is large. SQL isn't really optimised for this kind
of work.
-- David Portas SQL Server MVP --
- Next message: Admin: "Re: Linked server"
- Previous message: Roji. P. Thomas: "Re: Infinite Length String"
- In reply to: Malik: "Infinite Length String"
- Next in thread: Aaron Bertrand [MVP]: "Re: Infinite Length String"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|