Which of the following are valid commands to use within a function?
A.
UPDATE Table1 SET Column1 = 1
B.
SELECT Column1 FROM Table2 WHERE Column2 = 5
C.
EXEC sp_myproc
D.
INSERT INTO @var VALUES (1)
Which of the following are valid commands to use within a function?
Which of the following are valid commands to use within a function?
A.
UPDATE Table1 SET Column1 = 1
B.
SELECT Column1 FROM Table2 WHERE Column2 = 5
C.
EXEC sp_myproc
D.
INSERT INTO @var VALUES (1)