What is The Use Of TIMESTAMP DataType in SQL Server 2005?
Answers were Sorted based on User's Feedback
Answer / deepak rohilla
Timestamp is used typically as a mechanism for version-
stamping table rows.
| Is This Answer Correct ? | 47 Yes | 13 No |
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 |
Answer / samar
can u plz give example ,
how to use this data type
| Is This Answer Correct ? | 19 Yes | 5 No |
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 |
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 |
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 |
how to define testing of network layers? : Sql server database administration
What is a collation?
What happens if an integer is too big for int date type?
How can we rewrite sub-queries into simple select statements or with joins?
How can you see what type of locks used?
How to access the inserted record of an event?
Tell me in brief how sql server enhances scalability of the database system?
what is a default tcp/ip socket assigned for sql server? : Sql server database administration
How do I find the port number for sql server?
How to store and query spatial data?
How do you connect 100 files as a flat file sources in one package of SSIS?
you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)