select no param

This commit is contained in:
Bartal Læarsson
2026-02-16 13:55:15 +00:00
parent e9e1e99a97
commit 79a39212d7
3 changed files with 67 additions and 0 deletions
+10
View File
@@ -13,3 +13,13 @@ on windows search for odbc data sources.
go to the menu point drivers.
There should odbc driver 17 for mssql server or something like that
## common pitfalls
always close connections
use with statement (preferred) or try -> finally
sql injections
use parameterized queries
poor exception handling
log errors, use finally blocks, use tx, use AD