R
R
Roman Locust2015-12-19 10:44:03
SQL
Roman Locust, 2015-12-19 10:44:03

How can I change a required field to an optional one?

How can I change a required field to an optional one with a query? I use MS Access

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2015-12-24
@Solverin

If there are no related fields, then 4 queries:
1. Copy of the desired table
SELECT original.* INTO temp FROM original
2. Delete original
DELETE original.* FROM original
3. Copy back to original
SELECT temp.* INTO original FROM temp
4. Delete copy
DELETE temp.* FROM temp
If there are links to other tables, then create a new field and then reconfigure links to it
ALTER table original add Column [column name] Double

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question