Change field form Long to Double Precision

H

Henrootje

is there a way, using code, to change all of the numeric fields in a
database (preferrably in selected tables but not necessarily so) form
Long to DOuble Precision?


Greetings,

Henro Veijer
 
H

Henrootje

Thanks Allen



Execute a DDL query statement to change the field type, e.g.:
ALTER TABLE MyTable ALTER COLUMN MyField DOUBLE;

Introduction to DDL, and example:
http://allenbrowne.com/func-DDL.html#ModifyFieldDDL

List of the names to use in DDL, compared to the names in the Access
interface:
http://allenbrowne.com/ser-49.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.






- Tekst uit oorspronkelijk bericht weergeven -

1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top