| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| I have a website that allows customers to browse and place
orders for certain products.
I have 2 tables; Customers and Orders. The Customers table
holds the customer records and the Orders table
holds the orders placed by the customer. Both tables are
tied based on the field Cust_ID.
Example of the data is shown below:
Cust_ID Cust_Name Cust_ID Product Amount Order_Date
1001 John Tan 1001 P-5211 $120.00 2/13/2006
1002 Michael Wong 1001 K-1428 $88.90 1/11/2006
1003 Mary Cheong 1003 C-0923 $82.50 1/27/2006
1004 Ahmad Suffian 1003 K-1428 $88.90 2/2/2006
Write a single SQL statement that extracts all purchase
records with the following criteria:
1. Customer names starting with “M” only.
2. Orders placed within the current month only.
3. Amount does not exceed $100.00
The list must be sorted by order date with the latest order
showing on top. | Techno-Solutions | 3 |
| What are the two virtual tables SQL Server maintains for
triggers? | | 2 |
| Which virtual table does a trigger use? | TCS | 6 |
| What are Sql Reporting Services and analysis services? Can
u Explain | | 1 |
| What's the difference between a primary key and a unique key? | Wipro | 8 |
| How do you measure the performance of a stored procedure? | Infosys | 1 |
| WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE
RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,... | TVS | 2 |
| what is the output for this query
select * from employee where 1=1; | | 4 |
| What is blocking and how would you troubleshoot it? | HCL | 2 |
| What are primary keys and foreign keys? | | 3 |
| Explain the storage models of OLAP? | | 1 |
| Differences between functions and stored procedures? | 247Customer | 6 |
| What is indexed views?
plz explain with example? | | 1 |
| can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com | Symphony | 21 |
| What is an Index? | Yardi-Software | 3 |
| i need some interview questions on sql server developer plz
any onee send some links. | | 1 |
| select top 5 * from emp order by newid()
my question is , how this query get executed? | | 4 |
| How do you fine the performance tunning? | Accenture | 2 |
| how to copy sysdatabase file from c: Drive to D: Drive in
SQL Server. | IBM | 4 |
| How do you read transaction logs | | 1 |
| |
| For more SQL Server Interview Questions Click Here |