By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,985 Members | 2,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,985 IT Pros & Developers. It's quick & easy.

constraint problem

100+
P: 138
how to disable or enable the constraint of a table
i use the script
"alter table tbl_name disable constraint const_name"

but it shows the error
parse error at or near "disable" at character 23
Jan 18 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
how to disable or enable the constraint of a table
i use the script
"alter table tbl_name disable constraint const_name"

but it shows the error
parse error at or near "disable" at character 23
I'm afraid there is no disable constraint option. You can drop constraint
see here
http://www.postgresql.org/docs/8.2/i...ltertable.html
Jan 18 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.