Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

Joining Lookups - capitals & small letters

$
0
0

Hi,

Find below a sample data from the lookup table

CODE DESC

SCE - SalesCallElectric SCe - SalesCallTech - Electric SCF - SalesCallFluidPower SCf - SalesCallTech - FluidPower

And then the main table [SalesCall] has got reference to these lookup values. What should I use while joining the [SalesCall] and [Lookup] table on [CODE] column which picks the right [Desc] value i.e. it can identify the difference between lookup codes ending with capitals and those ending with small alphabets ? At present its getting confused between small & capital alphabtes...

Hopefully my question makes sense :)

Thanks in advance !!


Viewing all articles
Browse latest Browse all 12890

Trending Articles



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