| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the appropriate number of test cases that you can
write on a database? | Microsoft | 1 |
| What are the two types of concurrency? | | 2 |
| How to find the date and time of last updated table? | | 3 |
| what operator performs pattern matching? | | 1 |
| what is the main difference between after trigger and
instead trigger. | | 1 |
| How To Make password Protected SQL Server 2005 Database
i.e when i open SQL Server database then ask for password.
| | 1 |
| There is table like Events...in that name ,startdate
,enddate,location are the column names
write a stored Procedure for this table to get events by
Months "GetEventsByMonths" | | 1 |
| What are the authentication modes in SQL Server? | | 2 |
| What is the difference between constraints and triggers? | Wipro | 6 |
| Table student containing 2 columns,Join date,Employee name.
Under join date 4 rows r ter =1-jan-2008,2-feb-2008,3-mar-
2008,4-feb-2008.Under Employee name 4 difeerent names
jaison,robin,binoy,rahul
Result set is,
Table containing 4-column name=jan,feb,mar,april,,beneath
these months count is given as 1,2,1,0 means these counts
representing number of emplooyees joined in a month(january
1employee,february 2 employee,march 1 employee,april 0
employee)
Can you give me the required sql query | Wipro | 3 |
| what is the output for this query
select * from employee where 1=1; | | 4 |
| How can count the string ?
for ex: If i have string like 'bhaskar' then i need like
b:1
h:1
a:2
s:1
k:1
r:1
please give any idea on that
| TCS | 5 |
| can we call functions from stored procedure in SQL Server
2005 ? How? | | 2 |
| 9. Write a query to list a new column with the
difference in temp of the cities Delhi and Mumbai, Mumbai
and Jammu and soon. Consider the following table :
City_id City Temp.
1 delhi 40
2 Mumbai 35
3 Jammu 32
4 Pune 18
| | 2 |
| What are the new features in SQL Server 2005? | Emphasis | 2 |
| i have 4 tables.. T1, T2, T3, T4..
these tables have the same structure and they store the
information entered in different years..
T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored
2005..
i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and
T4 to T1..
how do i do that? Temp tables cannot be used.. | | 2 |
| What command do we use to rename a db? | | 3 |
| How do I list the available tables in a database I'm
querying? | | 3 |
| can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com | Symphony | 21 |
| What are the types of indexes available with SQL Server? | | 2 |
| |
| For more SQL Server Interview Questions Click Here |