0 of 15 questions completed
Questions:
The Exam 70-461 exam is intended for SQL Server database administrators, system engineers and developers with two or more years of experience, who are seeking to validate their skills and knowledge in writing queries.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
0 of 15 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
What will be the default output of following T-SQL statement?
SELECT CEILING(16.45);
CEILING() mathematical function returns the smallest integer greater than, or equal to, the specified numeric expression.
What will be the correct output of following T-SQL statement?
CREATE TABLE tbl_Test(Col1 int IDENTITY(1,1) PRIMARY KEY,Col2 varchar(20));
INSERT tbl_Test VALUES (‘Football’),(‘Cricket’),(‘Rugby’);
SELECT @@IDENTITY;
DROP TABLE tbl_Test;
@@IDENTITY is a system function that returns the last-inserted identity value.
Which of the below statements is true about the SQL Server 2012 Index?
Indexes can be created on computed columns.
You need to insert all the records from Table called “Sales” to unindexed backup table called “BK_Sales” using INSERT INTO BK_Sales SELECT * FROM Sales statement . You need to optimize transaction logging and locking for the insert statement. Which table hint should you use to achieve this goal?
TABLOCK specifies that the acquired lock is applied at the table level. When importing data into a heap by using the INSERT INTO SELECT FROM statement, you can enable optimized logging and locking for the statement by specifying the TABLOCK hint for the target table.
Which of the below statements is incorrect about the ROW or PAGE compression in SQL Server 2012?
PAGE compression first compresses by ROW, then by PAGE.
What will be the correct output of following T-SQL statement?
DECLARE @value1 int = 10, @value2 int = 9;
SELECT IIF ( @value1 > @value2,’TRUE’,’FALSE’);
IIF() function returns one of two values, depending on whether the Boolean expression evaluates to true or false
What will be the correct output of following T-SQL statement?
DECLARE @value1 int;
SET @value1 = 100;
SET @value1 -= 5;
SELECT @value1;
-= (Subtract EQUALS) operator subtracts two numbers and sets a value to the result of the operation.
How do you select all the columns from a table named “Employees” where the “First_Name” starts with an “t” or the “Last_Name” ends with an “g”?
Which statement concerning the Tables in SQL Server 2012 below is INCORRECT?
Standard user defined table can have up to 1,024 columns.
You’re planning to modify an existing table called “Manager” in your current database. Which of the following syntax can be used to rebuilds a primary key index called “PK_Manager_ID” on the Manager table?
Which of the following function would you consider using to get the line number at which an error occurred that caused the CATCH block of a TRY CATCH construct?
ERROR_LINE() function returns the line number at which an error occurred that caused the CATCH block of a TRY CATCH construct
Which date and time function can be used to return an integer that represents the year of the specified date?
YEAR() function returns an integer that represents the year of the specified date
What will be the correct output of following T-SQL statement?
DECLARE @expression nvarchar(100) =’ Querying SQL Server 2012′;
SELECT LTRIM(@expression);
LTRIM() function returns a character expression after it removes leading blanks.
Which of the following is the correct output for the following T-SQL statement?
DECLARE @w int = 10, @x int = 20, @y int = 30, @z int = null;
SELECT IIF ( @w <= @x OR @y >= @z, ‘TRUE’, ‘FALSE’ );
OR logical operator combines two conditions. When more than one logical operator is used in a statement, OR operators are evaluated after AND operators. However, you can change the order of evaluation by using parentheses.
Which of the below statements is true about the T-SQL SET STATISTICS XML ON Statement ?
When SET STATISTICS XML ON execute T-SQL statements and generate detailed information about how the statements were executed in the form of a well-defined XML document.