Tasks database table - TaskDepender

Tasks database table

From TaskDepender
Jump to: navigation, search
(Insert)
(Insert)
Line 108: Line 108:
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
 
INSERT INTO Tasks
 
INSERT INTO Tasks
(Name,Description, Resource, X, Y, ContainerId)
+
(Name,Description, Resource, X, Y, Width, Height, ContainerId)
VALUES (%s, %s, %s, %d, %d, (SELECT Val FROM StateVariables WHERE Name='CurrentContainerId'))
+
VALUES (%s, %s, %s, %d, %d, %d, %d, (SELECT Val FROM StateVariables WHERE Name='CurrentContainerId'))
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 21:22, 16 November 2011

Personal tools