How to detect an error in SQL Server 2008 R2

0

It's a question without a script because my doubt is direct.

I need to update a Column whose data is X I want to convert it to Y but when I update it gives me the following error:

Error converting Varchar to real.

so this error occurs in some trigger whose variable is declared as varchar and in the table this is declared as varchar. it turns out that in my table I do not have ANY TRIGGER and I do not know where the error is coming from when updating. My question is Is there a script that helps me check where the variable declaration error is?

    
asked by Juan Carlos Villamizar Alvarez 29.07.2018 в 22:57
source

1 answer

0

Hello, you can use the SQL Server error log from the SQL Server Management

Here it is detailed as: SQL Server error log

    
answered by 30.07.2018 в 04:35