Re: query against blob objects
From: Erland Sommarskog (esquel_at_sommarskog.se)
Date: 08/08/04
- Next message: Andrew: "Summing tables in a UDF"
- Previous message: Erland Sommarskog: "Re: Moving Data To A mySQL Server"
- In reply to: Jacky Luk: "query against blob objects"
- Next in thread: Jacky Luk: "Re: query against blob objects"
- Reply: Jacky Luk: "Re: query against blob objects"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 8 Aug 2004 22:21:01 +0000 (UTC)
Jacky Luk (jl@knight.com) writes:
> What is the general SQL syntax statement for accessing blob objects?
> I've looked mySQL,they said there is a limitation and the limitation is
> you have to 'trim' each field so that they are the same length before
> you do a 'compare' on it. I'm wondering SQL Server would have been the
> same. I used the following statement to access mySQL Blob objects select
> * from s_proc where contents = 'calkslaj' (did not succeed)
But you got an error message which might have given you a hint:
CREATE TABLE s_proc (a int NOT NULL, b text NOT NULL)
go
INSERT s_proc (a, b) VALUES (1, 'Kilroy was there')
go
SELECT * FROM s_proc WHERE b LIKE 'Kilroy was there%'
go
-- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
- Next message: Andrew: "Summing tables in a UDF"
- Previous message: Erland Sommarskog: "Re: Moving Data To A mySQL Server"
- In reply to: Jacky Luk: "query against blob objects"
- Next in thread: Jacky Luk: "Re: query against blob objects"
- Reply: Jacky Luk: "Re: query against blob objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|