/*This SQL script uses Demos.abs database. 
  Please open ...\AbsoluteDatabase\Demos\Data\Demos.abs database file.
  This sample illustrates use of CAST function.
  The query retrieves all events and their dates as strings.*/

select e1."Event_Name", (cast(e1."Event_Date" as STRING)) as "CastDate"
  from "events" e1
