Hi @Riaz Thara ,
In addition, this error may occur when using nvarchar(8000).
The max length of data type nvarchar is 4000, and we cannot have nvarchar(8000).
If the data possibly exceeding 4000 character, it is recommended to use nvarchar(MAX), which can stored 2^30-1 characters (2 GB).
Please refer to this doc which might help.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.