Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql insert multiple rows

INSERT INTO My_Table (FirstName, LastName)
VALUES
    ('Fred', 'Smith'),
    ('John', 'Smith'),
    ('Michael', 'Smith'),
    ('Robert', 'Smith');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #insert #multiple #rows
ADD COMMENT
Topic
Name
5+1 =