Question: how many years do you go to jail for stabbing someone?
Answer: Aggravated assault with a deadly weapon can get you a couple years in prison at the worst case, but you'll most likely be put on probation. Attempted murder is more serious and will likely get you prison time. The length, as in all cases, is determined by the judge.