Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

SQL query result shoes value ids instead of value names

$
0
0

Hi All,

Pleaes i need help.

When selecting top 1000 result from a table, it give me a lot of result taht are useful for me. But one column named "subcategory", it give me the Subcategory ID instead of Subcategory NAme

The Subcategory Information are taken from another column that belong to another table (sometimes from another DB) 

I would like to substitue (or somethink similar) the subcategory ID's with Subcagtegory names.

here details:

Date Category Name (CATEGORY) Subcategory ID (ITEM ID)
Date Name of Table 1   belonging to Another DB 1 in Altro DB  Item ID, that is   present in  a Column of Table 1 
Date Name of Table 4   belonging to Another DB 1 in Altro DB  Item ID, that is   present in  a Column of Table 4
Date Name of Table 1   Belonging to Another DB 1 in Altro DB  Item ID, that is   present in  a Column of Table 1 
Date Name of Table 2   Belonging to Another DB 1 in Altro DB  Item ID, that is   present in  a Column of Table 2
 

 

 Can you help me please?

thanks


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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