Skip to content

Declare

Andrey Gershun edited this page May 26, 2015 · 4 revisions

DEACLARE

AlaSQL allows to create local variables with @ prefix:

    var res = alasql('DECLARE @one char(3) = "abcdef"; SELECT VALUE @one')[1];
    // returns "abcdef"

Try this example in jsFiddle.

Clone this wiki locally