no.

You can do:
SELECT sum(length(Something)) FROM MyDB WHERE MyDB.Something LIKE 'this%'

But you will have to specify that for each field you want...then add them
all up to get the length.


Cal
http://www.calevans.com


-----Original Message-----
From: Jason Terry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: Can I do this in a SELECT


I have a need for a SELECT query...

I don't really want any of the data from the select...
Rather I need the size of the data

basically I need

SELECT sum(length(*)) FROM MyDB WHERE MyDB.Something LIKE 'this%'


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to