Sql Server Interview Questions and Answers (1758) - Page 81

What is LAG function in DENALI?

NOTE: This is objective type question, Please click question title for correct answer.
What is true about the First_Value function in DENALI?

NOTE: This is objective type question, Please click question title for correct answer.
Explain the syntax First_Value(expression [IGNORE NULLS]) Over( [ Partition_By_clause] order by clause [rows_range_clause])

Expression => A table column or built-in function but not analytical functions.

Rows_range_clause => It helps to further limit the effect of analytical function.

If the first value in the set is null, then the function returns null until we specify IGNORE NULLS.

However, if we specify IGNORE NULLS,then First_Value function returns the first non-nullable value else it returns all null values.
What is First_Value function in DENALI?

NOTE: This is objective type question, Please click question title for correct answer.
What is Last_Value function?

NOTE: This is objective type question, Please click question title for correct answer.
What is/are true about the Last_Value function in DENALI?

NOTE: This is objective type question, Please click question title for correct answer.
What is Percent_Rank function?

NOTE: This is objective type question, Please click question title for correct answer.
What is the formula upon which the Percent_Rank function works?

NOTE: This is objective type question, Please click question title for correct answer.
What is the range of values return by Percent_Rank function?

NOTE: This is objective type question, Please click question title for correct answer.
What is Cume_Dist function?

NOTE: This is objective type question, Please click question title for correct answer.
What is the formula for Cume_Dist function?

NOTE: This is objective type question, Please click question title for correct answer.
Suppose we have a set with 35 elements. We need to find the cumulative distribution of the 17th row. What will be the value?

NOTE: This is objective type question, Please click question title for correct answer.
What is true about Percentile_Cont function?

NOTE: This is objective type question, Please click question title for correct answer.
What will be the output of SELECT PARSENAME('Dotnet.Funda.nice.forum',4)

NOTE: This is objective type question, Please click question title for correct answer.
What will be the output of SELECT PARSENAME('Dotnet.Funda.nice.forum',3)

NOTE: This is objective type question, Please click question title for correct answer.
What will be the output of SELECT PARSENAME('Dotnet.Funda.nice.forum',2)

NOTE: This is objective type question, Please click question title for correct answer.
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories