|
|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册
x
今天Interview一个 SQL Developer
题目如下
T-SQL:
1. You are deisging a query, how to measure the performance of the query, how do you know the performance is good or bad?
2. What is the different between UNION and UNION ALL ?
3. What is CTE (Common table expression)
4. What is Apply
5. What is Over() :
EmployeeID, Order_ID, ProductID, Quantity
E01 Order2345 P01 10
E01 Order4344 P01 11
E01 Order5632 P02 10
E01 Order5355 P03 10
E01 Order6541 P01 10
E02 Order6541 P02 13
Use "Over()" How to get the result set like:
E01 P01 31
E01 P02 10
E01 P03 10
E02 P02 13
6. Continue with question 5,
With the query result, how to get different layout like
P01 P02 P03
E01 31 10 10
E02 0 13 0
------------------------------------------------------------------------------------------
Reporting Service
1. You have created a report which runs a Stored Procedure to retrieve data. There are more than 50 users will use this report occasionally - You don't know when/who.
This stored procedure consumes a lot of CPU and memory. To improve the performance, you decided in any 2 hours of period, only once will hit the stored procedure. How to achieve this?
2. How to automatically send a report to a group of users?
3. With reporting service, what kinds of formats can export?
------------------------------------------------------------------------------------------
Integration Service
1. Do you have any experience of Integration service? If yes, please describe details.
2. When we deploy a package, what kinds of location types we can choose ( Two locations)
3. We have some DTS packages developed in SQL Server2000. Can we still use them in SQL 2005?
[ 本帖最后由 goldensun 于 13-10-2009 22:05 编辑 ] |
|