Skip site navigation (1) Skip section navigation (2)

another newbie libpq question...

From: "miguel lam" <mikkal56(at)hotmail(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us, homoelle(at)ll(dot)mit(dot)edu
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: another newbie libpq question...
Date: 2004-11-09 14:35:16
Message-ID: BAY14-F23t0OUIHNkjg00065518@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
<html><div style='background-color:'><DIV class=RTE>
<P>Hi, well mi problem is that im trying to pass a string with the select but I don't know if postgres has a function for format the query like this</P>
<P>select * from table1 where cod = '%' and cod2 = '%';</P>
<P>and then format the % simbol, because I dont want to concatenate in C all the string because is hard to do it use th epointers and all the stuff, if somebody know how to format the query , please somebody help me !</P></DIV></div><br clear=all><hr>MSN Amor <a href="http://g.msn.com/8HMBES/2755??PS=47575" target="_top">Busca tu ½ naranja</a> </html>


Attachment: unknown_filename
Description: text/html (621 bytes)

pgsql-interfaces by date

Next:From: Doug HomoelleDate: 2004-11-09 14:54:49
Subject: Re: newbie libpq question...
Previous:From: Jeroen T. VermeulenDate: 2004-11-09 14:32:14
Subject: Re: newbie libpq question...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group