DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
Using a Python dict for a SQL INSERT statement
sql = "INSERT INTO %s (%s) VALUES(%s)" % ( table, ",".join(cols), ",".join(vals))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Using
#Python
#dict
#SQL
#INSERT
#statement
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit