Scalar. Returns a number representing 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 DISTANCE(4.7, 5.75, 1.2, 2.1, 6.33, 9.6) FROM InStream;