Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combine Multiple Update Queries

Status
Not open for further replies.

gall3on

Technical User
Joined
Mar 15, 2007
Messages
35
Location
US
I was wondering if there was a way to combine multiple Update queries that affect a singular field. I have to rename several values in 'X' field so I can group it properly.

EG:
'Field X'
A1
A2
A3
B2
B3
B4

Expected update Result table:
'Field X'
A
A
A
B
B
B
 
Code:
UPDATE Table1 SET Table1.data = Left(Table1.data,1);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top