MySQL Forums
Forum List  »  Newbie

Creating a database
Posted by: par lofgren
Date: August 07, 2005 01:31PM

Hi
I have just started with MySQL and i have question about creating a database.
I want to create a database only if it is not already created.
So is there some sql that i can write like there is for creating a table "create temp table if not exsist"
I would like to write something like "create database temp if not exsist" or is that not possible whene creating a database. If not why?

Options: ReplyQuote


Subject
Written By
Posted
Creating a database
August 07, 2005 01:31PM
August 08, 2005 07:33AM


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.