A lookup table contains information for valid values for another tables fields.
For example.
you have a product table which contains all your products and prices.
and
you have a sales details table which contains items should for a particular order.
the sales details may have a "product" field which uses the product table (which also has a "product" field) as a look up.
You can set this link so that SQl server can validate inputs from users and only allow values which appear in the lookup table.
I am not good at explaining but i hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.