FUNCTION  fGetUrlFitsBin

Get the URL to the FITS file of a binned frame given 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.fGetUrlFitsBin(568688299343872,'r')

Input and output parameters

nametypelengthinoutpnum
@fieldIdbigint8input1
 varchar256input0
@filtervarchar4input2