Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Yes, the erase startup-config will delete the stored configuration file and the delete flash:vlan.dat erases the vlan database. After issuing these commands you have to reboot the switch without saving the current configuration and the switch should reboot with a blank configuration.