How to find the latest updated value in a table without
sending any parameters to that query

Answer Posted / honey

by using scope_identity()

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

563


Can you name a few encryption mechanisms in sql server?

603


How to rebuild indexes with alter index ... Rebuild?

677


What are the purposes and advantages stored procedure?

583


How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?

663






Explain about temporary stored procedure?

609


What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.

2410


How to use subqueries in the from clause in ms sql server?

664


What is temporal table?

566


What is the default order of an order by clause?

678


Why functions are used in sql server?

590


Do you know what is blocking?

635


How to receive returning result from a query?

661


How to delete duplicate records based on single column from a table?

682


How to disable triggers using "disable trigger"?

659