Database MCQS - QUESTION DETAILS

In SQL Server, what is the purpose of the UNPIVOT operator?
A. Combine rows from two or more tables
B. Rotate columns into rows based on values in a specified column
C. Sort the result set
D. Join multiple tables

The UNPIVOT operator is used to rotate columns into rows based on values in a specified column in SQL Server.

Similar Questions

Which Oracle statement is used to remove a user's privileges?






In MySQL, what is the purpose of the COUNT() function with DISTINCT?






In MySQL, what is the purpose of the IFNULL() function?






In MySQL, what is the purpose of the LOAD DATA INFILE statement?






In Oracle, what is the purpose of the INTERSECT operator?






In MySQL, which function is used to concatenate two or more strings?






What does T-SQL stand for in the context of SQL Server?






Which SQL Server data type is used to store a date and time combination?






In Oracle, what is the purpose of the BETWEEN operator?






In SQL Server, what is the purpose of the GROUP BY clause?