Большой Воронежский Форум
» Веб-дизайн>How to avoid duplication of the records when I make update!
oleg_ef 22:59 11.02.2004
Does anyone have any clear idea of how can the following be achieved?
I have two databases. The databases are the same. One is on the server and the other is on the client machine. Every day I need to back up the data from the client's database to the server's. But inside the tables I want to update only the last record (for the passed day). I do not need to update the records that are there already. ONLY THE LAST RECORD NEEDS TO BE UPDATED.
I suppose that the solution is somewhere in writing a query or asp code.

People, if you have any ideas, please, share them with me!
Thanks [Ответ]
acidovsky 09:39 12.02.2004
oleg_ef Ефа эт ты чтоль?

Ну так и читай только последнюю запись с клиента.
Там же у них есть поле id или еще какой индекс? т.е. они ведь у тебя пронумерованы наверняка.
А как написать запрос чтоб только последняя запись бролась я думаю ты найдеш в документации.
И ты уверен что пользуешся UPDATE а не INSERT ? [Ответ]
oleg_ef 18:11 13.02.2004
Da Kislii!!! Eto ya!
Davai mne na milo pishi [email protected] bisto.

Vo zh blin [Ответ]
Вверх