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
Post a Comment