Answer the question
In order to leave comments, you need to log in
How to make a trigger that would filter data by type, one capital, the rest lowercase (Capital)?
Hello. How to make a T-sql or MS SQL trigger to filter data when entering.
an example is "VASYA" => "Vasya", no matter how you enter it, it will always be "Vasya"
Table dbo.Person here are my fields
In mysql I did like this (fields name, lastname, surname).
Answer the question
In order to leave comments, you need to log in
And what for for such trigger?
Normal variant - transformation on insert and update.
The ideal is in the form of a call to a stored procedure that writes preprocessed data.
Well, a moment: there is a famous literary character Jim DiGriz - he really doesn’t like the mockery of his last name)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question