Skip to content

Instantly share code, notes, and snippets.

@Starefossen
Created April 9, 2013 06:44
Show Gist options
  • Save Starefossen/5343490 to your computer and use it in GitHub Desktop.
Save Starefossen/5343490 to your computer and use it in GitHub Desktop.
Appending and prepending strings row during i Postgres.
update myTable set myField=('prepend' || myField || 'append') where myId=1 RETURNING myField
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment