Bash Script Split String Into Array In Sql