Re: After updating dataset the record goes to the end of thedataset
В списке pgsql-sql по дате отправления:
| От | Nacef LABIDI |
|---|---|
| Тема | Re: After updating dataset the record goes to the end of thedataset |
| Дата | |
| Msg-id | f16f7ea00804220600t2ef252e5p9e4f97cffa13b8d0@mail.gmail.com обсуждение |
| Ответ на | After updating dataset the record goes to the end of the dataset ("Nacef LABIDI" <nacef.l@gmail.com>) |
| Ответы |
Re: After updating dataset the record goes to the end of thedataset
|
| Список | pgsql-sql |
Probably what you mean is that you want the order in which the records wereoriginally inserted into the database. In that case add a serial to your table andfetch the records likeSELECT * FROM tbl WHERE 1=1 ORDER BY [myserialfield]It's not foolproof but will in many cases come close to what you seem to be tryingto achieve by not using 'order by'.
Nacef LABIDI wrote:
> Yes I don't issue any sort statement, and I indeed want the data to be show
> as it is stored in the database.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера