Remove non standard if not exists sql function