cur.execute("INSERT INTO kraken_database VALUES (5555775, 777777)")
cur.execute("INSERT INTO kraken_database VALUES (?, ?)", (5555775, 777777))
Substitution with the pcycopg2 connector:
values = ({'id': 1, 'name':'Vasya', 'age': 45}) cursor.execute("INSERT INTO tableName(id, name, age) VALUES (%(id)s,%(name)s,%(age)s)", values)
Source: https://ru.stackoverflow.com/questions/736157/More articles:(deflate + base64 in C #)You need to go back from the php file to the index.html fileFrom to dropdownPython - How to change the output format in a functionno matching function for call to 'MainWindow :: connect ();PHP - No message is displayed if the password is incorrectBitwise right shift for negative numbersHow does the block diagram with the function call inside the conditionMultiple connected combo box in ribbon formCreating an Oracle ConnectionAll Articles
cur.execute("INSERT INTO kraken_database VALUES (?, ?)", (5555775, 777777))? - gil9red