Connections database table
From TaskDepender
(→Connect) |
(→Connect) |
||
Line 99: | Line 99: | ||
INSERT INTO Deliverables | INSERT INTO Deliverables | ||
− | + | SELECT | |
− | + | d.Name, d.Description, d.Resource, d.X, d.Y, d.Width, d.Height, d.Link, d.Available, | |
− | + | NewConnections.TaskId ContainerId, NewConnections.Id ConnectionId FROM Deliverables d, (SELECT Id, TaskId, DeliverableId FROM Connections | |
− | + | WHERE Id NOT IN (SELECT ConnectionId FROM Deliverables)) AS NewConnections | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | SELECT Id, TaskId, DeliverableId FROM Connections | + | |
− | WHERE Id NOT IN (SELECT ConnectionId FROM Deliverables) AS NewConnections | + | |
− | + | ||
</syntaxhighlight> | </syntaxhighlight> |