SQL Server Error Msg 8940 – Table error: Object ID %d, index ID %d, partition ID %I64d, alloc unit ID %I64d (type %.*ls), page %S_PGID. Test (%.*ls) failed. Address 0x%x is not aligned.

In this blog post, let’s learn about the error message “8940 – Table error: Object ID %d, index ID %d, partition ID %I64d, alloc unit ID %I64d (type %.*ls), page %S_PGID. Test (%.*ls) failed. Address 0x%x is not aligned.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

8940 – Table error: Object ID %d, index ID %d, partition ID %I64d, alloc unit ID %I64d (type %.*ls), page %S_PGID. Test (%.*ls) failed. Address 0x%x is not aligned.

Reason for the Error

To be update soon…

Solution

To be update soon…