server->create sql function create_seq