set printJson true
#
# Integer constants
#
test select 8, 42, 42L, 3266, 3474367347347L, -8, -42, -42L, -3266, -3474367347347L
0: {"$type":"","symbol":"","$1":8,"$2":42,"$3":42,"$4":3266,"$5":3474367347347,"$6":-8,"$7":-42,"$8":-42,"$9":-3266,"$10":-3474367347347}
!end
#
# Float constants
#
test select 8.3663, 42.437734, 42.348834f, 37743.0, 348834., -8.3663, -42.437734, -42.348834f, -37743.0, -348834.f, 1
0: {"$type":"","symbol":"","$1":"8.3663","$2":"42.437734","$3":"42.348834","$4":"37743.0","$5":"348834.0","$6":"-8.3663","$7":"-42.437734","$8":"-42.348834","$9":"-37743.0","$10":"-348834.0","$11":1}
!end
#
# Varchar constants
#
test select 'Hello, it\'s me!'
0: {"$type":"","symbol":"","$1":"Hello, it\u0027s me!"}
!end
#
# Char constants
#
test select 'Hello, it\'s me!'
0: {"$type":"","symbol":"","$1":"Hello, it\u0027s me!"}
!end
#
# Timestamp constants
#
test select '2021-01-01 08:10:05.115'D
0: {"$type":"","symbol":"","$1":"2021-01-01T08:10:05.115Z"}
!end
#
# Time constants
#
test select '08:00'T, '23:34'T
0: {"$type":"","symbol":"","$1":"08:00","$2":"23:34"}
!end
#
# Arithmetic operations over simple numerics
#
test select 5 + 6, 6 * 7, 1 * 2 * 3 * 4 / 10., 89 % 33, 89437 / 33, 3634 - 23760923, 32763 / 3727 * -327237
0: {"$type":"","symbol":"","$1":11,"$2":42,"$3":"2.4","$4":23,"$5":2710,"$6":-23757289,"$7":-2617896}
!end
