In classical mechanics Newton's second law applies only to constant mass systems. In those cases there's no difference between $F=ma$ and $F=\mathrm{d}p/\mathrm{d}t$. However, in special relativity the latter is valid, but the former is not. A relativistic definition of momentum is required: $p=\gamma m v$.
Some details
[rework of my original answer] Some of the responses given so far answer the OP, but have weaknesses that might lead to misconceptions about Newton 2. I'll try to address the issue.
Some of the answers so far are not entirely correct if by $p$ is meant $mv$ of the rocket. Newton's second law is valid only for constant mass systems. $F=\mathrm{d}p/\mathrm{d}t$ leads to the rocket equation by accident if the propellent is exhausted in a direction opposite to the direction of motion. If you are very careful about what you mean by $p$ a correct analysis can be made, but $p=m_\mathrm{rocket}v_\mathrm{rocket}$ does not work.
This Wikipedia entry. is the clearest statement of that fact that I've found.
To see why, consider a system comprising the rocket plus its remaining fuel and remaining propellant, which is what I think the other responders intend. (I may be wrong, but if so, they should clarify what exactly is their system.)
Imagine the system moving at constant velocity, and having two thrusters pointing perpendicular to the direction of motion, and directly opposite each other, and producing identical constant thrust by expelling exhaust gas. The thrust force of the two are equal and opposite. So the net force on the rocket is zero. Then $F_{net}=0$ and $\mathrm{d}v/\mathrm{d}t = 0$, and $v \neq 0$ and $\mathrm{d}m/\mathrm{d}t \neq 0$. Blindly applying $F=\mathrm{d}p/\mathrm{d}t$ leads to $0=v\,\mathrm{d}m/\mathrm{d}t$, a contradiction which can only be resolved if the mass is unchanging.
Comments on some comments
The system is losing momentum by losing mass, but it's velocity is not changing: there is no net force on the system. Momentum is conserved in the closed system consisting of the rocket and the exhausted propellant. The system consisting of the rocket plus the fuel and propellant not yet exhausted (fuel remaining in the tank) is an open system. Conservation of momentum does not apply to open systems.
Careful analysis of a variable mass system lead to $$ \vec{F}_\mathrm{ext}=\vec{u}\frac{\mathrm{d}m}{\mathrm{d}t} + m\frac{\mathrm{d}\vec{v}}{\mathrm{d}t}$$ where $\vec{u}$ is the velocity of the mass leaving the system relative to the velocity of the system, and $\vec{F}_\mathrm{ext}$ is the external force on the system. For a rocket $\vec{F}_\mathrm{ext}=0$, and $$ 0=\vec{u}\frac{\mathrm{d}m}{\mathrm{d}t} + m\frac{\mathrm{d}\vec{v}}{\mathrm{d}t}$$ This is not the same as $$ 0=\vec{v}\frac{\mathrm{d}m}{\mathrm{d}t} + m\frac{\mathrm{d}\vec{v}}{\mathrm{d}t}$$ where $\vec{v}$ is the velocity of the rocket.
Trying to write $F = m\,\mathrm{d}v/\mathrm{d}t + v\,\mathrm{d}m/\mathrm{d}t$ for a variable mass system is not correct. here's a nice discussion whose first sentences are "In mechanics, a variable-mass system is a collection of matter whose mass varies with time. Newton's second law of motion cannot directly be applied to such a system because it is valid for constant mass systems only."
Aeronautical engineers know all this. It's only physicists who are confused. I checked some books. Symon's and John R. Taylor's classical mechanics texts get it right, as does Halliday, Resnick, and Walker.