MS SQL Server – 96 – Spatial and Temporal Data MCQ

96 – Spatial and Temporal Data MCQ

1 / 25

1. What is the primary purpose of spatial data types in SQL Server?

2 / 25

2. Which SQL Server data type is used to represent points, lines, and polygons in spatial data?

3 / 25

3. What is the purpose of the STPointFromText function in SQL Server spatial data?

4 / 25

4. In SQL Server, which spatial data type is used to represent data on a round-earth ellipsoid?

5 / 25

5. What is the primary benefit of using the GEOMETRY data type in SQL Server for spatial data?

6 / 25

6. In SQL Server, which function is used to find the intersection of two spatial objects?

7 / 25

7. What is a common use case for spatial indexes in SQL Server?

8 / 25

8. Which SQL Server function is used to create a bounding box around a spatial object?

9 / 25

9. In SQL Server, what is the purpose of the STContains function for spatial data?

10 / 25

10. Which spatial data type in SQL Server is suitable for representing global data such as GPS coordinates?

11 / 25

11. In SQL Server, which function is used to determine if one spatial object is within a specified distance of another?

12 / 25

12. What is the primary difference between the GEOGRAPHY and GEOMETRY data types in SQL Server spatial data?

13 / 25

13. In SQL Server, which function is used to create a circular buffer around a spatial object?

14 / 25

14. What is the purpose of the STUnion function in SQL Server spatial data?

15 / 25

15. In SQL Server, which function is used to calculate the length of a line or the perimeter of a polygon in spatial data?

16 / 25

16. What is the purpose of temporal data types in SQL Server?

17 / 25

17. Which SQL Server data type is used to represent a single point in time?

18 / 25

18. In SQL Server, which data type is used to represent a range of dates and times?

19 / 25

19. What is the purpose of the SYSDATETIMEOFFSET function in SQL Server?

20 / 25

20. Which SQL Server function is used to extract the year from a DATETIME value?

21 / 25

21. In SQL Server, what is the maximum number of digits that can be stored in a TIMESTAMP data type?

22 / 25

22. What is the purpose of the DATEADD function in SQL Server?

23 / 25

23. Which SQL Server function is used to calculate the difference between two date and time values?

24 / 25

24. What is the purpose of the SWITCHOFFSET function in SQL Server?

25 / 25

25. In SQL Server, what is the purpose of the PERIOD data type for temporal data?

Your score is

0%