"Amin Schoeib" <[EMAIL PROTECTED]> writes: > Is there an equivalent for the trunc function of Oracle in Postgres??? > I need to trunc(the zeros) a number which is stored as a char with a lot of= > zeros > Like that : 0000000000000000000000000000004 > In oracle you can make that by trunc(YOUR_COLUMNNAME,0)
We use the SQL-standard spelling, TRIM(). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])