DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
insert query return id mysql
INSERT INTO table_name (col1, col2,...) VALUES ('val1', 'val2'...); SELECT LAST_INSERT_ID();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#insert
#query
#return
#id
#mysql
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit