Re: [Tutor] postgresql was: Re: Tutor Digest, Vol 115, Issue 6

2013-09-04 Thread Steve Willoughby
On 04-Sep-2013, at 14:28, Alan Gauld wrote: > On 03/09/13 08:25, Ismar Sehic wrote: >> help with postgres and csv: >> i solved my problem by playing with the sql line a little. >> it looked like this : sql = " UPDATE hotel SET path_picture = >> "+"';"+hotel_url+"' >> WHERE code LIKE '"+"%"+hotel

[Tutor] postgresql was: Re: Tutor Digest, Vol 115, Issue 6

2013-09-04 Thread Alan Gauld
On 03/09/13 08:25, Ismar Sehic wrote: help with postgres and csv: i solved my problem by playing with the sql line a little. it looked like this : sql = " UPDATE hotel SET path_picture = "+"';"+hotel_url+"' WHERE code LIKE '"+"%"+hotel_code+"'" now it's like this : " UPDATE hotel SET path_pi