I get this error when running the following code. What am I doing wrong? I want to add multiple values to the Column Code1. Column Code2 needs to be empty for now.
CREATE TABLE #Temp2
(Code1 VARCHAR(30), Code2 VARCHAR(30))
INSERT INTO tempdb.dbo.#Temp2
(Code1)
VALUES ('123') ,('234');
The following error I am getting:
Msg 103010, Level 16, State 1, Line 1
Parse error at line: 6, column: 16: Incorrect syntax near ','.