Can you explain the use of sys.sp_addextendedproperty in the following code?

Solution 1:

It looks like you used the GUI designer to create the view. In order to save the graphical layout of your tables in the designer, it's storing this metadata as an extended property. It doesn't affect how the view is actually processed. It's just so that you can run the designer again and have it look the way you left it.