How to ALTER the Table Value Parameter

前端 未结 4 1393
南方客
南方客 2020-12-08 10:59

I am not getting option like \'ALTER TO\' when am right clicking on TVP

4条回答
  •  温柔的废话
    2020-12-08 11:16

    1. Drop all the SP's which uses the TVP you want to alter.(Don't Forget to get the backup the of SP's & TVP)
    2. Now Drop the TVP Which you have to alter.
    3. Than Modify the same TVP which you have dropped in step 2 & than Create it Again.(TVP is altered here).
    4. Now Create again all the SP's Which you have dropped in 1st Step. (Your SP's are ready to use with altered TVP).

    You will get back the TVP and All the Sp's which uses the same TVP.

提交回复
热议问题