This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR ALTER FUNCTION dbo.get_statistics_columns_info | |
( | |
@object_name NVARCHAR(128), | |
@object_type NVARCHAR(10) | |
) | |
RETURNS TABLE | |
AS | |
RETURN | |
( | |
SELECT TOP 100 PERCENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR ALTER FUNCTION dbo.statistics_update | |
( | |
@object_id INT, | |
@stats_id INT, | |
@tf2371_enabled BIT = 1 | |
) | |
RETURNS TABLE | |
AS | |
RETURN | |
( |