
CREATE CURSOR anio (id int, nombre c(4))
INSERT INTO anio values (2010, '2010')
INSERT INTO anio values (2011, '2011')
INSERT INTO anio values (2012, '2012')
INSERT INTO anio values (2013, '2013')
INSERT INTO anio values (2014, '2014')
INSERT INTO anio values (2015, '2015')
INSERT INTO anio values (2016, '2016')
INSERT INTO anio values (2017, '2017')
INSERT INTO anio values (2018, '2018')
INSERT INTO anio values (2019, '2019')
INSERT INTO anio values (2020, '2020')
INSERT INTO anio values (2021, '2021')
INSERT INTO anio values (2022, '2022')
INSERT INTO anio values (2023, '2023')
INSERT INTO anio values (2024, '2024')
INSERT INTO anio values (2025, '2025')
INSERT INTO anio values (2026, '2026')

oJs.json_up('anio')
