You could always look into hacking the code that drives the `file'
application, to a point it can determine the binary data type.

 

David Lidström wrote:
> 
>  Let's say it's an image, zip archive or a PDF-file!?
>  I am creating a GUI-client, so it's when a table is
>  listed, and the field is containing a file I'd like
>  to know this somehow... If possible!!
> 
> -----Original Message-----
> From: Paul DuBois [mailto:[EMAIL PROTECTED]]
> Sent: den 30 maj 2001 03:28
> To: David Lidström; MYSQL LIST
> Subject: Re: Binary
> 
> At 9:16 AM +0200 5/29/01, David Lidström wrote:
> >  Is there some kind of pattern in fields containing
> >  binary data - so you can be sure that is really IS
> >  binary!?
> >  I.e. if I in my database have a BLOB-field and
> >  sometimes  write a string, and sometimes a file?!
> 
> Given that a file can contain ordinary string data, it's difficult to
> know how to answer your question.  What's your definition of binary
> data?
> 
> One way to solve this would be to add another column to the table
> that you set to explicitly indicate what kind of information is
> in your BLOB column.  Then you wouldn't have to guess.
> 
> >
> >Regards David
> 
> --
> Paul DuBois, [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> 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