MySQL Forums
Forum List  »  Perl

Re: Retrieving the default database name
Posted by: M. G.
Date: October 22, 2012 12:29PM

Well folks,

All I asked for is the function "database()"!

SELECT database() retrieves the currently set default database name or NULL if none is set.

Lookup http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_database.

And no search engin retrieved that!

(And BTW, it turns out this *is* a MySQL topic!)

Regards,
Meir

Options: ReplyQuote


Subject
Written By
Posted
October 22, 2012 09:53AM
Re: Retrieving the default database name
October 22, 2012 12:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.