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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

Which command is use to change server level setting?

Posted By :shankey     Posted Date :July 31, 2011    Points :40   Category :Others 
Command name is "sp_configure"



You can also find related Interview Question to Which command is use to change server level setting?  below: 

Which command is use to change database level settings?

  
"Alter database" command is use to change database level settings? (More...)

Name of the command to view the current amount of free (unallocated) space in the database in SQL Server?

  
Name of command is :sp_spaceused

This command displays the database_size in MB, and it's also shows unallocated space for the database. (More...)

What is the command name to shrink the data file and log file size in SQL server 2005?

  
The command name is : DBCC SHRINKDATABASE (Database Name)

This command will shrink the data file and log file size. With this command you can specify that how much percentage space you want to free.

dbcc shrinkdatabase (TempDAabase,10)


This command will free only 10% space. (More...)

What is the name of command in sql server 2005 which is used to kill any process?

  
The command name is kill.

Syntax is below:

Kill [Process ID] (More...)

How will you set the compatibility level for your Sql Server Database?

  
we can set the compatibility level using the below command

for Sql Server 2000:

EXEC sp_dbcmptlevel databasename, 80;

for Sql Server 2005:

EXEC sp_dbcmptlevel databasename, 90;

for Sql Server 2008:

EXEC sp_dbcmptlevel databasename, 100; (More...)

Which command using Query Analyzer will give you the version of SQL server and operating system?

  
SELECT SERVERPROPERTY ('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition'). (More...)

Which command using Query Analyzer will give you the version of SQL server and operating system?

  
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY
('edition') (More...)

what is the important change in web.config when we can use Allow server Side Code in Pages?

  
For Allow server side scipt / Inline code in server pages, add this below tag In web.config.









(More...)

Database:Which command will give sql server version and OS information?

  

SELECT SERVERPROPERTY('productlevel')
SELECT SERVERPROPERTY('productversion')
SELECT SERVERPROPERTY('edition') (More...)

How to Restore a site backup using Powershell command in SharePoint Server?

  
Use below Powershell script command
Restore-SPSite -Identity http://myserver -Path "c:\backup\file.bak" (More...)

How to change the password of sa login in sql server?

  
Open SQL Server.

Login into sa account using your old password.

Then open your Object Explorer or press f8.

Then expand security section.

After This Expand your login Section. Wher you can see the user "sa".

Right click on sa. Click on Properties.

Then Write your new password in password and confirm password textboxes.

Then Check the CheckBox "Specify Old Password" and Write your old Password.

Then click on OK Button. (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...)

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...)

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