X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C79B89F9C9E for ; Sat, 6 May 2006 18:38:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28206-01 for ; Sat, 6 May 2006 18:38:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by postgresql.org (Postfix) with ESMTP id 8F7DA9F969C for ; Sat, 6 May 2006 18:38:23 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id i30so780083wra for ; Sat, 06 May 2006 14:38:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:x-virus-scanned; b=bAk1gpYjFliAYDyv/N5YdzMGxfdKJmPKju+X62EMyAISFyan4zpGLonN9dVKzmYa7NUeww6gvePFKjXFna97L8xEtsFsnIZPktyXDMr9FiZNZlDi+ki6+JiwBB08M4KbL+mfUzyUNnvsH+V/NvKVLvukOtL1CiVIif52C2Xli2U= Received: by 10.54.98.15 with SMTP id v15mr669745wrb; Sat, 06 May 2006 14:38:22 -0700 (PDT) Received: from strongwill.g2ctech ( [201.22.40.161]) by mx.gmail.com with ESMTP id 8sm532155wrl.2006.05.06.14.38.21; Sat, 06 May 2006 14:38:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by strongwill.g2ctech (Postfix) with ESMTP id D8B0B8509A for ; Sat, 6 May 2006 18:38:17 -0300 (BRT) Received: from strongwill.g2ctech ([127.0.0.1]) by localhost (strongwill [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10487-06-3 for ; Sat, 6 May 2006 18:38:17 -0300 (BRT) Received: from jupiter.g2ctech (unknown [201.10.89.165]) by strongwill.g2ctech (Postfix) with ESMTP id 8BF7680EFF for ; Sat, 6 May 2006 18:38:17 -0300 (BRT) Received: from localhost (localhost [IPv6:::1]) by jupiter.g2ctech (Postfix) with ESMTP id 7A99FC9795 for ; Sat, 6 May 2006 18:38:15 -0300 (BRT) From: Jorge Godoy To: pgsql-sql@postgresql.org Subject: Re: Returning String as Integer Date: Sat, 6 May 2006 18:38:14 -0300 User-Agent: KMail/1.9.1 References: <18AE59788A3FC640A367E5652E664D8002093F0C@xmb-sjc-237.amer.cisco.com> <20060506153916.GA3434@wolff.to> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605061838.14817.jgodoy@gmail.com> X-Virus-Scanned: amavisd-new at g2ctech.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/73 X-Sequence-Number: 25104 Em S=E1bado 06 Maio 2006 17:05, Ben K. escreveu: > Jorge Godoy wrote: > > numbers. Is there any way to select a value from this column and return > > it as an integer? > > My twopence. I just happened to have the same problem with iReports for a > 10 digit number - it may be case specific but in my case Please, take care with your quote attributions. I've never asked such a=20 question here and, in fact, I was answering it. The person who asked such = a=20 question was Kashmira Patel. Thanks, =2D-=20 Jorge Godoy