Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > PostgreSQL Synt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 15802 of 17437
Post > Topic >>

PostgreSQL Syntax questions

by raman.krishnan@[EMAIL PROTECTED] (krishtpt) Jun 12, 2008 at 07:54 AM

Hi There,

I am new to Postgresql. I have few questions regarding the sql syntax in
Postgresql.
1. I am trying to disable constraints from a particular table in
postgresql.
But I couldn't get the alter command for the same. 
2. I am trying to fetch all the constraints from a specific table using a
select query. I am using 'select * from pg_constraint'. If I execute this
query I am able to get all the constraints from all the tables. But I
couldn't find which constraint is for what table. How can I get this data.
3. I am also trying to fetch all the triggers for a specific table using a
select query. How can I get this data?
4. I also would like to know how can I execute an sql file from windows
command prompt in postgresql.

Please help me with these details.

Thanks
Krish
-- 
View this message in context:
http://www.nabble.com/PostgreSQL-Syntax-questions-tp17802013p17802013.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 1 Posts in Topic:
PostgreSQL Syntax questions
raman.krishnan@[EMAIL PRO  2008-06-12 07:54:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:23:32 CST 2008.