Returns table of objects inside a rectangle defined by two ra,dec pairs. Note the order of the parameters: @ra1, @ra2, @dec1, @dec2 |
Assumes dec1 returned fields: sample call select * from dbo.fGetObjFromRect(185,185.1,0,.1) |
name | type | length | inout | pnum |
@ra1 | float | 8 | input | 1 |
@ra2 | float | 8 | input | 2 |
@dec1 | float | 8 | input | 3 |
@dec2 | float | 8 | input | 4 |
run | int | 4 | output | 2 |
camcol | int | 4 | output | 3 |
field | int | 4 | output | 4 |
rerun | int | 4 | output | 5 |
type | int | 4 | output | 6 |
cx | float | 8 | output | 7 |
cy | float | 8 | output | 8 |
cz | float | 8 | output | 9 |
objID | bigint | 8 | output | 1 |
htmID | bigint | 8 | output | 10 |