Re: update query for multiple changes to a single field
- From: Jason Lepack <jlepack@xxxxxxxxx>
- Date: Fri, 06 Jul 2007 12:57:28 -0700
Sorry, this is Ms Access, it should be:
update
service_calls
set
call_type = [call_type] & iif(len([call_type])=2,"01","001")
On Jul 6, 3:42 pm, Rick <R...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
hi all,
i have a access table, service_calls, which has a filed named call_type.
the call_type filed will have a 1 or 2 character code for each record in the
table.
i am looking for help to create an update query which will allow me to
change the values in the call_type column with a single pass.
example: the call type field will contain the following codes:
D, X, SH, K, 4, I, 3, PM, EM, L
i want to do a single pass update that will change the codes to :
D001, X001, SH01, K001, 4001, I001, 3001, PM01, EM01, L001
i know i can just change the criteria in the grid for each code and run the
query multiple times, but with approximated 100 codes to change that could
get boring.
i need to update about 172k records.
as always, any help will be greatly appreciated.
.
- Prev by Date: Re: update query for multiple changes to a single field
- Next by Date: Re: SQL Syntax Error
- Previous by thread: Re: update query for multiple changes to a single field
- Next by thread: Re: update query for multiple changes to a single field
- Index(es):
Relevant Pages
|
Loading