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: (view raw, whole thread or download thread mbox)
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="" 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-2017 The PostgreSQL Global Development Group