Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



SQL Server Interview Questions
Questions Answers Views Company eMail

Syntax to find the used space and free space of the Data file in a database(SQL Server). Following queries didn't give the exact Used space and Free Space Information sp_spaceused;DBCC showfilestats;exec MyDbName.dbo.sp_spaceused;SP_HELPFILE Can any one tell me the query for how to find the exact used data file space and free space in a Data File?

Cognizant,

2 7856

How to generate the Reports for the Database? I need an Example for it.Will we manually do this or else any script is there? Please let me know ASAP...

Cognizant,

1 4018

When we are using this query to shrink the log file,what exactly it will execute internally? Do we lose any data when we run this script? which data it will truncate in the log file and where it is saved. Please let me know... USE DatabaseName GO DBCC SHRINKFILE(, 1) BACKUP LOG WITH TRUNCATE_ONLY DBCC SHRINKFILE(, 1) GO

Cognizant,

1 4984

one of my database size is 2gb and Unrestricted Growth for Data file up to 10%.But every day after day I am getting Primary Data file is full 99.999 please take appropriate actions.Why it is? Even disk space is also not full,but still I am getting the alerts.

Cognizant,

1 5354

What are the steps you will take to improve performance of a poor performing query?

1 4611

How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?

2 5581

Hi all, I need query help for below senorio, could you please help me. TableName = City CITYID ContinuationID CITYNAME 1 1 SAN 1 2 DIEGO 2 1 SAN 2 2 FRANCISCO 3 1 CHICAGO 4 1 NEW 4 2 YORK 4 3 CITY Could you please help me to write a generalized SQL that returns results as given below in the Query result CITYID NAME1 NAME2 NAME3 NAME4 NAME5 1 SAN DIEGO 2 SAN FRANCISCO 3 CHICAGO 4 NEW YORK CITY

TCS,

5 8941

Does any body please help me what question's have asked for SSRS in the interview?

2148

What is the difference between in and exists. Ex: select * from emp where empno in(....) and select * from emp where empno exists(....) What is the difference between a Join and Union and Union and UnionAll.

ABC, Accenture,

5 11259

How to handle errors in Stored Procedures.

Accenture,

2 8646

what is the difference between procedure and function.

Thomson,

4 8790

Security Question- SQL DBA exparts, need your help...

3 5654

What is Stored Procedure? What is Views in sql server? Difference between a User Defined Function and a Stored Procedure Difference between a primary key and a unique key? What is a join and explain different types of joins. Difference between temp table and table variable Difference between Triggers and Stored Procedures Difference between UNION ALL Statement and UNION What is COALESCE / Why do we use COALESCE? Why we use SET ROWCOUNT in Sql How many clustered index can have a table How many types of local tables in SQL SERVER Difference between DELETE and TRUNCATE What is Aggregate Functions? What is Row_Number()? What are Ranking Functions? What is NOLOCK? What is CTE? What are the Advantages of using CTE? What is the STUFF function and how does it differ from the REPLACE function? What are the difference between clustered and a non-clustered index? What are the different index configurations a table can have? Difference between a HAVING CLAUSE and a WHERE CLAUSE? Difference between SET and SELECT Provide all the built in string function of SQL SERVER Difference between char and varchar data types Define candidate key, alternate key, composite key. What are constraints? Explain different types of constraints. What is a self join? Explain it with an example. How will you convert table row to a column comma separated value

ACS,

4 11951

what is the maximum size of sql row in mssql?

1 5748

There are two tables (T1, T2) with different rows. Find the output of query. Select count(*) from T1,T2.

Amdocs,

3 9193


Un-Answered Questions { SQL Server }

What is catalog views?

1064


How to count duplicated values in a column in ms sql server?

1082


Is it possible to replicate data from sql server to oracle? : sql server replication

1085


If no size is defined while creating the database, what size will the database have?

986


What is normalization? Describe its different types.

1102


what are different types of raid configurations? : Sql server database administration

1054


What is the use of tempdb? What values does it hold?

1069


How to list all objects in a given schema?

1055


What are the system database in sql server 2008?

1028


Explain the use of keyword with encryption. Create a store procedure with encryption?

956


Is there any difference between the primary key and unique key?

999


What are distributed partitioned views?

1063


What is 1nf 2nf?

1005


You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?

121


What are the lambda triggers?

899