Jump to content

How to create a trigger to check if entered data is in correct data type in sql server

i need help to make a trigger to display a error message if someone tries to enter data which is not in correct data type.

Link to comment
Share on other sites

Link to post
Share on other sites

This is a great topic. Would really like to know more about this. If I get something I'll let know.

Link to comment
Share on other sites

Link to post
Share on other sites

if data type is wrong insert should fail. it doesn't bounce back an error message by default?

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×