© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
9 replies
Mauricio

Error handling through SQL or C#.

How common is it to handle errors and enforce constraints through SQL, with transactions and stored procedures, instead of with C# code?

What is the best practice?
Is there any performance gain or loss by choosing one over the other?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ SQL C# error
C#CC# / help
7mo ago
✅ Error handling in C#
C#CC# / help
13mo ago
data update error in c# sql
C#CC# / help
2y ago
Exception Handling in C#
C#CC# / help
13mo ago