Re: Search and replace

2002-05-30 Thread Bryan McCloskey
Hello all, I am trying to change part of a field across several hundred rows, and am having difficulties. Here's the setup: I have rows with field values of "Rodregues0001" through "Rodregues0214". What I wish to do is change the "Rodregues" to "TampaBay" while leaving the number intact. Is ther

RE: re-ordering rows

2002-02-14 Thread Bryan McCloskey
You're right, it's not important how the data is stored inside the database. I was just hoping that there would be a way to set a default order so that I wouldn't have to write a cumbersome ORDER BY phrase every time I wanted to see the data. I thought that perhaps indexes could accomplish this, s

re-ordering rows

2002-02-14 Thread Bryan McCloskey
Greetings, How do I get the rows in a table to be in a different order? I know I can sort a SELECT statement with an ORDER BY clause, but how do I make this a permanent adjustment to the table, so that all future SELECTs will produce ordered data? How does MySQL know what orders the rows are in (

copying databases

2002-01-15 Thread Bryan McCloskey
I am attempting to make a copy of my database, so that I will have one copy that my scripts in development can tinker with, while the functional version remains safe and unchanged. However, I am having difficulty figuring out how to do this. All that is important is that I create a copy of the