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
How do I create a stored procedure in dbml?
Write a sql query to sort on different column name according to the parameters passed in the function?
Why it is recommended to avoid referencing a floating point column in the where clause?
How can I tell if sql server is 32 or 64 bit?
Is natural join and equi join same?
What are extended events in sql server?
What is subquery explain with example?
What functions can a view be used to performed?
What is unique key constraint?
What are the types of indexes?
What is the use of group by clause?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
How to connect to a sql server using odbc_connect()?
What is resource governor in sql server?
What is transact-sql language?