sql multiple into 1

sql multiple into

SELECT COLUMN1, COLUMN2, COLUMN3 INTO VAR1, VAR2, VAR3
FROM TABLENAME

Here is what the above code is Doing:
1. It’s selecting the first three columns from the table TABLENAME.
2. It’s storing the values of those columns in the variables VAR1, VAR2, and VAR3.

Similar Posts