Added sql function TRUNC.