What is The Use Of TIMESTAMP DataType in SQL Server 2005?

Answers were Sorted based on User's Feedback



What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / deepak rohilla

Timestamp is used typically as a mechanism for version-
stamping table rows.

Is This Answer Correct ?    47 Yes 13 No

What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / 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

What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / samar

can u plz give example ,
how to use this data type

Is This Answer Correct ?    19 Yes 5 No

What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / brindly

"IS A MECHANISM TO TRACK CHANGES IN TABLE.
IT UPDATE ITSELF WHEN THERE IS A UPDATION IN ROW CONTAING
TIMESTAMP COLUMN"

I accept above answer.
But whether the timestamp field updates itselt in a
incremental fashion.

Is This Answer Correct ?    9 Yes 1 No

What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / deepak tripathi niit

IS A MECHANISM TO TRACK CHANGES IN TABLE.
IT UPDATE ITSELF WHEN THERE IS A UPDATION IN ROW CONTAING
TIMESTAMP COLUMN

Is This Answer Correct ?    9 Yes 3 No

What is The Use Of TIMESTAMP DataType in SQL Server 2005? ..

Answer / xavier rajan, photon infotech

time stamp data type is used to automatically generate the
unique number.A database-wide unique number.

Is This Answer Correct ?    19 Yes 34 No

Post New Answer

More SQL Server Interview Questions

What new changes are being made in SQL Server?

0 Answers   Blue Star,


How do I find information about the install locations for the various instances running on a computer?

0 Answers  


What is buffer cash and log cache in sql server?

0 Answers  


What guidelines should be followed to help minimize deadlocks?

0 Answers  


How to Insert multiple rows with a single insert statement?

0 Answers  






What are different types of database indexes?

0 Answers  


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

0 Answers   Amazon,


What is the use of attributehierarchyvisible ? : sql server analysis services, ssas

0 Answers  


How do I create a stored procedure in sql server?

0 Answers  


UPDATE statement can on a single table or on the multiple table?

7 Answers   iGate, TCS,


What are the basic functions for master, msdb, model, tempdb and resource databases?

0 Answers  


What is field in algebra?

0 Answers  


Categories