Nitish
Nitish

Reputation: 14123

Insert same value in all elements of field in a SQLite query

I have some 750 rows in my sqlite table. I am adding a new field localPath into it. I have to insert the same string default in the field as value. How to insert this value for 750 rows?

Upvotes: 1

Views: 135

Answers (1)

deed02392
deed02392

Reputation: 5022

It should be as simple as:

UPDATE table SET localPath = 'default'

Upvotes: 3

Related Questions