I believe it is SELECT DATABASE(); Chris sql,query -----Original Message----- From: Jenny Christy [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 6:41 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: How to know the current database
Hello all, Is there any function(APIs) provided by myodbc driver by which i can get the name of current database. Rgds, Jenny __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com --------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail [EMAIL PROTECTED] instead. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php