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
Explain activity monitors
What are the system database in sql server 2005?
How to use union to merge outputs from two queries together in ms sql server?
What is trigger and different types of Triggers?
Can you always create a cache of a report?
What is a view and what are its advantages?
How do I view a stored procedure in sql server query?
How to insert new line characters into strings?
Mention the different types of replication in sql server.
How to list all stored procedures in the current database using ms sql server?
what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration
What are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
What is Service Broker in sql server 2012?
Explain transaction server auto commit?
Explain what are the authentication modes in sql server?