RE: select command

2005-11-24 Thread asus77x
: mysql; asus77x Subject: Re: select command You should not contact people on the MySQL list offline; all communication should be via the list so that everyone can benefit from the discussion. As I said earlier, your WHERE clause does not make sense the way you expressed it in your first email. I

Re: select command

2005-11-24 Thread Rhino
uestion. Thanks. -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 10:05 PM To: asus77x; mysql@lists.mysql.com Subject: Re: select command I have a command : SELECT * FROM reg_one WHERE 'varName' like 'varTmp' % This is made wi

Re: select command

2005-11-24 Thread Gleb Paharenko
Hello. > Becomes to like varName or varTmp ? Sorry, but I'm not completely understanding your question (may be because I'm not familiar with dreamweaver). What does it mean 'like varName or varTmp'? Do you want to change the name from reg_one to var_one? Or you want to be able dynamically

Re: select command

2005-11-24 Thread Rhino
- Original Message - From: "asus77x" <[EMAIL PROTECTED]> To: Sent: Thursday, November 24, 2005 2:07 AM Subject: select command I have a command : SELECT * FROM reg_one WHERE 'varName' like 'varTmp' % This is made within dreamweaver mx. I think there must be a typo in the statemen

RE: select command with a search?

2004-04-27 Thread Christopher Lyon
Thank you, That did the trick. > -Original Message- > From: Egor Egorov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 27, 2004 12:17 AM > To: [EMAIL PROTECTED] > Subject: Re: select command with a search? > > "Christopher Lyon" <[EMAIL PROTECTED

Re: select command with a search?

2004-04-27 Thread Jigal van Hemert
> I want to be able to search for specific text in a field and return the > results for those rows. What is the best way to go about it? Do I use > the regex stuff or match? You can use - ...WHERE column LIKE '%specific text%' - "use the regex stuff" (which is mostly slower than LIKE) - MATCH afte

Re: select command with a search?

2004-04-27 Thread Egor Egorov
"Christopher Lyon" <[EMAIL PROTECTED]> wrote: > I want to be able to search for specific text in a field and return the > results for those rows. What is the best way to go about it? Do I use > the regex stuff or match? > It depends. You can use LIKE, REGEXP, full-text search for those purpose: