I grew up next to Camp Pendleton in Oceanside, Ca. There is a large Navy & SEAL training center right down the 5 from me. As a whole, military pretty much well behaved off base. Going to clubs/bars, may be a little different. Always the occasional want-to-be bad ass, but that is to be expected. But no marine or sailor in their right minds wants to have problems with the military justice system of do brig time. But after saying that, the dirty little secret, among most of the military around SD county is drug use. Another secret is that a few hard core inner city gang members choose a member to join the marines or army. Navy or Air Force, not so much. Want some of that combat and weapons training to filter back to the street gangs. LAPD is another example of some gang influence among it's recruits. Also SD. Both cities are very hardup for new police and lowered their background checks a bit.
Military use to go to TJ for R&R, but no more. Enlisted single guy's make pretty good money so looking for good times. Military people will go off base with one or more guy's with them. Kind of like mutual protection in a way. And you can make good friends who will back you up.