The quantity column is negative for a withdrawal (sell stocks), positive otherwise. I have no other way with this data set to see if withdrawal/deposit. any hope of a signed decimal datatype for this? There is too much precision for "money" datatype. I am using pgsql
muchas gracias,
joe
--
joe speigle
www.sirfsup.com
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match