conservation to sql