The bacteria should survive I'd think...however the other stuff, I'm not sure. I'm nowhere near an ocean (though I've seen both the Pacific and the Atlantic), and not a big proponent of buying live sand from the
LFS, so I just dunno what kinds of life you could expect in beach sand, let alone if it'll survive.