Professional Documents
Culture Documents
L&t:
1.
2.
3.
4.
5.
6.
Execution tree
Cursors
Diffrence between logical joins and normal joins
Scenario for joins
SCOPE_IDENTITY & @@IDENTITY
cte and temp table
TCS:
1. what is SET NOCOUNT?
Ans:
Whenever we write any procedure and execute it a message appears in message wind
ow that shows number of rows affected with the statement written in the procedur
e.
But this message creates an extra overhead on the network. By using SET NOCOUNT
we can remove this extra overhead from the network, that can actually improve th
e performance of our database and our application.
When SET NOCOUNT is ON, the count is not returned. When SET NOCOUNT is OFF, the
count is returned.
Example:
SELECT * FROM [STUDENTDB].[STUDENT];
Messege:
(664 row(s) affected)
------------------------------------SET NOCOUNT ON
SELECT * FROM [STUDENTDB].[STUDENT];
SET NOCOUNT OFF
Messege:
Command(s) completed successfully.
SET NOCOUNT NO statement can be useful in store procedures. SET NOCOUNT ON state
ment into store procedures can reduce network traffic, because client will not r
eceive the message indicating the number of rows affected by T-SQL statement. Se
tting SET NOCOUNT to ON can provide a significant performance boost, because net
work traffic is greatly reduced.
The @@ROWCOUNT function is updated even when SET NOCOUNT is ON.
---------------------------------------------------------------------------------------------------------------2. diff between CHAR & VARCHAR?
3. How to pass a variable from parent to child packages? where can we use the va
riables in this scenario?
ans: Using Parent Child Configuration.
we can use the variables in this scenario'Value' property of the child pack
age variable
4. Types of Configurations?
5. How to call a stored procedure with output parameter?
6. when to use the parameters with "@.." and "?" ?
7. what are the types of connection managers?
8. what is the difference between OLEDB and SQL server?
9. what is @@identity?
10. can we send html in send mail task?
NUWARE SYSTEMS:
---------------1. ACID Properties.what are the Isolation levels is SQL server?
Atomicity
Consistency
Isolation
Durability
Isolation levels:
Read committed
Read committed Snapshot
Read uncommitted
Repeatable read
Serializable
2. difference between Function and Procedure?
3. Difference between Clustered and non-clustered indexes?
4. Performance tuning in stored Procedure.
5. what are the types of triggers?
6. How to know the stored procedure execution status in execution plan?
7. ResultSets in Execute SQL task?
Ans: None, Single row, Full resultset, XML
8. Types of Log Providers.
9. Types of Configurations.
10. Check points.
11. For each loop containers.
12. Cache methods in Lookup.
13. how do we handle errors in SSIS?
14. Difference between Star schema and Snow flake schema?
15. what are the 5 relationships in cube?
ASPIRE SYSTEMS?
1. difference between varchar and nvarchar?
2. data type for images?
3. system databases?
4. msdb and tempdb databases properties?
5. performance tuning in Stored Proc?
6. triggers types?
7. how to declare no. of rows effected in stored Proc?
Ans: @@ROWCOUNT
8. difference between function and procedure?
9. how to call a function?
10. types of joins?
11. Is it possible to execute a package created in 32-bit system in 64-bit syste
m and vice versa?
12.
L&T:
1.To select a table as a variable in execute sql task and display full content o
f a table what is the data type of the variable and what is the result set type?
2. How to insert explicitly into an identity column.
3. what is derived column in SQL?
4. what is schema binding?
5. what is lookup component in SQL?
6. which of the following is an SSIS configuration? a. XML, b. Environment varia
ble 3. Registry entry. d. none of the above
7. Merge statement in SQL
8. Configuration types in SSRS?
9."Broker enabled" property for system databases.
10. Is it possible to edit .rdl file in SSRS?
11. Default value for Protection Level of SSIS package?
Ans: EnableSensitivewithzuserKey
12. Break points can be enabled at which level?
a. control flow level b. Packa level c. DFT transformation level
13. Event handlers at which level?
14. Precedence constraint attributes?
15. what is the language to generate reports in SSRS?
a. Visual Basics b. C# c. C++ d. all
16. COALESCE function purpose
17. Max Size of a table in SQL?
18. Max no. of columns in a table
ans: 1024
Columns per UPDATE statement (Wide Tables) -- 4096
Bytes per row
-- 8060
19.SQL server agents can be started only manually?true or false?
20. what is cte?
21. which of the following is not a type of temporary variable?
a. temp b. global c. local
ans: a
22.What is the max number of parameters that can be passed in stored procedure?
Ans: 2100
Max no. of columns in a table ans: 1024
No. of Columns per UPDATE statement (Wide Tables) -- 4096
No. of Bytes to store a row -- 8060
max number of parameters that can be passed in stored procedure: 2100