How to create a PostgreSQL DATABASE Programatically
Posted: Sun Nov 14, 2010 3:53 pm
Hello All,
How to create a PostgreSql database programatically, so that our app can check whether the database exists or not. If it doesn't exist, it will create the database.
I did it with MySql and SQLite. But I don't know how to do it with PostgreSQL.
Because we have to pass the database name in DbPGConnection() function.
Thanks in advance
How to create a PostgreSql database programatically, so that our app can check whether the database exists or not. If it doesn't exist, it will create the database.
I did it with MySql and SQLite. But I don't know how to do it with PostgreSQL.
Because we have to pass the database name in DbPGConnection() function.
Thanks in advance