Which Week has an Opponent of san francisco 49ers?
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR) Question: Which Week has an Opponent of san francisco 49ers? [/INST] SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers" </s>