New answers tagged sql
2
votes
Is this PL/SQL Stored proc optimal?
As mentioned, consider MERGE to handle the conditional INSERT and UPDATE actions. Doing so, ...
3
votes
Querying for vendors and categories
I agree with the points mentioned by J_H. SQL Injection may be arguably the biggest concern, at least in terms of security. Check out The Hitchhiker's Guide to SQL Injection prevention for tips on ...
3
votes
Querying for vendors and categories
consistent defaults
$searchInput='xyz';
Prefer to initialize to the empty string,
for consistency with $searchcat_id.
Repeating
...
Top 50 recent answers are included
Related Tags
sql × 1459sql-server × 460
mysql × 319
performance × 258
t-sql × 204
php × 196
c# × 154
postgresql × 100
database × 97
stackexchange × 73
beginner × 69
python × 63
stored-procedure × 63
java × 49
oracle × 48
join × 45
datetime × 43
pdo × 35
sqlite × 34
asp.net × 32
mysqli × 31
object-oriented × 29
python-3.x × 28
security × 28
vba × 27