modifying Data type

  • Thread starter Thread starter mask.sd
  • Start date Start date
M

mask.sd

I want to change data type of column i.e. from text to integer
in the mdb with there are some records in the mdb ?

Please can anybody suggest the solution for the same?
Thank U
 
Play it safe! Make a backup and with the backup add a new integer field to
the table. Are you sure an integer is large enough to handle any data it
might hold. There is always Long. Anyway, then run an update query that
initializes the Integer field from the text field. Once you are satisfied
the the numeric field is properly initialized then then delete the text field
and rename the numeric field to the old text field name if you want.
 

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

Back
Top