Bug 3914

Summary: Schema specific variables
Product: SQL Reporter: Martin Kersten <mk>
Component: allAssignee: SQL devs <bugs-sql>
Status: NEW ---    
Severity: enhancement    
Priority: Normal    
Version: -- development   
Hardware: Other   
OS: Mac OS X   

Description Martin Kersten cwiconfidential 2016-02-01 22:42:52 CET
User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:44.0) Gecko/20100101 Firefox/44.0
Build Identifier: 

SQL variables should be qualified by the schema in which they are declared.
Currently, they are erroneously global for all schemas.

Reproducible: Always

Steps to Reproduce:
create schema xyz;
declare version='2016';
select xyz.version;