Click here to Skip to main content
12,507,674 members (53,326 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: PostgreSQL
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..



Thanks,
Regards,
Jhn
Posted 23-Jan-12 0:00am
Ahn_7739
Comments
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
 
good
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...
  Permalink  
v2

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 | Mobile
Web02 | 2.8.160927.1 | Last Updated 23 Jan 2012
Copyright © CodeProject, 1999-2016
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