What is The Use Of TIMESTAMP DataType in SQL Server 2005?
Answer Posted / professor r.arjunarao
TimeStamp field to detect update collisions in order to
reduce the amount of data sent to the server
example
CREATE TABLE emp (empno int PRIMARY KEY, tax int, TS timestamp)
GO
INSERT INTO emp (empno, tax) VALUES (1, 0)
GO
INSERT INTO emp (empno, tax) VALUES (2, 0)
GO
select * from emp;
1 0 0x0000000000000FA1<---Unique values
2 0 0x0000000000000FA2<---Unique values
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
Can you move the resources after pausing the node? : sql server database administration
What happens if you are trying to access a schema not owned by you?
What are the fixed server level roles? : sql server security
what are defaults? : Sql server database administration
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
What is the difference between left and right outer join?
What are different types of table joins?
Name 3 ways to get an accurate count of the number of records in a table?
Scalability, Availability, Integration with internet, etc.)?
How can you check the level of fragmentation on a table?
Which autogrowth database setting is good?
Can primary key be a foreign key?
Should you normalize audio?
Explain about local stored procedure?
How to create a trigger for insert only?