I want to perform a one-time bulk update on a table that has many fields, one of which is an ID number and another a date-time. A second table, serving as a temporary lookup, has just two fields, an ID number and a date-time.
The task is to update any blank date-time fields in the first table using data-time values from the second, where the ID numbers are the same.
I could write a SQL UPDATE statement using a join on ID, but where would I enter this SQL statement? Is there SQL shell access into the database?
Or is there a way to do this in TABLE DESIGN? Unfortunately, there is not a way to join to another table in a calculated field. Right?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
JohnM
I want to perform a one-time bulk update on a table that has many fields, one of which is an ID number and another a date-time. A second table, serving as a temporary lookup, has just two fields, an ID number and a date-time.
The task is to update any blank date-time fields in the first table using data-time values from the second, where the ID numbers are the same.
I could write a SQL UPDATE statement using a join on ID, but where would I enter this SQL statement? Is there SQL shell access into the database?
Or is there a way to do this in TABLE DESIGN? Unfortunately, there is not a way to join to another table in a calculated field. Right?
Thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.