MySQL Forums
Forum List  »  German

SELECT * FROM table WHERE blobfield IN (1,2,3,4,5,6,7,8)
Posted by: Mark Knochen
Date: March 10, 2014 06:56AM

Hallo,

ich habe IDs, die in einem Blobfield gespeichert sind. Nun möchte ich nur die Zeilen aus der Tabelle lesen, die IDs im Blbfield haben, die zu einem Array von bestimmten IDs gehören.


Dieses Array kann ich vorher per PHP als kommagetrennten String abrufen ...

Somit bliebe die Abfrage

SELECT * FROM table WHERE [mind. eine ID aus dem blobfield IN (1,2,3,4,5,6,7,8)

Gibt es dafür eine Möglichkeit? Ich brauch das möglichst so in dieser Form, also ohne eine weitere SQL Abfrage.

Danke

Mark

Options: ReplyQuote


Subject
Views
Written By
Posted
SELECT * FROM table WHERE blobfield IN (1,2,3,4,5,6,7,8)
2167
March 10, 2014 06:56AM


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.