A
|
alang 4/9/2008 |
What about putting code into "Before SQL query" event. Put a standard query into PHPRunner SQL tab to allow you to set up fields etc (keep PHPR happy), and then rewrite the SQL query in the event with the more complex UNION bits. |
P
|
phpwalker author 4/9/2008 |
What about putting code into "Before SQL query" event. Put a standard query into PHPRunner SQL tab to allow you to set up fields etc (keep PHPR happy), and then rewrite the SQL query in the event with the more complex UNION bits.
|
S
|
swanside 4/10/2008 |
i found this in a prior post I also need to do a union query... but views are not supported untile mySQL 5.0+ i am running 4 any other possible solutions? karen
|
P
|
phpwalker author 4/10/2008 |
Do a create view in your database. Post your tables you need to join.
|
S
|
swanside 4/11/2008 |
Um... once again... I don't have mySQL 5.x ... you cannot do a "view" in 4.x (they are not supported) the union query would look like this SELECT orders.oFirstName, orders.oID, orders.oLastName, orders.oCompany FROM orders UNION SELECT leads.leadID, leads.leadFirstName, leads.leadLastName, leads.leadCompany FROM leads but PHPRunner does not support union queries... and mySQL 4.x does not support views... any other solution? karen
|
J
|
Jane 4/11/2008 |
Karen, |