warn against data truncation
I would be nice if SQL-prompt could warn against posible data truncation.
Like assigning a int value to a tinyint field/variable or assigning a varchar(30) to a varchar(3).
I want it both at an global analysis (like find invalid objects) and in the current scrip edit (while modifying a trigger / procedure / function).
13
votes
Benny Bech
shared this idea
-
Anonymous commented
since we have now a warning against UPDATE / DELETE without WHERE it would be the perfect time to add a check against TRUNCATE too