Casting - Mailing list pgsql-novice

From Thomas SMETS
Subject Casting
Date
Msg-id 3A5515DE.52F2DB7B@altern.org
Whole thread Raw
Responses Re: [SQL] Casting  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-novice

Hi,

In pgsql

I'm removing charaters from a String which should be numbers.
I then want to make calculations on these numbers (calculate the ISBN
number).

Do I have to cast the char into int's before I can do the calulations.

Also I looked in the User manual but could not find the modulo function
where is it ?

tx,

Thomas,













--
Thu Jan  4 20:19:03 CET 2001

Thomas SMETS                        e-mail : tsmets@altern.org
Av. de la Brabançonne 133 / 3       Tel. : +32 (0)2 742. 05. 94.
1030 Bruxelles
======= Quote of the Day =========
Jealousy is all the fun you think they have.
========= End of Quote ===========

pgsql-novice by date:

Previous
From: "Albert REINER"
Date:
Subject: 7.0.2: missing CREATE DATABASE documentation
Next
From: "Huy Do"
Date:
Subject: Trailing spaces in char or varchar fields