kumari


{ City }
< Country > india
* Profession *
User No # 23107
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 115
Users Marked my Answers as Wrong # 41
Questions / { kumari }
Questions Answers Category Views Company eMail




Answers / { kumari }

Question { IBM, 16720 }

a query to select maxmun 3 salaries of employee table


Answer

SELECT TOP (3)with ties empsalry
FROM empsalr

order by empsalry desc;

Is This Answer Correct ?    1 Yes 4 No

Question { Infosys, 62287 }

HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE


Answer

SELECT TOP (3)with ties empsalry
FROM empsalr

order by empsalry desc;

Is This Answer Correct ?    1 Yes 4 No


Question { IBM, 79714 }

what is Constraint? How many types of constraints in SQL ?


Answer

Constraint are the rules enforced on data columns on table

types of constraints:

PRIMARYKEY
FOREIGN KEY
NOT NULL
UNIQUE KEY
CHECK
DEFAULT
Check

Is This Answer Correct ?    111 Yes 33 No

Question { 5174 }

Differnce between sel server 2000 and 2005


Answer

1)sqlserver 2000 contain query analyzer and enterprise
manger as a seperate tools but sqlserver 2005 contains a
single management studio(query analyzer + enterprise
manger).

2)sql 2005 contain CLR Integration

3)sql 2005 contain sqlserver business intelegent management
studio for dedugging sp's.

4)CLR stored procedures

5) SQL 2005 integrates very well with Visual Studio and dot
net as well.
6)One of the new features of security is that it can be
applied in a way
you want. Its quite flexible but it can get quite confusing
if you are
not sure of what you want to do. Users and groups can be
controlled
quite extensibly with the new security features.

7) The DTS of SQL 2000 has been replaced with SSIS (Sql
Server Integrated
Services) - Its an advanced version of dts but can do more
than dts. You
can manipulate all your data, within each SQL task and
theres a whole
list to it. Each field or column of data retrieved for the
purpose of
transfer can be manipulated in a variety of ways, and using
just what
you require for the final extract or transfer

Is This Answer Correct ?    2 Yes 0 No