RE: off into the weeds

2003-11-28 Thread Bob Loeffler
Hi Dean, If I'm not mistaken, it looks like you are just joining the two tables (list_rank and entry) and not specifying which matching records you want (with a "where..." clause), so mysql is matching each row in one table with each row in the other table. That will be a HUGE result set, so it w

RE: read: Off subject regarding the mysql list!

2003-12-01 Thread Bob Loeffler
Hi Karl, I have my rule in Outlook set up as: "Apply this rule after the message arrives with lists.mysql.com in the message header move it to the MySQL and PHP folder" I hope that helps. Bob Loeffler :) -Original Message- From: karl james [mailto:[EMAIL PROTECTED] Sen

Test e-mail: Please disregard

2003-12-01 Thread Bob Loeffler
This is a test e-mail for Karl. Please disregard it. Thanks, Bob -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: How To Delete A Particular Record From a Table?

2003-12-01 Thread Bob Loeffler
Hi Caroline, The syntax is: delete from where ; So, try this: delete from members where username='John Smith'; When deleting records from a table, always make sure you have a good condition clause, because if you don't have one, or if it's not correct, you could delete ALL of the records

RE: New Microsoft Critical Patch

2003-12-04 Thread Bob Loeffler
Hi John, I've been getting those fake e-mails for a month, but I joined this mailing list only a week ago, so they definitely did not start coming from this list. Bob -Original Message- From: John Griffin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 11:30 AM To: [EMAIL PR

RE: Mysql user

2003-12-05 Thread Bob Loeffler
Hi Binay, Use the mysql client to open the "mysql" database. For example, enter the following at the "mysql>" prompt: use mysql Then type: select * from user; Bob -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:26 AM To: mysql users Subje

RE: New to joins - this simple one doesn't work.

2003-12-08 Thread Bob Loeffler
Hi Iain, Did you alter the tables since your original message? In the original message, you didn't have a "caption" column in the properties table. It might be easiest if you showed us your current table structures and partial data, like this: Countries +--+---+ | Fi

RE: new install - command prompt doesn't work

2003-12-13 Thread Bob Loeffler
click on the OK button in each of those dialogs to save the info. Now you shouldn't have a problem the next time you open a command prompt window and type in 'mysql' to run the mysql client application. Bob Loeffler :) -Original Message- From: Betta Jazzy Brown [mailto:[E

RE: Another Brickwall with Displaying using JOIN

2003-12-14 Thread Bob Loeffler
Hi Jess, If there will never be another ID number, something like the following should work (although I don't know about the "\n" part): $Row = mysql_fetch_array ($Result); print ("ID: $Row[id]\n"); print ("$Row[technotes]\n"); while ($Row = mysql_fetch_array ($Result)) { print ("$Row[

RE: foreign keys.

2003-12-15 Thread Bob Loeffler
Hi, I don't know much about the foreign key syntax, but I would think it should reference a field in a different table. If I'm wrong, I'm sorry. :-) Bob -Original Message- From: Mofeed Shahin [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 9:56 PM To: Paul DuBois; [EMAIL PROTE

Replacing text using the Update command?

2003-11-25 Thread Bob Loeffler
Hi all! I would like to update many records in a table called "pictures" where I find a string in the "caption" column. If the string (e.g. "www.bob.com") is found, replace it with another string (e.g. "www.bubba.com"). Unfortunately, there is other text in the caption column of these records, so

RE: Replacing text using the Update command?

2003-11-25 Thread Bob Loeffler
Awesome! It worked perfectly! Thanks Pat and Stephen. Bob -Original Message- From: Patrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 4:20 PM To: Bob Loeffler; [EMAIL PROTECTED] Subject: Re: Replacing text using the Update command? Bob, Try: UPDATE pictures set

RE: table backup

2003-11-27 Thread Bob Loeffler
I think mysqldump does that. It creates a script that contains SQL statements to create the table and then the data to populate the table. Mysqldump has command line parameters, but I don't know which ones you would need to use. Bob -Original Message- From: Zenzo [mailto:[EMAIL PROTECTED