error in EXECUTE sp_executesql

when i execute this query, i get error of 'Incorrect syntax near the keyword 'VIEW'' please help me, what is the problem in this query? EXECUTE sp_executesql N' CREATE VIEW LastDayOfMonth AS SELE...