jj, už to takhle mám :)<br><br><div><span class="gmail_quote">2007/3/15, azurIt &lt;<a href="mailto:azurit@pobox.sk">azurit@pobox.sk</a>&gt;:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
a co tak toto ? ;)<br><br>sql_result = dbengine.text(&quot;SELECT nazev FROM %s WHERE id=10&quot; % table).execute().fetchone()<br><br><br>-----Pôvodná správa-----<br>Od: Martin Stiborsk [<a href="mailto:martin.stiborsky@gmail.com">
martin.stiborsky@gmail.com</a>]<br>Komu: <a href="mailto:python@py.cz">python@py.cz</a><br>Predmet: Re: [python]SQLAlchemy - select s určením tabulky z proměnn<br><br>Fajn, na něco jsem přišel, ruční sestavení sql dotazu. Např.:
<br><br>sql_result = dbengine.text(&quot;SELECT nazev FROM &quot; + table + &quot; WHERE id=10&quot;).execute().fetchone()<br><br>Aspoň takhle no ...<br><br>--<br> S pozdravem<br>Martin Stiborský<br><br>Jabber: <a href="mailto:stibi@njs.netlab.cz">
stibi@njs.netlab.cz</a><br>ICQ: 224-065-849<br><br>_______________________________________________<br>Python mailing list<br><a href="mailto:Python@py.cz">Python@py.cz</a><br><a href="http://www.py.cz/mailman/listinfo/python">
http://www.py.cz/mailman/listinfo/python</a><br></blockquote></div><br><br clear="all"><br>-- <br>S pozdravem<br>Martin Stiborský<br><br>Jabber: <a href="mailto:stibi@njs.netlab.cz">stibi@njs.netlab.cz</a><br>ICQ: 224-065-849