Title: Message
|
Thank
a lot for your reply Stephen, but this DATALENGTH( ) function doesn't seem to be
available in FireFox.
John
Doh,
I am getting slow in my old age..
Try
the DATALENGTH( ) function in the database. It works in SQL server and should
work in most modern databases.
Stephen
To use a TBlobField You would have to get the
dataset populated first - then you can look at the size...
To do this in SQL ... I do not know how to get
the size (FireFox or Interbase) unless you create a UDF.
Regards Paul McKenzie SMSS Ltd. Wellington New
Zealand
----- Original Message -----
Sent: Friday, August 20, 2004 2:51
PM
Subject: RE: [DUG] size of a
blob
How should I use that? The following does NOT work! (illegal
command) - btw I'm using FireFox
select
name from CONFIG_ITEMS where image.size
>0
I just noticed a TBlobField has a size
property...
Regards Paul McKenzie SMSS Ltd. Wellington New
Zealand
----- Original Message -----
Sent: Friday, August 20, 2004
2:08 PM
Subject: RE: [DUG] size of a
blob
No, 'where image is null' doesn't seem to detect an empty
blob!
Any other ideas?
Can you test for Null...
Regards Paul McKenzie SMSS Ltd. Wellington New
Zealand
----- Original Message -----
Sent: Friday, August 20, 2004
12:34 PM
Subject: [DUG] size of a
blob
Hi
all,
Is
there any way of getting a query result where the size of a blob
field ('image' in this case) is larger then 0?
Thus
something like:
select
name from CONFIG_ITEMS where size(image)
>0
TIA,
John
_______________________________________________ Delphi
mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi
mailing
list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing
list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
--- Incoming mail is certified Virus Free. Checked by
AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus
Database: 495 - Release Date: 19/08/2004
|
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi