[GIS] How to fill the column in attribute table with same values in QGIS

attribute-tablefield-calculatorqgis

I have about 19000 records, I added new column and I would like to fill it with string values (eg. brand)- same value for all rows.

I'm not considering copy/paste. I know I could do it with exporting to .csv or something and edit it excel, but that feels a bit… lame and unmethodical?
So, any smart solutions?

Best Answer

Use the Field Calculator. If your column is empty and it has to be filled with the string "mystring" you need to select all the rows of your attribute table and than use the replace function:

replace( 'NULL','NULL','mystring' )