X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E2F299FB215 for ; Thu, 3 Aug 2006 14:33:23 -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 52562-03 for ; Thu, 3 Aug 2006 14:33:13 -0300 (ADT) X-Greylist: delayed 00:10:00.578682 by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id 314369FAE4E for ; Thu, 3 Aug 2006 14:33:12 -0300 (ADT) Received: from oncpfxp4-out.onc.michelin.com (unverified [10.21.4.32]) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id ; Thu, 3 Aug 2006 13:22:38 -0400 Received: from notesgwna.michelin.com (oncewfp6.onc.michelin.com [10.21.2.9]) by oncpfxp4-out.onc.michelin.com (Postfix) with ESMTP id 2E48D3318E; Thu, 3 Aug 2006 13:23:06 -0400 (EDT) In-Reply-To: <200608031529.UAA02781@WS0005.indiatimes.com> Subject: Re: Error: relation does not exist To: "Rohit Prakash Khare" , pgsql-odbc@postgresql.org X-Mailer: Lotus Notes 652HF1161 February 03, 2006 Message-ID: From: greg.campbell@us.michelin.com Date: Thu, 3 Aug 2006 13:23:01 -0400 X-MIMETrack: Serialize by Router on ONCNS011/MICHELIN(Release 6.5.5|November 30, 2005) at 08/03/2006 13:23:05 MIME-Version: 1.0 Content-type: multipart/related; Boundary="0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.962 tagged_above=0 required=5 tests=HTML_MESSAGE, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200608/20 X-Sequence-Number: 7984 --0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: multipart/alternative; Boundary="1__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30" --1__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: quoted-printable Are the statements you pass using correct case and delimiters. PostgreSQL will fold "SELECT EMPLOYEES. NAME FROM EMPLOYEES" into lower case e.g. "SELECT employees.name FROM employees" which produces the error if there is no "employees" table (the table/relation is name EMPLOYEES or Employees). The correction is to delimit the object names "SELECT 'EMPLOYEES'.'NAME' FROM .'EMPLOYEES'". Notice the single quotes. Of course most long time PostgreSQL users name all objects in lowercase to avoid all the case folding/delimiting business. Greg Campbell ENG-ASE/Michelin US5 Lexington, South Carolina 803-951-5561, x75561 Fax: 803-951-5531 greg.campbell@us.michelin.com = =20 "Rohit Prakash = =20 Khare" = =20 = =20 Sent by: cc= =20 pgsql-odbc-owner@ = =20 postgresql.org Subject= =20 [ODBC] Error: relation does not = =20 exist = =20 08/03/2006 12:38 = =20 = =20 = =20 Please respond to = =20 "Rohit Prakash = =20 Khare" = =20 = =20 = =20 Whenever I create a New Table using GUI PGAdmin III, and then call the table from VB.NET 2003 using ODBC Connection, it displays an error: "Relation does not exist". But when I create a Table from command line console of PGSQL, then I have no problems. Everything works fine. What is the problem. ... RPK Sign Up for your FREE eWallet at www.wallet365.comSign Up for your FREE eWallet at www.wallet365.com ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly --1__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable

Are the statements you pass using correct case and deli= miters.

PostgreSQL will fold
"SELECT EMPLOYEES. NAME FROM EMPLOYEES" <= br> into lower case e.g.
"SELECT employees.name FROM employees" which produces the error if there is no "employees&qu= ot; table (the table/relation is name EMPLOYEES or Employees).
The correction is to delimit the object names "SELECT= 'EMPLOYEES'.'NAME' FROM .'EMPLOYEES'". Notice the single quotes.
Of course most long time PostgreSQL users name all objects= in lowercase to avoid all the case folding/delimiting business.

Greg Campbell ENG-ASE/Michelin US5
Lexington, South Carolina
803-951-5561, x75561
Fax: 803-951-5531
greg.campbell@us.michelin.com

3D"Inactive"Rohit= Prakash Khare" <rohitprakash123@indiatimes.com>


          "Rohit Prakash Khare" <rohitprakash123= @indiatimes.com>
          Sent by: pgsql-odbc-owner@postgresql.org

          08/03/2006 12:38
          Please respond to
          "Rohit Prakash Khare"<rohitprakash123@indiatimes.com>

3D""<= br>
To
3D""
<pgsql-odbc@postgresql.org>
3D""<= br>
cc
3D""
3D""<= br>
Subject
3D""
[ODBC] Error: relation does not exist
3D""3D""

Whenever I create a New Table using GUI PGAdmin III, a= nd then call the table from VB.NET 2003 using ODBC Connection, it displays = an error: "Relation does not exist".

But when I create a Table from command line console of PGSQL, then I have n= o problems. Everything works fine. What is the problem.

...
RPK

Sign Up for your FREE eWallet at www.wallet365.comSign Up for your FREE eWa= llet at www.wallet365.com


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org = so that your
      message can get through to the mailing list cleanly

--1__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30-- --0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <10__=0ABBFB2CDFCD1B308f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7 --0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: image/gif; name="pic32304.gif" Content-Disposition: inline; filename="pic32304.gif" Content-ID: <20__=0ABBFB2CDFCD1B308f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH LZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtCKW3jfz4uMKmq3xu4N0nK BVoJQmx2LGVOmrqNjjJf2hHAQo/eDwJGTKhQMcgQEEAnEjFS98+RnW3smGkZU6ncCWav/4wYOnAI TihRL/4FEwbp28BXMMcoscQCVxlepL4IGDSCyJyVQOu0o7CjmLN50OZlqWmyFy5/6yBBuji0AxFR M00oQAqNIstqI6qKHUsWRAEAvagsmfUEAImyxgbmUpJk3IklNUtJOUAVLoUr1+wqDGTE4zk+T6FG uQb3SizBCwatiiUgCBN8vrz+zFjVyQ8FWkOlg4NQiZMB5QS8QO3mpOaKnL0Z2EKvNMSILEThKhCg zMKPVxYJh23qm9KNW7pArPynMqZDiErsTMqI+LRi3QAgkFUbXpuFKhSYZALd0O5RKa2z9EYKBbpb qxIKsjUPRgD7I2XYV6wyrOw92ykExP8NW4URhknC5dKGE4v4NENQj2jXjmfNgOZDaXb5glRmXQ33 YEWQYNcZFnrYcIQLNzyTFDQNkXIff0ExVlY4srziQk43inZgL4rwxxINMvpFFAz1KOODHiu+4aEw NEjFl5B3JIKWKF3k6I9bfUGp5ZZcdunll5IA4cuHvQQJ5gcsoCWOOUwgltIwAKRxJgbIkJAQZEq0 2YliZnpZZ4BH3CnYOXldOUOfQoYDqF1LFHbXCrO8xmRsfoXDXJ6ChjCAH3QlhJcT6VWE6FCkfCco CgrMFsROrIEX3o2whVjWDjoJccN3LdggSGXLCdLEgHr1lyU3O3QxhgohNKXJCWv8JQr/PDdaqd6w 2rj1inLiGeiCJoDspAoQlYE6QWLSECehcWIYxIQES6zhbn1iImTHEQyqJ4eIxJJoUBc+3CbBuwZE V5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4senwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvH ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw 9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA Ow== --0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30 Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: <30__=0ABBFB2CDFCD1B308f9e8a93df9@michelin.com> Content-transfer-encoding: base64 R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7 --0__=0ABBFB2CDFCD1B308f9e8a93df938690918c0ABBFB2CDFCD1B30--