Scalar. Returns a number representing the square of the distance between two points in either two or three dimensions.
point1x |
An expression that evaluates to a value representing the position of the first point on the x axis. |
point1y |
An expression that evaluates to a value representing the position of the first point on the y axis. |
point1z |
An expression that evaluates to a value representing the position of the first point on the z axis. |
point2x |
An expression that evaluates to a value representing the position of the second point on the x axis. |
point2y |
An expression that evaluates to a value representing the position of the second point on the y axis. |
point2z |
An expression that evaluates to a value representing the position of the second point on the z axis. |
INSERT INTO OutStream SELECT DISTANCESQUARED(4.7, 5.75, 2.1, 6.33) FROM InStream;