Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Joint Between two tables

From: Warren Young <mysqlpp(at)etr-usa.com>
Date: Wed Sep 12 2007 - 17:48:19 EDT


Mandy Llanes wrote:
> With de Structs create by sql_create_n(................) i cant insert
> operate. But when i need JOINT Between two table.....ex. SELECT t1.f1,
> t2.f3 FROM t1, t2 WHERE t1.f2=t2.f2 ....
> how create dinamic the struct? any truck & trips?

An SSQLS doesn't necessarily have to mirror the structure of a table. You can create one with the same field set as your JOIN query. The only restriction is that the SSQLS must declare its fields in the same order as the query results.

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Wed Sep 12 17:50:41 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:03:11 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library