are \r \n and \t legal in

From: Heitzso <heitzso(at)home(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: are \r \n and \t legal in
Date: 2001-10-01 15:36:54
Message-ID: 3BB88D96.3010507@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

PreparedStatement setString(i, s)

i.e.

p = connection.preparedStatement("SELECT a FROM b WHERE c = ?");
String s = "hello\t\out\r\nthere\t\t\t\r\n";
p.setString(1, s);

Just beating my head against the wall trying to sort out
what I'm doing wrong and about to hook up to MS SQL Server
via Sprinta to get this working ...

Thanks,
Heitzso

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Santos 2001-10-01 16:03:23 Re: Postgresql 7.1.2 and StarOffice 5.2
Previous Message Heitzso 2001-10-01 15:33:27 are long strings (500 char?) working?