Re: how to previous verions of records?
From: Uri Dimant (urid_at_iscar.co.il)
Date: 10/28/04
- Next message: shank: "field DataTypes"
- Previous message: Kenneth P: "Writing record content into somename.sql"
- In reply to: mekim: "how to previous verions of records?"
- Next in thread: Raymond D'Anjou \(raydan\): "Re: how to previous verions of records?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 16:21:28 +0200
mekim
Perhaps you need to add a column with DEFAULT GETDATE()
"mekim" <mekim@discussions.microsoft.com> wrote in message
news:DEC8C81B-3EB0-49EA-931B-A6C0DABAB2A5@microsoft.com...
> Hi...does SQL do something like this automatcially?
>
> If I have a record...and I want to track the version of the record each
time
> there is a change to it can sql do that instead of having to do what I do
> below?...which is creating a new record on each save
>
> i.e.
> primaryid = 1001
> DetailRecordId = 300
> VerionNumber = 1
> Firstname = mekim1
>
> then when a change happens I create a new record
>
> primaryid = 1002
> DetailRecordId = 300
> VerionNumber = 2
> Firstname = mekim2
>
> and then when u try to get the record u have to
> do something like "Select * From Table Where Max(Version)"
>
> Regards,
> mekim
>
- Next message: shank: "field DataTypes"
- Previous message: Kenneth P: "Writing record content into somename.sql"
- In reply to: mekim: "how to previous verions of records?"
- Next in thread: Raymond D'Anjou \(raydan\): "Re: how to previous verions of records?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|