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
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
Describe in brief system database.
How do I change my passwords (database, LDAP, and so on) without causing an outage?
What is local temp table?
What's the information that can be stored inside a bit column?
What are joins in sql and what are the different types of joins?
Explain how you can configure a running aggregate in SSRS?
What is it unwise to create wide clustered index keys?
What is an example of a primary key?
Explain the stored procedure?
How many servers can we create in a single subscription?
Where are stored procedures in sql server?
How to create a simple user defined function in ms sql server?
Are null values the same as that of zero or a blank space?
How to Insert multiple rows with a single insert statement?