Click here to Skip to main content
13,145,774 members (54,137 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,
I'm a beginner in PostgreSQl and I have some doubts regarding "using scripts in PosrgreSQL"..I'm using visual studio as my GUI coding part concern and from there I'm accessing the PostgreSQL commands..But now I need to create databases, tables etc.. through scripts..Give me some ideas regarding this..I'm zero in using these scripts..

Posted 23-Jan-12 0:00am
Ahn_7 24-Jan-12 0:39am
Hi actually what I need is I will write some commands like creating database something like that in a file(*.sql, or .msi or .exe anything)..then I need send that file to some other location(outside my company) so just when they click that file the database has to create in their pgadmin3(postgreSQL)..Let me know for further queries..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

hi .. click database >right click > choose script database as > choose create to >
new query window.............and select option that you want .
hope u like it...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 23 Jan 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100