Question: Which of the following are T-SQL ranking functions that can be used for ranking data
- ROW_NUMBER
- DENSE_RANK
- RANK
- NTILE
- All of the above.
Correct Answer: 5
Question: Which of the following options can be used for viewing lock status within your computer running SQL Server?
- We can use SQL Profiler to capture lock and blocking information.
- We can use the System Monitor that is part of the performance console to capture statistics on lock wait times, locks per second, and so on.
- We can use the Activity Monitor in SSMS to see information on blocking processes.
- We can use the sys.dm_tran_locks dynamic management view to gather information on locks being held by transactions.
- All of the above.
Correct Answer: 5
Question: Which of the following is true?
- BUILT-IN functions in SQL Server are Nondeterministic.
- ISNULL function in SQL Server is Deterministic.
- All of the above.
- None of the above.
Correct Answer: 3
Question: What is the default join type used when only the keyword JOIN is specified?
- LEFT OUTER JOIN
- RIGHT OUTER JOIN
- SELF JOIN
- INNER JOIN
Correct Answer: 4
Question: Which of the following is correct?
- The DELETE statement logs information on each row deleted.
- The TRUNCATE TABLE statement logs information on each row deleted.
- The TRUNCATE TABLE statement executes fast and requires fewer resources on the server.
- All of the above.
- Only 1 and 3.
Correct Answer: 5
Question: Assuming UserProfile is a table containing a column Profession which accepts NULL value. What is the result of the below query.
SET ANSI_NULLS ON SELECT Profession FROM UserProfile WHERE (Profession NULL)
- Returns records which has values in profession column
- Gives an error.
- Does not retrieve any records even if profession column contains values.
- None of the above.
Correct Answer: 3
Question: Which of the following are new SQLSERVER 2008 date functions ?
- SYSDATETIME
- SYSDATETIMEOFFSET
- SYSUTCDATETIME
- All of the above.
Correct Answer: 1