MySQL Forums
Forum List  »  General

Using BLOBS and TEXT data types in sql statements
Posted by: Carlos René Ponce Novelo
Date: July 21, 2004 08:42AM

hi, i need to know if i can use blobs or text data types (tiny,medium or long with blob or text) in sql statements. For instance: suppose i have a blob field with large information and i need to find a word in this field. It's valid do this:

<?php
$query = "SELECT * FROM MyTable WHERE MyBLOBField like '%$MyVar%' ORDER BY XField";
$result = mysql_query($query);
//The rest of the statements.
?>

Thanks for your help... bye...

Options: ReplyQuote


Subject
Written By
Posted
Using BLOBS and TEXT data types in sql statements
July 21, 2004 08:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.