Sloan Digital Sky Survey
SkyServer DR16  
Not logged in Login Help
 

 

Glossary
Algorithms

Search for
Skip Navigation Links.
Expand TablesTables
Expand ViewsViews
Expand FunctionsFunctions
Expand ProceduresProcedures
Expand ConstantsConstants
Expand IndicesIndices
Schema Browser

FUNCTION  fPhotoType

Returns the PhotoType value, indexed by name (Galaxy, Star,...)
the PhotoType names can be found with
Select * from PhotoType
Sample call to fPhotoType.
select top 10 *
from photoObj
where type = dbo.fPhotoType('Star')

see also fPhotoTypeN

Input and output parameters

nametypelengthinoutpnum
@namevarchar40input1
 int4output0