Skip to Content.
Sympa Menu

freetds - [freetds] SQL nested querys

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ricardo Quintal <rquintalr_76 AT yahoo.com.mx>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] SQL nested querys
  • Date: Tue, 22 May 2007 09:45:58 -0500 (CDT)

Hi !!! I'm more or less new using freetds and I have a question about it.

How can I make nested querys if I have a principal query and a data result
from it is necesary to pass to another query inside of a cycle.

result = execsql("Select IdKey from Aceros");

while (result == 0)
{
result = execsql("select descripcion from detalle where idkey =
%d",idkey);
}

Is this possible ??

Thanks in advance

Ricardo


---------------------------------

Llama gratis a cualquier PC del mundo.
Con una excelente calidad de sonido.
Yahoo! Messenger




Archive powered by MHonArc 2.6.24.

Top of Page