info xml

F

framasch

Ciao a tutti, ho bisogno che mi indichiate come costruire una subquery
in un costrutto di qeusto tipo:

qr += "<select>
qr += "<columns><name>PIPPO</name><name>PAPERINO</name></columns>";
qr += "<tables><name>DISNEY</name><name>WALT</name></tables>";
qr += "<where>";
qr += "<condition><connector></connector><name>DISNEY.PIPPO</name>
qr += "<oper>=</oper><name>WALT.PERSONAGGIO</name></condition>";
qr+= "<condition><connector>AND</connector><name>WALT.PLUTO</name>
qr+= "<oper>=</oper><value>" + variable + "</value></condition>";
qr += "</where>";
qr += "</select>";

Immaginando che ci fosse un altro and in coda alla select che è
costituito da
"and DISNEY.CAMPO = (SELECT * FROM TABELLA WHERE TABELLA.CAMPO = 1);

Come deve essere costruita con i tag xml così come è la select sopra?
Grazie anticipatamente
macistina
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,002
Messages
2,570,260
Members
46,858
Latest member
FlorrieTuf

Latest Threads

Top