I am new to PostgreSQL. I am working with a table in which there was no maximum length (number of characters) entered in the "title" column. The application should be less than 1000 characters, but some fields are located at 1200, 1300, etc.
I am very familiar with mySql, but it is harder for me to type PostgreSQL.
If it was mySql, I would like something like:
UPDATE TABLE entries SET title = LEFT(title,1000)
How can I do the same with PostgreSQL?
I have phppgadmin and the commmand line at my disposal.
source share