varchar and text
From: Agoston Bejo (gusz1_at_freemail.hu)
Date: 02/08/05
- Next message: Jose: "insert into linked server"
- Previous message: Jacco Schalkwijk: "Re: IIF(ISNULL(dbo.SalesAnalyse.Verzenddatum), 'unknown', DATEPART(yyyy.SalesAnalyse.Verzenddatum))"
- Next in thread: Dejan Sarka: "Re: varchar and text"
- Reply: Dejan Sarka: "Re: varchar and text"
- Reply: JohnnyAppleseed: "Re: varchar and text"
- Reply: Mal .mullerjannie_at_hotmail.com>: "RE: varchar and text"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Feb 2005 16:48:46 +0100
Hi!
I know that varchar is only able to store string data up to 8000 bytes,
whereas text up to 2 Gig or so.
Somebody told me that you cannot search in text-type fields, i.e. you cannot
use LIKE '%abc%' and things like that. I tried it (on SQL Server 7),
inserted some short text, and LIKE worked just fine. Does it work also when
some longer string inserted? Or is it only a rumor? Are there any
disadvantages of using text-type fields instead of varchar's?
Thx,
Agoston
- Next message: Jose: "insert into linked server"
- Previous message: Jacco Schalkwijk: "Re: IIF(ISNULL(dbo.SalesAnalyse.Verzenddatum), 'unknown', DATEPART(yyyy.SalesAnalyse.Verzenddatum))"
- Next in thread: Dejan Sarka: "Re: varchar and text"
- Reply: Dejan Sarka: "Re: varchar and text"
- Reply: JohnnyAppleseed: "Re: varchar and text"
- Reply: Mal .mullerjannie_at_hotmail.com>: "RE: varchar and text"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|