Seems simple enough, but I can't figure it out.
SQL 2005
Table A
load_date - pk
company_id - pk
Table B
business_date
month_end_flag
I simply need to write something that will copy over data that is greater than 120 days old...but not any month end data. Once copied to another table....table A can then have these rows deleted.
SQL 2005
Table A
load_date - pk
company_id - pk
Table B
business_date
month_end_flag
I simply need to write something that will copy over data that is greater than 120 days old...but not any month end data. Once copied to another table....table A can then have these rows deleted.