here’s my example
create table test1 (data_1 INT);
insert into test1 values (‘data is more than 1 character’);
it inserts a 0 and does not give me a datatype mismatch error
How do I catch this??
create table test2 (data_1 VARCHAR(1));
insert into test2 values (‘data is more than 1 character’);
it inserts a ‘d’ and truncates rest but no error at all
How do I catch this??