| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Martijn Tonies | Date: | August 16 2007 6:21am |
| Subject: | Re: Recreate Table With Sorted Data | ||
| View as plain text | |||
John, > The solution was CREATE TABLE copyname SELECT * FROM originalname > > I was having problem with a PHP command that's not pulling what I want > from the table Ruling out random order for the rows was narrowing the > focus on the PHP problem. Have you not been reading what everyone said? Tables ARE NOT ORDERED. To get data in a certain order, you need to order your result-set, by doing an ORDER BY on your query. Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle & MS SQL Server Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.com
| Thread | ||
|---|---|---|
| • Recreate Table With Sorted Data | John Kebbel | 15 Aug |
| • Re: Recreate Table With Sorted Data | Wm Mussatto | 15 Aug |
| • Re: Recreate Table With Sorted Data | Martijn Tonies | 15 Aug |
| • Re: Recreate Table With Sorted Data | Dan Nelson | 15 Aug |
| • Re: Recreate Table With Sorted Data | Michael Dykman | 15 Aug |
| • Re: Recreate Table With Sorted Data | Martijn Tonies | 15 Aug |
| • Re: Recreate Table With Sorted Data | John Kebbel | 15 Aug |
| • Re: Recreate Table With Sorted Data | Martijn Tonies | 16 Aug |
| • Re: Recreate Table With Sorted Data | Chris Boget | 16 Aug |
| • Re: Recreate Table With Sorted Data | John Kebbel | 18 Aug |
