sqlcheck automatically detects common SQL anti-patterns. Such anti-patterns often slow down queries. Addressing them will, therefore, help accelerate queries. Storing a list of IDs as a VARCHAR/TEXT column can cause performance and data integrity problems. Querying against such a column would require using pattern-matching expressions. It is awkward and costly to join a comma-separated list to matching rows. This will make it harder to validate IDs. Think about what is the greatest number of entries this list must support? Instead of using a multi-valued attribute, consider storing it in a separate table, so that each individual value of that attribute occupies a separate row. Such an intersection table implements a many-to-many relationship between the two referenced tables. This will greatly simplify querying and validating the IDs.

Features

  • Logical Database Design Anti-Patterns
  • Physical Database Design Anti-Patterns
  • Query Anti-Patterns
  • Application Development Anti-Patterns
  • Imprecise Data Type
  • Eliminate Unnecessary DISTINCT Conditions

Project Samples

Project Activity

See All Activity >

Categories

Database

License

Apache License V2.0

Follow SQLCheck

SQLCheck Web Site

Other Useful Business Software
Veeam Data Platform v13.1 - Get Your Free Trial Icon
Veeam Data Platform v13.1 - Get Your Free Trial

Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SQLCheck!

Additional Project Details

Operating Systems

Windows

Programming Language

C++

Related Categories

C++ Database Software

Registered

2022-07-21