How to make a constraint to check if the entered time is in valid form?
Aussie_Here
0
Newbie Poster
Recommended Answers
Jump to PostIf the column is a DateTime then it will raise an error if the value could not be parsed. SQL already has data checking constraints.
All 5 Replies
sknake
1,622
Senior Poster
Featured Poster
Aussie_Here
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
Aussie_Here
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.