Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Last active April 14, 2020 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/1a538b015c931b27202dd027d1d8697e to your computer and use it in GitHub Desktop.
Save aniruddha27/1a538b015c931b27202dd027d1d8697e to your computer and use it in GitHub Desktop.
# Execute multiple commands at once
cur.executescript('''Insert Into CUSTOMER Values
(1005, 3, 'Clark Kent', 'Male', 36, 'Metropolis');
Insert Into CUSTOMER Values
(1003, 4, 'Bruce Wayne', 'Male', 39, 'Gotham City');
''')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment