Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-05-20 : 07:25:25
|
| Alik writes "How do I get the timestamp in SQL insert and update commands ?Thanks." |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-05-20 : 07:43:37
|
| do you mean the ansi timestamp or sql server timestamp.if ansi then just add a timestamp column to the table and it will be automatically updated.If the ansi then you need a datetime column and to update it on inserts/updates - perhaps in a trigger.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|