forevertechie
Programmer
I'm currently designing a SQL Server 2000 database for a small DIY application with plans to provide features such as concurrency data management built into it. I'm relatively new to SQL Server 2000 and was wondering which might be the best way to prevent concurrency issues (when the DB scales up!)
Currently, I've added a timestamp column to all the tables alongwith a DateLastUpdate column that will be updated using the insert, update and delete triggers. In SQL 6.5 days, I used the timestamp column to prevent concurrency issues on the database. But in SQL 2000, I find these 3 options:
a) Timestamp datatype
b) RowVersion
c) Datetime (updated thru triggers)
Any information on the need and purpose of the timestamp column and rowversion is highly appreciated. (NOTE:My BOL search did not give me an indepth information on this topic)
Thanks,
- Forevertechie
Currently, I've added a timestamp column to all the tables alongwith a DateLastUpdate column that will be updated using the insert, update and delete triggers. In SQL 6.5 days, I used the timestamp column to prevent concurrency issues on the database. But in SQL 2000, I find these 3 options:
a) Timestamp datatype
b) RowVersion
c) Datetime (updated thru triggers)
Any information on the need and purpose of the timestamp column and rowversion is highly appreciated. (NOTE:My BOL search did not give me an indepth information on this topic)
Thanks,
- Forevertechie