TEXT Data Type

Поиск
Список
Период
Сортировка
От Sagine E.Ferrus
Тема TEXT Data Type
Дата
Msg-id 20021119170028.995E240AE@sitemail.everyone.net
обсуждение исходный текст
Список pgsql-jdbc
Hi im using version 7.2, and im trying to insert very large strings into the TEXT field but i keep getting: parser
error"000"; 
I noticed i get that error when the string is over 50-60 characters long, I thought the TEXT feild had no limit. Here
ismy code: 

String sqlStr = "INSERT INTO news_articles VALUES
                  ("'"+author+"', '"+title+"', '"+TheLargeString+"')";
PreparedStatement pstmt = con.prepareStatement(sqlStr);
pstmt.executeUpdate();

thanks in advance for the help
Sagine

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Felipe Schnack
Дата:
Сообщение: more about setDefault()
Следующее
От: Barry Lind
Дата:
Сообщение: Re: default values