Skip to content

Returns the square root of a nonnegative number x. Returns Nan for negative input.

func.sqrt( <x> )
func.sqrt(4)
┌──────────────┐
│ func.sqrt(4) │
├──────────────┤
2
└──────────────┘
SQRT( <x> )
SELECT SQRT(4);
┌─────────┐
sqrt(4) │
├─────────┤
2
└─────────┘