[Tutor] database programming

Liam Clarke cyresse at gmail.com
Tue Feb 22 01:15:31 CET 2005


/me smacks head.

Thanks Kent. Exactly what I need.

Regards, 

Liam Clarke


On Mon, 21 Feb 2005 16:21:23 -0500, Kent Johnson <kent37 at tds.net> wrote:
> Liam Clarke wrote:
> 
> > PS Anyone know if there's a way to get a list of tables in a DB? I've
> > got the pragma to get a list of columns in a table, but just in the
> > off chance...
> 
> AFAIK there is no standard way to do this - it is different for each database. For SQLite, see this FAQ:
> http://www.sqlite.org/faq.html#q9
> 
> Kent
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


-- 
'There is only one basic human right, and that is to do as you damn well please.
And with it comes the only basic human duty, to take the consequences.


More information about the Tutor mailing list