Dave's Brain

Browse - computer tips - postgresql cheatsheet

Date: 2010jul19
Product: postgresql

Q. What are some basic Postgreql commands?

A.

	psql <database>			start Postgresql in a database

	\dt				show tables

	\d <table>			show the named table

	\i <script>			run the sql from the named script

	\q				quit

More on Postgresql
http://www.davekb.com/search.php?target=postgresql
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.