www.fromthevalley.com.au

Varchar to int CAST

 

 To use int based functions, you must cast the varchar to an int/double first.

 

ie:  select sum(value::double precision) from table;

 

 

HOME |  AJAX |  APACHE |  Bizphone |  CSS |  DNS |  General |  Graphics |  HTML |  Hardware |  Javascript |  Linux |  MAC |  MS SQL |  Mail |  Microsoft |  OFFICE 365 |  Perl |  Postgres |  SEO |  Social Media |  VMware |  Windows 10