database - what's the max number of parameters you can pass into IN list of check constraint ? for PostgreSQL -


how many values added in "in" list of check constraint?

alter table customer_part_1 add check(cust_key in ('cust1', 'cust2', 'cust3', 'cust4', 'cust5' ................. ?? )) 

i believe no limit,

look @ here recommen use join instead... on long lists


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -