i have an assignment that i have to do in SQL Server Manager.
I have a database, and a table named User
. Under user there are a column named e-mail
.
The assignment is to create a new constraint to that table that affect the column e-mail.
There has to be only one '@
' and minimum one '.
'
It is not allowed to be any special characters such as ( !
, "
, #
, ¤
, %
, etc.) <- this do not include the '@' and '.'
I've tried some different things but cant seem to make it work. Also it should be noticed that I am a beginner.
Thanks for your help
See Question&Answers more detail:os