There are several methods of querying ESP using SQL. All SQL statements must follow these rules for dealing with the specified datatypes in ESP.
insert into win (c_key,date,timestamp,bigdatetime) values(21478,undate('2013-02-11 17:35:45'),untimestamp('2013-02-11 17:35:45'), unbigdatetime('2013-02-11 17:35:45'))
insert into win (c_key,c_money) values(111770,8.12345d)
insert into win (c_key,c_money1,c_money2,c_money3,c_money4,c_money5,c_money10,c_money15) values(111770,8.12345d1,8.12345d2,8.12345d3,8.12345d4,8.12345d5,8.123456789012345d10,8.123456789012345d15)
insert into win (c_key,c_binary) values(111770,hex_binary('9140ACA0361856334DD319F05'))
select c_key,hex_string(c_binary)from win