Coils: Added sql-1 function to server side