public DeclareCursorStatement(CursorName cursorName, CursorDefinition definition): base(definition.Global ? cursorName.AsGlobal() : cursorName) {
			this.definition = definition;
		}
		public SetVariableCursorStatement(VariableName variableName, CursorDefinition definition): base(variableName) {
			if (definition.Global) {
				throw new ArgumentException("GLOBAL not allowed here");
			}
			this.definition = definition;
		}