Open VishalYewale opened 3 years ago
@VishalYewale I don't get what you mean.
I think you can try to convert a list into a string and add it to the database, after that when you go to retrieve the data, convert the string back to list.
valueToInsert = str(["first", "second", "third"]) mycursor.execute(f"INSERT INTO TableName ColumnName VALUES {valueToInsert}")
mycursor.execute("SELECT ColumnName FROM TableName") valueFromTable = mycursor.fetchone()
How to add multiple values in single coloum in table like ddmmyyyy with different variables ??