FUNCTION  fGetUrlFitsCFrame

Get the URL to the FITS file of a corrected frame given the fieldID and band

Combines the value of the DataServer URL from the SiteConstants table and builds up the whole URL from the fieldId (and a u, g, r, i or z filter)
select dbo.fGetUrlFitsCFrame(568688299343872,'r')

Input and output parameters

nametypelengthinoutpnum
@fieldIdbigint8input1
 varchar256input0
@filtervarchar4input2