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
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
What are cursors in ms sql server?
Is sql server difficult to learn?
What is 'Join' and explain its various types.
What programming language would you use to create embedded functions in ssrs?
Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?
What is report snapshot?
What is a trace frag?
What are the differences between web role and worker role?
What is a transact-sql statement batch in ms sql server?
How to use wildcard characters in like operations in ms sql server?
Explain about integration services of Microsoft SQL server?
Explain trigger classes i.e. Instead of and after trigger?
How to recreate an existing index in ms sql server?
Why do we use stored procedures in sql server?