---
title: "Discussion on \"SQL CHECK Constraint: Prevent Invalid Data with a Practical Example\" | Hashnode"
description: "Discussion on \"SQL CHECK Constraint: Prevent Invalid Data with a Practical Example\". Have you ever wondered how to stop someone from entering a negative salary into an employee table?\n\n\nFor example, an employee's salary should never be less than zero.\nWe can check this in application"
url: "https://hashnode.com/posts/sql-check-constraint-prevent-invalid-data-with-a-practical-example/6b12239b37531e346ac2ef1e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SQL CHECK Constraint: Prevent Invalid Data with a Practical Example](https://sankalandtech.hashnode.dev/sql-check-constraint-prevent-invalid-data-with-a-practical-example?utm_source=hashnode&utm_medium=feed)

Have you ever wondered how to stop someone from entering a negative salary into an employee table? For example, an employee's salary should never be less than zero. We can check this in application

18h ago · 4 min read · sankalandtech.hashnode.dev  
Read the article

## Written by

[Kailas Warade](https://hashnode.com/@sankalandtech)

@sankalandtech

  
[View profile](https://hashnode.com/@sankalandtech)

Programming and Data Analytics Simplified For Everyone

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
