proctk Posted July 27, 2007 Share Posted July 27, 2007 Hi I have a mysl column that will has value in the format below the "string - anytextvalue" string-string,string-number I have a variable that could equal only the number value in the above. I need to somehow write a query that will search the table and return results based on the number. any help is excellent __________________ Quote Link to comment Share on other sites More sharing options...
fenway Posted July 31, 2007 Share Posted July 31, 2007 Sounds like you're storing multi-part data in a single field... that's a no-no. You could try and write a quick-and-dirty parse for mysql to use, but that's ugly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.