Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: NAN-Values in ECPG-Code



On Fri, Jun 15, 2007 at 03:38:03PM +0200, René Grün wrote:
> I have a Question:

Sorry for the late answer, but I still have a backlog in my emails.

> EXEC SQL BEGIN DECLARE SECTION;
> Int	paramid;
> Float fval;
> EXEC SQL END DECLARE SECTION;
> 
> paramid = 5;
> fval = 'NAN';

How about this?

fval = strtod("nan", NULL);

> Mit freundlichen Grüßen aus Krefeld,
> With best regards from Krefeld,

Being very close in Moenchengladbach I hope this helps.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group