How to ALTER the Table Value Parameter

VInayK picture VInayK · Nov 14, 2009 · Viewed 22.8k times · Source

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

Answer

Peter Radocchia picture Peter Radocchia · Nov 14, 2009

Can't do it. You must drop/recreate. If you have dependencies on the TVP, you must:

  1. create new TVP under new name
  2. alter dependencies to use (1)
  3. drop old TVP
  4. recreate (1) under original name
  5. alter dependencies to use (4)
  6. drop (1)