I have queries are the basis to update tables. When updating tables I want to insert values but not to overwrite any existing data. How can I make sure I update something while checking if anything is there already. And if so, it can't be written.
example
Table
ladder_date/NAV
1-21-05/2154
If my query yields a new value I do not want that particular value inserted.
the following was my first guess but it doesn't work because I am statement deletes everything in the table I am trying to update but it gives you the idea of what I want. (and it is asking asking for a parameter) so I can't use the where statment
SELECT dS.ladder_date, dS.BOM, dS.NAV, dS.gTDRT, dS.gTDCHANGEPER INTO tblDailyPerformance
FROM DailySummary AS dS
WHERE (((tblDailyPerformance.ladder_date) Is Null));
example
Table
ladder_date/NAV
1-21-05/2154
If my query yields a new value I do not want that particular value inserted.
the following was my first guess but it doesn't work because I am statement deletes everything in the table I am trying to update but it gives you the idea of what I want. (and it is asking asking for a parameter) so I can't use the where statment
SELECT dS.ladder_date, dS.BOM, dS.NAV, dS.gTDRT, dS.gTDCHANGEPER INTO tblDailyPerformance
FROM DailySummary AS dS
WHERE (((tblDailyPerformance.ladder_date) Is Null));