| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are the differences between stored procedure and
functions in SQL Server 2000? | TCS | 12 |
| 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 |
| There is a trigger defined for INSERT operations on a
table, in an OLTP system. The trigger is written to
instantiate a COM object and pass the newly insterted rows
to it for some custom processing. What do you think of this
implementation? Can this be implemented better?
| HCL | 1 |
| what is the difference between Delete and Truncate | Geo-Research-Centre | 3 |
| What is deadlock and how to avoid the deadlocks. | Wipro | 3 |
| what is hash table | Teledata | 2 |
| what is the order of execution of where,having,group by in
select stement | Tanla-Solutions | 5 |
| Hi Can any one tell me the Good institute to learn SQL esp
for Data Base Testing or SQL from scratch to the
proficiency level in Hyederabad and facult also. Thankyou
well in advance | | 6 |
| How do I list the available tables in a database I'm
querying? | | 3 |
| Assume,there are three tables in a database, Can i have
both primary key and foreign key for each table in the same
database? | | 4 |
| What is a transaction and what are ACID properties? | IBM | 4 |
| What is blocking and how would you troubleshoot it? | HCL | 2 |
| Which is the subset of SQL commands used to manipulate
Oracle Database structures, including tables? | | 2 |
| how to get 25th row in any table in sqlserver can u tell me
syntax | | 4 |
| how can i store resumes in database? | HCL | 2 |
| What is the use of DBCC commands? | | 1 |
| how to find out the repeated value from table using groupby
function? | | 3 |
| What are the two virtual tables SQL Server maintains for
triggers? | | 2 |
| How to Run a Query on a Remote SQL Server? | | 2 |
| How to Display, Amount of Disk Activity Generated by
Transact-SQL Statements?
| | 1 |
| |
| For more SQL Server Interview Questions Click Here |