G
Guest
I need to convert this SQL statement to a statement that Access 2003 will
run. Any suggestions?
I have two tables. GL_ALL contains all imported records with blank Period
and Week but the Import date is poppulated with a calendar date.
Fiscal_Yr_Table contains the calendar for the fiscal year. It has the
period, week, start date and end date for each period and week
I want to update the GL_ALL table with the proper Period and Week from the
Fiscal_Yr_Table based on the Import date in the GL_ALL table.
UPDATE GL_ALL
SET GL_ALL.Period = Fiscal_Yr_Table.Period, GL_ALL.Week=Fiscal_Yr_Table
FROM Fiscal_Yr_Table,GL_All
WHERE (GL_ALL.Import_Date>=Fiscal_Yr_Table.Start_Date) AND
(GL_ALL.Import_Date<=Fiscal_Yr_Table.End_Date);
This works in SQL server but not in Access
run. Any suggestions?
I have two tables. GL_ALL contains all imported records with blank Period
and Week but the Import date is poppulated with a calendar date.
Fiscal_Yr_Table contains the calendar for the fiscal year. It has the
period, week, start date and end date for each period and week
I want to update the GL_ALL table with the proper Period and Week from the
Fiscal_Yr_Table based on the Import date in the GL_ALL table.
UPDATE GL_ALL
SET GL_ALL.Period = Fiscal_Yr_Table.Period, GL_ALL.Week=Fiscal_Yr_Table
FROM Fiscal_Yr_Table,GL_All
WHERE (GL_ALL.Import_Date>=Fiscal_Yr_Table.Start_Date) AND
(GL_ALL.Import_Date<=Fiscal_Yr_Table.End_Date);
This works in SQL server but not in Access