RE: Need any that can translate this

2007-01-12 Thread Tomás Abad Fernández
='.$order.' AND o.orders_id=f.pedido); Thanks all, Tomás -Mensaje original- De: Felix Geerinckx [mailto:[EMAIL PROTECTED] Enviado el: jueves, 11 de enero de 2007 19:25 Para: mysql@lists.mysql.com Asunto: Re: Need any that can translate this [EMAIL PROTECTED] (Tomás Abad Fernández) wrote

Need any that can translate this

2007-01-11 Thread Tomás Abad Fernández
I dont know why thease don't work at MySql 3.21 , anyone can help me to make this compatible with mysql3? $query = SELECT * FROM facturas WHERE pedido IN (SELECT orders_id FROM orders WHERE user_id='.$user.') ORDER BY factura_id; Thanks for all.

Re: Need any that can translate this

2007-01-11 Thread Peter Bradley
Ysgrifennodd Tomás Abad Fernández: I dont know why thease don't work at MySql 3.21 , anyone can help me to make this compatible with mysql3? $query = SELECT * FROM facturas WHERE pedido IN (SELECT orders_id FROM orders WHERE user_id='.$user.') ORDER BY factura_id; Thanks for all. If I

Re: Need any that can translate this

2007-01-11 Thread Felix Geerinckx
[EMAIL PROTECTED] (Tomás Abad Fernández) wrote in news:[EMAIL PROTECTED]: I dont know why thease don't work at MySql 3.21 , anyone can help me to make this compatible with mysql3? 3.21 is really ancient ... $query = SELECT * FROM facturas WHERE pedido IN (SELECT orders_id FROM orders

Re: Need any that can translate this

2007-01-11 Thread Ran
Not necessarily to use temp tables,they are expensicve. Temp tables introduce extra disk IOs which slows down compare to using explicit JOINs which is done in memory. Here is techniques on how to rewrite a subquery with JOINs: http://dev.mysql.com/doc/refman/4.1/en/rewriting-subqueries.html

Re: Need any that can translate this

2007-01-11 Thread Dušan Pavlica
Temporary tables are stored in memory so they are as quick as joins. Dusan Ran napsal(a): Not necessarily to use temp tables,they are expensicve. Temp tables introduce extra disk IOs which slows down compare to using explicit JOINs which is done in memory. Here is techniques on how to rewrite

How to translate BerkeleyDB into MySQL

2004-04-23 Thread Valentine Kouznetsov
Hi, I never use MySQL, but force to learn about it. So far I found that MySQL can use BerkeleyDB as underlying DB. My question is how to translate existing Berkeley DB (which was created by other tools) into MySQL DB. Our application has been used Berkeley DB and now we need to move on to MySQL

Looking for Perl function to translate web search string to SQL

2001-05-24 Thread Bill Marrs
Does anyone know of a Perl function or package that can take a user-inputted string (like from a search form on web page) and turn it into proper SQL. Something that might be able to deal with quoting, parenthesis and use of AND and OR. Perhaps also + and - syntax. For example, if a user

Translate

2001-04-19 Thread Agustin Eloy Barrios Arteaga
I need translate this SQL to any SQL that work in MYSQL SELECT * FROM cons WHERE NOT EXISTS (SELECT idc FROM cp where cons.id=cp.idc and cp.idp = 1); - Before posting, please check: http://www.mysql.com/manual.php