Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Switch/Select Case
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

7 Posts

Posted - 10/15/2012 :  08:54:28  Show Profile  Reply with Quote

I have a query with the following fields. (SQL view from Mircosoft Access)

SELECT tblGIUSA.Company, tblGIUSA.FirstName, tblGIUSA.Surname, tblGIUSA.EducationalLevel

What will the SQL code be if I would like to change e.g:

- The values in Field Company to 25 = "North America", 50 = "South America"
- The text in field EducationLevel to "Bachelor degree" = "low education" and "Master degree" = "High education"

Thanks for all help.

Br Bertrand

Flowing Fount of Yak Knowledge

8781 Posts

Posted - 10/15/2012 :  09:23:32  Show Profile  Visit webfred's Homepage  Reply with Quote
Do you want T-SQL or some Stuff for MS Access?

Too old to Rock'n'Roll too young to die.
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 10/15/2012 :  10:34:50  Show Profile  Reply with Quote
do you've a mapping table containing the values to be replaced against lookup values?

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000