Question
DECLARE @techonthenet VARCHAR(50);
a.
SET @techonthenet = ‘Example showing how to declare variable’;
b.
SELECT @techonthenet = ‘Example showing how to declare variable’;
c.
SET @techonthenet == ‘Example showing how to declare variable’;
d.
None of the mentioned
Posted under SQL Server
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Value of the @techonthenet variable can be changed using the SET statement, as follows __________
Similar Questions
Discover Related MCQs
Q. _________ gives amount of time, in ticks, that SQL Server has been idle since it was last started.
View solution
Q. @@LANGUAGE variable whose return type nvarchar is specified in _____________
View solution
Q. Life cycle of typical cursor involves ______ steps in SQL Server.
View solution
Q. Point out the correct statement.
View solution
Q. How many type of cursor is present in SQL Server?
View solution
Q. Various alternatives to cursor in SQL Server are ___________
View solution
Q. Point out the wrong statement.
View solution
Q. A dynamic cursor in SQL Server allows you to see __________ data.
View solution
Q. Which of the cursors further have their subtypes?
View solution
Q. Which of the following FORWARD ONLY Cursor is populated at the time of creation?
View solution
Q. ____________ cursor is sensitive to any changes to the data source.
View solution
Q. SQL Server static cursors are always ___________
View solution
Q. Which of the following blocks are used for error handling in SQL Server?
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following statements can be checked for Errors?
View solution
Q. Purpose of TRY…CATCH block in SQL Server is ___________
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following benefit does Exception handling with the TRY and CATCH blocks provide?
View solution
Q. Exception handling is possible in SQL Server using _____________
View solution
Q. Which of the following is an Error function used within CATCH block?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!