Selected tasks database table
From TaskDepender
Line 20: | Line 20: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | === Add a task === |
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
Line 26: | Line 26: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === Delete | + | === Delete a task === |
− | === | + | <syntaxhighlight lang="sql"> |
+ | DELETE FROM SelectedTasks WHERE Id=%d | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | === Clear table === | ||
+ | |||
+ | <syntaxhighlight lang="sql"> | ||
+ | DELETE FROM SelectedTasks | ||
+ | </syntaxhighlight> | ||
---- | ---- | ||
* [[Database]] | * [[Database]] |