Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
Update text column, add/remove text at character index

How can I update a text column, adding and/or removing text in the middle of the string?

Examples

  • Add "abc" to "0123456" at index 3, to make "012abc3456"
  • Remove index 3 to index 5 of "0123456", to make "0126"
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can use overlay for the first:

select overlay('0123456' placing 'abc' from 4 for 0)

And for the second as well:

select overlay('0123456' placing '' from 4 for 3)
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!