X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 96D6B5422D for ; Tue, 10 May 2005 09:07:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28300-03 for ; Tue, 10 May 2005 12:07:44 +0000 (GMT) Received: from relay3.san1.attens.com (relay3.san2.attens.com [192.215.81.76]) by svr1.postgresql.org (Postfix) with ESMTP id 11989531C6 for ; Tue, 10 May 2005 09:07:43 -0300 (ADT) Received: from mailhub.masconit.com (email.masconit.com [12.107.104.100]) by relay3.san1.attens.com (8.11.6/8.9.3) with ESMTP id j4AC7j924242 for ; Tue, 10 May 2005 12:07:46 GMT Received: by MAILHUB with Internet Mail Service (5.5.2653.19) id ; Tue, 10 May 2005 07:07:45 -0500 Received: from annamalai.mct.com.mct.com (ANNAMALAI [172.16.0.164]) by mailhub.masconit.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id KJFQFY5H; Tue, 10 May 2005 07:07:42 -0500 From: Annamalai Gurusami Reply-To: Annamalai Gurusami To: pgsql-odbc@postgresql.org Subject: Question Mark Changing to NULL Date: Tue, 10 May 2005 17:27:00 +0530 Message-ID: <87zmv3jnub.fsf@annamalai.mct.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/35 X-Sequence-Number: 5338 Hi All, I am having a problem. When I issue a query like this using the SQLExecDirect ODBC call, the question mark is being changed to NULL. Any ideas how to avoid such conversion? insert into log values ('Get help by typing \'?\' anytime.'); Any help much appreciated. Rgds, anna -- Scheme has latent as opposed to manifest types. Types are associated with values (also called objects) rather than with variables. (Some authors refer to languages with latent types as weakly typed or dynamically typed languages.) - Revised 5 Report on the Algorithmic Language Scheme