I tried B12, B6 and B2 for several months and they didn't do anything for my headaches.
I tried it and the B vitamins also but to no avail, none of those ever really helped me abort the headaches, relieve the pain, or make them less painfull or less often.