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 |
|
josephjelasker
Starting Member
1 Post |
Posted - 2010-03-03 : 03:49:03
|
| Can any one of u pls tell me how to get the latest updated column of a table in sql servejelasker |
|
|
ms65g
Constraint Violating Yak Guru
497 Posts |
Posted - 2010-03-03 : 04:17:18
|
| Why do not use OUTPUT clause? |
 |
|
|
vaibhavktiwari83
Aged Yak Warrior
843 Posts |
Posted - 2010-03-03 : 05:58:07
|
| Try this... this might help you...selectt.name, user_seeks ,user_scans ,user_lookups ,user_updates ,last_user_seek ,last_user_scan ,last_user_lookup ,last_user_updatefromsys.dm_db_index_usage_stats i JOINsys.tables t ON (t.object_id = i.object_id)wheret.name like '%dep%' AND database_id = db_id()Vabhav T |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2010-03-03 : 09:14:53
|
quote: Originally posted by josephjelasker Can any one of u pls tell me how to get the latest updated column of a table in sql servejelasker
why do you need this?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|