Update problem

P

Poppy

Performing an update in asp is pretty straightforward but I am not sure how
to do the following and would appreciate a bit of help.

I need to update a field "fld1" by replacing the left 3 characters of "fld1"
with something.

Any ideas ?
 
R

Ray at

What kind of database?

UPDATE theTable SET fld1='something'+right(fld1,len(fld1)-3)

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top