Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9NIYIP64747 for ; Tue, 23 Oct 2001 14:34:19 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.7) with HTTP id 490710; Tue, 23 Oct 2001 11:33:54 -0700 From: "Josh Berkus" Subject: Re: can't update 'c:\windows' To: "guard" , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.7 Date: Tue, 23 Oct 2001 11:33:54 -0700 Message-ID: In-Reply-To: <9r0o0t$k6t$1@news.tht.net> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200110/331 X-Sequence-Number: 5284 Guard, First, this kind of beginner question is more appropriate for the NOVICE list. > IF update table set field='c:\windows' > but > > c:\windows -> c:windows That's because "\" is the Unix escape character. If I were to want to save "O'Reilly", for example, I could: UPDATE table SET name = 'O\'Reilly'; Since you want to save an actual backslash, do this: UPDATE table SET field = 'C:\\windows'; In your interface code, you may which to add a function that doubles your backslashes. -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco