C Ciprian Registered User. Local time Today, 14:43 Joined Sep 14, 2011 Messages 50 Sep 14, 2011 #1 I'm trying to update column 2 based on column 1, by subtracting 1 month. exaple: Column1 -----> Column2 01-09-2011 01-08-2011 02-09-2011 02-08-2011 01-10-2011 01-09-2011 So any idea how to write the Update Query ?
I'm trying to update column 2 based on column 1, by subtracting 1 month. exaple: Column1 -----> Column2 01-09-2011 01-08-2011 02-09-2011 02-08-2011 01-10-2011 01-09-2011 So any idea how to write the Update Query ?
boblarson Smeghead Local time Today, 04:43 Joined Jan 12, 2001 Messages 32,040 Sep 14, 2011 #2 This is data that should not be stored (violation of rules of normalization and potentially a source of incorrect data - referential integrity). It should be in a select query that is used instead of the table directly when the value is needed.
This is data that should not be stored (violation of rules of normalization and potentially a source of incorrect data - referential integrity). It should be in a select query that is used instead of the table directly when the value is needed.