How to find the time taken for rollback of the processed?
Answer / Naz Mehdi
To find the time taken for a rollback in Sybase, you can use the SQL Server's built-in function @@TRANCOUNT and the system function GETDATE(). You would first execute your transaction, then check the value of @@TRANCOUNT to see if there are any open transactions. If there are, you can calculate the time taken for the rollback by subtracting the initial GETDATE() from the final GETDATE() after the rollback.
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you replicate col = col + 1 in sybase?
Explain update statistics.
What is the difference between natural join and equi join?
What is replication server? What is its role in sybase?
When should I execute an sp_recompile in sybase?
Tempdb is full. How would you clear it?
Compare join and subquery in performance?
How do I connect to sybase?
How do I pipe the output of isql to a file in sybase?
How to remove row affected and dashes?
Explain relationship between jdbc and sybase.
Can you create your own sps for system wise?
Oracle (3253)
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)