In this blog post, let’s learn about the error message “4984 – ALTER TABLE SWITCH statement failed. Target table ‘%.*ls’ and source table ‘%.*ls’ have different vardecimal storage format values. Use stored procedure sp_tableoption to alter the ‘vardecimal storage format’ option for the tables to make sure that the values are the same.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
4984 – ALTER TABLE SWITCH statement failed. Target table ‘%.*ls’ and source table ‘%.*ls’ have different vardecimal storage format values. Use stored procedure sp_tableoption to alter the ‘vardecimal storage format’ option for the tables to make sure that the values are the same.
Reason for the Error
To be update soon…
Solution
To be update soon…