Re: question about CONTAINS SQL

2006-01-20 Thread wangxu
mysql to perfect these function? - Original Message - From: Paul DuBois [EMAIL PROTECTED] To: Rhino [EMAIL PROTECTED]; wangxu [EMAIL PROTECTED] Cc: mysql mysql@lists.mysql.com Sent: Friday, January 20, 2006 3:20 PM Subject:Re: question about CONTAINS SQL At 8:29 -0500 1/19/06, Rhino wrote

Re: question about CONTAINS SQL

2006-01-20 Thread Rhino
- Original Message - From: Paul DuBois [EMAIL PROTECTED] To: Rhino [EMAIL PROTECTED]; wangxu [EMAIL PROTECTED] Cc: mysql mysql@lists.mysql.com Sent: Friday, January 20, 2006 2:20 AM Subject: Re: question about CONTAINS SQL At 8:29 -0500 1/19/06, Rhino wrote: I am copying the rest

Re: question about CONTAINS SQL

2006-01-19 Thread Rhino
I am copying the rest of the list with this so that everyone may benefit from the discussion. If your routine modifies data, in other words if it does SQL Update, Insert or Delete but your routine definition says only CONTAINS SQL, I would expect your routine to fail at runtime. I can't say

Re: question about CONTAINS SQL

2006-01-19 Thread wangxu
| +---+--+--+ | 79NK0001/0003 | 79NK0001 |1 | | 79NK0001/0003 | 79NK0002 |1 | | 79NK0001/0003 | 79NK0003 |1 | +---+--+--+ 3 rows in set (0.01 sec) mysql delimiter // mysql create procedure test() - deterministic - contains sql - begin - insert

Re: question about CONTAINS SQL

2006-01-19 Thread Paul DuBois
At 8:29 -0500 1/19/06, Rhino wrote: I am copying the rest of the list with this so that everyone may benefit from the discussion. If your routine modifies data, in other words if it does SQL Update, Insert or Delete but your routine definition says only CONTAINS SQL, I would expect your

Re: question about CONTAINS SQL

2006-01-18 Thread Rhino
about CONTAINS SQL But what is INSERT OR UPDATE need? - Original Message - From: Rhino [EMAIL PROTECTED] To: wangxu [EMAIL PROTECTED]; mysql@lists.mysql.com Sent: Tuesday, January 17, 2006 9:49 PM Re: question about CONTAINS SQL - Original Message - From: wangxu

Re: question about CONTAINS SQL

2006-01-17 Thread Rhino
- Original Message - From: wangxu [EMAIL PROTECTED] To: mysql@lists.mysql.com Sent: Tuesday, January 17, 2006 12:35 AM Subject: question about CONTAINS SQL I notice there are one section in the manual: CONTAINS SQL indicates that the routine does not contain statements that read

question about CONTAINS SQL

2006-01-16 Thread wangxu
I notice there are one section in the manual: CONTAINS SQL indicates that the routine does not contain statements that read or write data. And that the option is default. It's true? If i wouldn't do read or write in routine.What can i do yet?

dumping a single table that contains fields in multiple character sets

2005-11-02 Thread Michael R. Gile
up a table that contains multiple character sets, since one of the fields will invariably encounter a conversion. Is there an undocumented option that functions as --binary-charset ? or are we just left with no way to backup and restore a table with mysqldump anymore? I suppose the same

MySQL coredumps on FreeBSD if the SQL query contains a regexp expression

2005-03-10 Thread Daniel S. Haischt
coredumps on FreeBSD if the SQL query contains a regexp expression Severity: serious Priority: high Category: mysql Class: sw-bug Release: mysql-5.0.2-alpha (FreeBSD port: mysql-client-5.0.2) C compiler:cc (GCC) 3.4.2 [FreeBSD] 20040728 C++ compiler: c++ (GCC) 3.4.2

RE: contains?

2004-08-19 Thread SGreen
but you could throw together a substring loop that prints out the ascii value of each character. -Original Message- From: Martin Gainty To: [EMAIL PROTECTED] Sent: 8/18/04 3:24 PM Subject: contains? is there way to interrogate what is inside a column specifically a special

contains?

2004-08-18 Thread Martin Gainty
is there way to interrogate what is inside a column specifically a special character? thanks, Martin Gainty _ Express yourself instantly with MSN Messenger! Download today - it's FREE!

Re: contains?

2004-08-18 Thread Rhino
- Original Message - From: Martin Gainty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 4:24 PM Subject: contains? is there way to interrogate what is inside a column specifically a special character? thanks, Try the LIKE operator. For example: select

RE: contains?

2004-08-18 Thread Victor Pendleton
There is not a function equivalent to Oracle's dump but you could throw together a substring loop that prints out the ascii value of each character. -Original Message- From: Martin Gainty To: [EMAIL PROTECTED] Sent: 8/18/04 3:24 PM Subject: contains? is there way to interrogate what

Re: column name contains #

2004-04-19 Thread Victoria Reznichenko
Zhang Yu [EMAIL PROTECTED] wrote: I am migrating an old Access database to MySQL. After migration, we'll keep using Access forms as front end, and MySQL as database. I experienced a strange problem when creating table with a column name id #, which is used by many queries in Access. My

Re: column name contains #

2004-04-19 Thread Paul DuBois
At 20:43 -0700 4/17/04, Zhang Yu wrote: Deal all, I am migrating an old Access database to MySQL. After migration, we'll keep using Access forms as front end, and MySQL as database. I experienced a strange problem when creating table with a column name id #, which is used by many queries in

Re: column name contains #

2004-04-19 Thread Paul DuBois
At 20:43 -0700 4/17/04, Zhang Yu wrote: Deal all, I am migrating an old Access database to MySQL. After migration, we'll keep using Access forms as front end, and MySQL as database. I experienced a strange problem when creating table with a column name id #, which is used by many queries in

column name contains #

2004-04-17 Thread Zhang Yu
Deal all, I am migrating an old Access database to MySQL. After migration, we'll keep using Access forms as front end, and MySQL as database. I experienced a strange problem when creating table with a column name id #, which is used by many queries in Access. My command is like this: create

Re: Simple contains query question

2003-10-24 Thread Egor Egorov
Dale Hans [EMAIL PROTECTED] wrote: I have a field in the table, call it 'stuff', and it contains a list of values that are comma separated. i.e. 'Books,DVDs,Video Tapes,CDs' I want to SELECT out all records that have an item. I know IN works the other way, so is there something

Simple contains query question

2003-10-23 Thread Dale Hans
I have a field in the table, call it 'stuff', and it contains a list of values that are comma separated. i.e. 'Books,DVDs,Video Tapes,CDs' I want to SELECT out all records that have an item. I know IN works the other way, so is there something that will get what I want like this: SELECT

General log on slave contains queries that aren't actually executed?

2003-03-21 Thread Keith C. Ivey
I've finally set up replication for one of the MySQL servers I administer, and it seems to be working. I'm puzzled, however, by what I see in the general query log. I'm using replicate-wild-do-table to restrict the replication to only two of the databases on the master server (since I

[ANN] Lasso Professional 6.0.1 Update Contains Updated MySQL

2002-12-20 Thread Bill Doerrfeld
If you're looking for Web application server alternatives that work extremely well with MySQL, Blue World recently announced the Lasso Professional 6.0.1 Update which includes the latest 3.23.54 build of MySQL. If interested, check out the following support article:

is there a MySQL 'field contains' function

2002-04-12 Thread bill
Hello Everyone, I've only just started trying to use MySQL so please forgive my ignorance if this sounds like a really basic question! I am trying to search a text field within a table that contains several keywords; for example the column might be called computer_description

RE: is there a MySQL 'field contains' function

2002-04-12 Thread Svensson, B.A.T. (HKG)
Hello Everyone, I've only just started trying to use MySQL so please forgive my ignorance if this sounds like a really basic question! I am trying to search a text field within a table that contains several keywords; for example the column might be called computer_description

Re: is there a MySQL 'field contains' function

2002-04-12 Thread John Klein
[EMAIL PROTECTED] wrote: I am trying to search a text field within a table that contains several keywords; for example the column might be called computer_description and contain the values i-mac blue 256MB 500MHz Is there any way of putting together a query that says

RE: is there a MySQL 'field contains' function

2002-04-12 Thread Gregory Junker
SELECT * FROM table1 WHERE computer_description LIKE '%blue%' HTH Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 11:10 AM To: [EMAIL PROTECTED] Subject: is there a MySQL 'field contains' function Hello Everyone

Re: is there a MySQL 'field contains' function

2002-04-12 Thread BD
At 10:09 AM 4/12/2002, you wrote: Hello Everyone, I've only just started trying to use MySQL so please forgive my ignorance if this sounds like a really basic question! I am trying to search a text field within a table that contains several keywords; for example the column

RE: is there a MySQL 'field contains' function

2002-04-12 Thread Roger Baklund
* Bill Hello Everyone, I've only just started trying to use MySQL so please forgive my ignorance if this sounds like a really basic question! I am trying to search a text field within a table that contains several keywords; for example the column might be called

Fresh Install Already Contains Password--What is it?

2001-12-10 Thread Kurt Tappe
Our brand new, fresh install of 3.23.46 won't let us set the password for the root user because one seems to already be set. Even after wiping the ...mysql/data/mysql directory clean and rerunning mysql_install_db, we still get an Enter password: prompt when attempting to set the root user

RE: Fresh Install Already Contains Password--What is it?

2001-12-10 Thread Chris Bolt
Our brand new, fresh install of 3.23.46 won't let us set the password for the root user because one seems to already be set. Even after wiping the ...mysql/data/mysql directory clean and rerunning mysql_install_db, we still get an Enter password: prompt when attempting to set the root user

RE: Fresh Install Already Contains Password--What is it?

2001-12-10 Thread Kurt Tappe
At 8:19 AM -0700 12/10/01, Chris Bolt wrote: Our brand new, fresh install of 3.23.46 won't let us set the password for the root user because one seems to already be set. Even after wiping the ...mysql/data/mysql directory clean and rerunning mysql_install_db, we still get an Enter password:

when column contains spaces

2001-11-01 Thread I. TS
I am a newbie. When I create a table, when one column contains a space, how can I create it correctly in mysql? for example: CREATE TABLE mytable( name CHAR(60) NOT NULL, this column CHAR(60) ///Here there is a space? ); When I use ' or , it does

4.0.0 Intel rpm contains InnoDB-.43 with no foreign keys

2001-10-23 Thread Heikki Tuuri
Hi! There was some confusion in the making of the 4.0.0 binaries. The Intel rpm contains InnoDB-.43 which does not support foreign keys, while the source distribution and the Intel .tar.gz binary contains .43b which supports foreign keys. Sorry for the confusion! Some things are broken in all

Re: Cannot do mysql_query INSERT on Field type varchar that contains

2001-09-04 Thread Sinisa Milivojevic
[EMAIL PROTECTED] writes: an apostrophe Description: If I try to INSERT data containing an apostrophe into a Field defined as mediumtext it works ok. However, if I try to insert the same data into a Field defined as varchar, the INSERT fails. And, it not only doesn't work...it does