The best way is to query your database tables with the proper delimiter (ie ";"). See if you can do it that way. Otherwise,
$ echo "john doe 1900-01-01 california" | sed 's/ /;/2g'john doe;1900-01-01;california
This will break if the name has 3 or more words.