Creating mapping table in SQL -


can create mapping table out of #temp table have created?

i need create mapping table contains 2 different tables, tables not have field in common. however, created temp table case statements , joining table.

now, need create mapping table i'm not sure if can't create mapping table out of temp table.

what should do?

you may want @ creating view instead. allow include case statements in , won't have update mapping table every time data changes.

https://docs.microsoft.com/en-us/sql/t-sql/statements/create-view-transact-sql

if include more information people further.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -