Table1 contains ServerName and a list of applications (from Application01 to Application20) installed on the server.
Now I need to import data from Table1 to Table2. The final Table2 should look as following:
How can I do this with a Stored Procedure?
Best Answer
If you're feeling adventurous, give
UNPIVOT
a try: