Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Query

$
0
0

Hello guys,

Im looking to see if someone knows aquery that substitute the Identification number from a roll or column with a word of your choosing. for example table "dbo.Customer" has a section where it says CustomerType and SQL defends it with numbers based on another table record so i need it to substitute the number with a word of choosing. I use to know a query for this but its been so many years since the last time i used it..thanks

1=Hight

2=Med

4=Low

CustomerName | Address | Phone Number | CustomerType |

Bob 1234 000-000-0000 1

Carlos 1234 000-000-0000 1

Max 1234 000-000-0000 2

Jorge 1234 000-000-0000 4

Jerry 1234 000-000-0000 4


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>