Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Update problem

Reply
Thread Tools

Update problem

 
 
Poppy
Guest
Posts: n/a
 
      03-04-2004
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 ?



 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      03-04-2004
What kind of database?

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

Ray at work

"Poppy" <> wrote in message
news:...
> 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 ?
>
>
>



 
Reply With Quote
 
 
 
 
Poppy
Guest
Posts: n/a
 
      03-04-2004
Thanks Ray.

Its an access database.

"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:...
> What kind of database?
>
> UPDATE theTable SET fld1='something'+right(fld1,len(fld1)-3)
>
> Ray at work
>
> "Poppy" <> wrote in message
> news:...
> > 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 ?
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update On The Windows Phone 7 Update Update Lawrence D'Oliveiro NZ Computing 2 02-25-2011 08:03 AM
Problem with Instiki update after OCI update Stephan Kämper Ruby 1 07-15-2006 01:41 PM
[BUG?] Update database using stored procedure and OleDbDataAdapter.Update joun ASP .Net 9 11-30-2004 04:57 AM
[Vb.net question] how to apply online update function into program (the effect just like Norton system work live update) chan ASP .Net 1 03-04-2004 02:58 PM
Datalist: update a datasource without using select/edit/update Hartmut Schroth ASP .Net 3 12-01-2003 09:54 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57