T-SQL's equivalent of Oracle's %TYPE operator? T-SQL's equivalent of Oracle's %TYPE operator? oracle oracle

T-SQL's equivalent of Oracle's %TYPE operator?


The best that you could do would be to create a user-defined data type, then you could change the underlying UDT and it would take effect in both places.

This would affect it everywhere that you use it, so if you used the type in multiple tables it would affect them all if you changed it.