| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records | | 16 |
| What are three SQL keywords used to change or set someone?s
permissions? | | 3 |
| WHY CAN WE CREATE ONLY ONE CLUSTERED INDEX ON A TABLE IN
SQL SERVER? | | 6 |
| 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 is SQL server agent? | SAP-Labs | 2 |
| Say if we have a table that contains only a single column ,
say OrderID, which has IDENTITY attribute defined on it. So
how can we insert data in this table.
I am reframing my question, that how can we make the table
to increment the column "OrderID" value several times??? | | 3 |
| what are default? Is there a column to which a default cant be
bound? | | 1 |
| Accidentally i deleted my table. How can i get that table? | | 4 |
| What is a NOLOCK? | | 3 |
| 1.what is stored procedure?Its significance with example?
2.Explain about index with syntax and example?
plz do reply......... | | 1 |
| What is the purpose of UPDATE STATISTICS? | | 1 |
| 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 |
| Which is best Subquery (or) joins in sql server? explain why | | 2 |
| what is the cursor life span? | Evalueserve | 5 |
| how to rename the table | | 3 |
| Which institute is best for SQL Server 2005 Training? | | 5 |
| 1.How to check the backup file details if we do not have
access to that folder
2.how to check the backup file size without connecting to
the folder
| IBM | 1 |
| What is blocking and how would you troubleshoot it? | HCL | 2 |
| Is it possible to have more then one foreign key in a
single table? if possible, is this the good way to design
the table? | | 2 |
| What is difference between Triggers and store procedure? | | 2 |
| |
| For more SQL Server Interview Questions Click Here |