update meta data
This commit is contained in:
parent
f3a896c724
commit
90e15ed6ce
3307 changed files with 1674 additions and 7 deletions
7
Task/Parametrized-SQL-statement/00DESCRIPTION
Normal file
7
Task/Parametrized-SQL-statement/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Parameterized SQL statements are an easy way to avoid [[wp:SQL injection|SQL injection]] attacks. SQL drivers and libraries will automatically "sanitize" input to parameterized SQL statements to avoid these catastrophic database attacks.
|
||||
|
||||
Using a SQL update statement like this one (spacing is optional):
|
||||
<lang sql>UPDATE players
|
||||
SET name = 'Smith, Steve', score = 42, active = true
|
||||
WHERE jerseyNum = 99</lang>
|
||||
show how to make a parameterized SQL statement, set the parameters to the values given above, and execute the statement.
|
||||
Loading…
Add table
Add a link
Reference in a new issue