Add EXECUTE functionality

Registered by Patrick Crews

Add the ability to EXECUTE SQL strings:
SET @VAR = "SELECT 1";
EXECUTE @VAR;
EXECUTE "SELECT 1";

Note: not recursive - we can't do:
SET @VAR = "INSERT INTO t1 VALUES (@VAR)";
We'll get a string - "INSERT INTO t2 VALUES(@VAR)" in our table

However, we can do:
SET @VALUE = 'value';
SET @VAR = 'INSERT INTO t2 VALUES (@VALUE)';
EXECUTE @VAR;

Blueprint information

Status:
Complete
Approver:
Brian Aker
Priority:
Undefined
Drafter:
Brian Aker
Direction:
Needs approval
Assignee:
Brian Aker
Definition:
Approved
Series goal:
Accepted for 7.0
Implementation:
Implemented
Milestone target:
milestone icon 2010-10-25
Started by
Patrick Crews
Completed by
Patrick Crews

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.