> >> Is it possible to use python and sql in a script?
> >
> >    Strange question. Certainly, you can use python, with or without
> > SQLObject. With SQLObject just call
> connection.query("INSERT/UPDATE/DELETE")
> > or connection.queryAll("SELECT"). Without SQLObject just use Python DB
> API.
> >
>
> I should have been more precise.  I meant I want to run a python script
> to upgrade my database.

Sure it is possible. The database doesn't care how it was accessed,
you can use the python db api at one time, use sqlobject another time
or you may choose to not use python at all only the frontend of your
db at yet another time. As long as the actual SQL that gets sent to
your db is okay it doesn't matter where this SQL came from.

Cheers,
Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to