Hi Guys: we have script that creates database. I mean the create DB statement with mentioning of log files and system files etc., One of the user accidentally ran the same on the existing database. But to prevent the same the script has to be smart enogh to check the existance of the db and if so, comeout successfully, if not go ahead and create one..
What is the best way to check this? Any ideas??