What is T-SQL ?

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

Transact-SQL is a language containing the commands that are used to administer instances of SQL Server; to create and manage all objects in an instance of SQL Server; and to insert, retrieve, modify, and delete data in SQL Server tables. Transact-SQL is an extension of the language defined in the SQL standards published by the […]

Read the rest of this entry »

What is OLAP ?

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

Online Analytical Processing (OLAP) is by far the most complex and advanced SQL Server components. Companies are using OLAP more and more as they try to make sense of their tons of accumulated data. OLAP is used in the mysterious field called “data
Analysis,” The standard database table represents a flat matrix; SQL Server 2000 Analysis […]

Read the rest of this entry »

Which are the different services in SQL Server ? How do you manage them ?

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

Replication Service: SQL Server 2000 replication enables sites to maintain multiple copies of data on different computers, in order to improve overall system performance, while ensuring that all the different copies are kept synchronized.
DTS: By using DTS, you can build data warehouses and data marts in SQL Server by importing and transferring data from multiple […]

Read the rest of this entry »

What is the lock types supported in SQL Server ?

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

There could be thousands of concurrent users trying to read or modify the database, sometimes exactly the same data. If not for locking, your database would quickly lose its integrity.
The following basic types of locks are available with SQL Server:
- Shared locks: Enable users to read data but not to make modifications.
- Update locks: Prevent […]

Read the rest of this entry »

How many groups of roles are supported in SQL Server ? Explain them

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

SQL Server uses roles. Two layers of access exist: access to the SQL Server and access to a database object within the server. Each can be configured separately.
There are four database roles, namely:
_ Public— Essentially anyone who has enough rights to connect to the database; the lowest role possible in terms of database permissions.
_ db_owner— […]

Read the rest of this entry »

Explain the Physical Structure of a Database

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

The SQL data is stored in the database. The data is organized into logical components that are visible to user however data is stored as files on hard disk. Each SQL server has four system databases: master, temp, msdb and model and multiple user databases. How many user databases depend from organization to organization?
The fundamental […]

Read the rest of this entry »

What are instances ? Explain each one of them ?

October 28, 2007 · Filed Under MS SQL Server Interview Questions, Placement Questions

There can be multiple instances running in a SQL server. There are two types of instances: default instances and named instances.
A named instance simply means that you define a name for an instance during installation and that you can access the instance using this name. A default instance is the one that is default. There […]

Read the rest of this entry »