Fixed format string to form database url