Hello, François Hervieux wrote:
> When I concatenate current_date, the value is treated as a std::string > by SOCI. Ah, yes - I forgot that you use the dynamic binding, which discovers the types of data and they come. You might impose the correct type with the cast: select name, cast (current_date || ' ' || value as timestamp) from ... (or something like this) Let us know if this worked for you. Regards, -- Maciej Sobczak * www.msobczak.com * www.inspirel.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
