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

How to perform LOOKUPS in SQL

$
0
0

Pardon the naive and possibly confusing title.

At the moment, I produce a directory called X. It has 22 fields. Two of which are 'translated" by the website. These two fields are sizeclass and industry code. the others are left alone and transcribed directly. Currently, I upload them as numeric values and the website translates them into a description or title. For intance, size class of 4 equals "10 to 19 employees". For reasons I will leave out, I do not have control over the website

What I am attempting to do is produce this same result in SQL. I want to transform the numeric values of size class and industry code into their values. 


Viewing all articles
Browse latest Browse all 4871

Trending Articles