Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想接受以我选择的位数给出的数字。我如何在 Oracle 中做到这一点?
CREATE TABLE suppliers ( supplier_id numeric(4), supplier_name varchar2(50), CONSTRAINT check_supplier_id ***CHECK (supplier_id BETWEEN 100 and 9999)*** );