Click here to Skip to main content
Rate this: bad
good
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_7616
Comments
Ahn_7 at 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
0 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 329
3 Sergey Alexandrovich Kryukov 290
4 CPallini 219
0 OriginalGriff 697
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 495
3 thatraja 370
4 Sergey Alexandrovich Kryukov 344


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 23 Jan 2012
Copyright © CodeProject, 1999-2014
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