| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE | TCS | 16 |
| CREATE TABLE [dbo].[HPMS_CompetencyTypes](CompetencyType
varchar(50) )
go
create trigger hpms_create_Insert
on HPMS_CompetencyTypes
for insert
as
if Exists ( select * from [HPMS_CompetencyTypes] where
CompetencyType=(select * from [HPMS_CompetencyTypes]))
begin
Rollback tran
Raiserror ('duplicate value',12,6)
go
insert HPMS_CompetencyTypes (CompetencyType) values ('new')
I'm new to trigger can any one tell me where is the issue.
Please. | | 2 |
| Name three version of sql server 2000 and also their
differences? | | 1 |
| What is row by row processing ? | | 1 |
| About types of indexes in SQL server ? | Cognizent | 1 |
| what is the query and condition to delete datas in sql
server. | | 2 |
| what is the signification difference of this bit data type
between sql 6.5 and later version sql server? | | 1 |
| 1.what is the purpose of using alias name in sql server?
with certain example?
2.what is cursor?will u plz explain me in detail with
certain example? | | 3 |
| What are the advantages of using stored procedures? Please
don't simply say compilation time will be saved as they are
already complied. Please specify some other advantages. | 247Customer | 3 |
| How to work on DTS?what is the main requirement? | ivan | 1 |
| In performance wise distinct is good or group by is good?
eg:select name from emp group by name;
select distinct name from emp; | Infosys | 4 |
| How do you check the performance of a query and how do you
optimize it? | | 1 |
| logshipping is Any difference 2000 and 2005? | | 1 |
| What is difference beteen Migration and Upgrdation? | Satyam | 4 |
| What all db objects can be found in MSDB database of a SQL
Server instance? | Accenture | 1 |
| What is Trigger? | Misys | 2 |
| hi, may i know what is the command to get abstract the
current month, current year and current day from a given
date.i want these three in a isolated way..seperatedly is
that any way in sql server 2000 | | 3 |
| in emptable i want to retrive the name of employee whose
name in 'J'char.exp: arjun,jagadesh,niranjan,anju,aaaj etc. | | 7 |
| Which is best Subquery (or) joins in sql server? explain why | | 2 |
| How can I know what query is executing by by a particural
user? (using sp id or any othe way.) | | 2 |
| |
| For more SQL Server Interview Questions Click Here |