• Any way to convert the above vb code to sql