Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

python sqlite3 update

# sqlite3 data update 
deleteInput=int(input("enter delete number for id 
"))
name=input("enter your update query")
conn.execute(f"UPDATE CLIENTS SET Client_Name ='{name}' WHERE generated_id = {deleteInput}")
conn.commit()
conn.close()
 
PREVIOUS NEXT
Tagged: #python #update
ADD COMMENT
Topic
Name
7+9 =