Jump to content

WHERE * LIKE


Err
 Share

Recommended Posts

Can I do something like SELECT * FROM table WHERE * LIKE 'keyword'?I get MySQL errors. I don't think the query likes the asterisks after the WHERE clause. Is there an alternative to what I'm trying to achieve without querying the database to get the list of column names?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...