I am using sql 2000 with VB.NET. I am trying to enforce data integrity by checking the timestamp field before updating records. My questions are:
1. I've created a table with a timestamp field. I've created records from EM and from a program, when I use EM to show the records, the timestamp field says <binary> for all records. I am not sure if values were generated. If not, what do I have to do say in EM so that values are generated for the timestamp field?
2. I can read in values (except the timestamp field) from my table using the sqldatareader but don't know how to tackle the timestamp field? Like what data type to use to receive the timestamp field and what statement to use to convert to that data type.
Thanks in advance.
1. I've created a table with a timestamp field. I've created records from EM and from a program, when I use EM to show the records, the timestamp field says <binary> for all records. I am not sure if values were generated. If not, what do I have to do say in EM so that values are generated for the timestamp field?
2. I can read in values (except the timestamp field) from my table using the sqldatareader but don't know how to tackle the timestamp field? Like what data type to use to receive the timestamp field and what statement to use to convert to that data type.
Thanks in advance.