.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

How can we find the open transactions details in sql server?

Posted By :Virendra Dugar     Posted Date :November 20, 2009    Points :10   Category :Sql Server 
Yes, it is possible.

select * from sysprocesses where open_tran > 0


This query will provide list of all the open transaction details.

You can also find related Interview Question to How can we find the open transactions details in sql server?  below: 

Which system table holds the details of all the processes running on the Microsoft sql server?

  
The name of the system table is sysprocesses .

Select * from sysprocesses


Make sure you run this query in master database. (More...)

What are The Transactions In Sql Server ?

  
BEGIN Transaction

Roll BAck Transaction

Commit Transaction

Save Transaction (More...)

How to find the last restart time and date of sql server?

  
First Check the recent error log
Then Check the creation of TempDb
Click Start and hit Run then type "Net Statistics server" in command prompt.
(More...)

How to find out server name using query

  


SELECT @@SERVERNAME as Server Name


The results look like the following:

Server Name
---------------------------------
Server1 (More...)

how to find the table name in sql server database?

  
select * from INFORMATION_SCHEMA.tables where table_name like 'tblname%' (More...)

how to find column name from sql server table?

  
select * from INFORMATION_SCHEMA.Columns where column_name like 'colname%' (More...)

Where would you find ULS logs on Office Web Apps (OWA) 2013 server?

  

C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS folder (More...)

Database Concurrency in Sql Server.

  
When two or more user try to update same type of data in a table then Database Concurrency helps in this situation.

There are 2 types of Database Concurrency

Pessimistic: When one user try to change the data with pessimistic concurrency then a lock is placed on the data in a table so that another user cannot change data. when one user finishes then other user can able to change.

Optimistic: When two user works on the same data in a table and one change that data first then second user cannot change that same data becasue the which he have using is allready changed so he cannot do the change becasue change apply to another data that is changed by first user. (More...)

What is Assembly manifest? what all details the assembly manifest will contain?

  
Every assembly, whether static or dynamic, contains a collection of data that describes how the elements in the assembly relate to each other. The assembly manifest contains this assembly metadata. An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes. The assembly manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code or in a standalone PE file that contains only assembly manifest information.

It contains Assembly name, Version number, Culture, Strong name information, List of all files in the assembly, Type reference information, Information on referenced assemblies. (More...)

Is it true that COM objects no longer need to be registered on the server?

  
Yes and No. Legacy COM objects still need to be registered on the server before they can be used. COM developed using the new .NET Framework will not need to be registered. Developers will be able to auto-register these objects just by placing them in the 'bin' folder of the application. (More...)

What are server controls?

  
ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend