Page 1 of 1

Help in code!

Posted: Wed Sep 15, 2004 4:54 pm
by mohan
I wanna code:

create database by name Mohan,if there is database by this name creat it by name mohan1 if there is mohan1 create it by name mohan2....and so on.

How can I do that? how can I check the existance of database?

thanx

Mohan

Posted: Wed Sep 15, 2004 5:00 pm
by feyd

Code: Select all

SHOW DATABASES
search in the results...