Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

check if table is Temporal

USE /*your db name*/
IF EXISTS (
        SELECT 1
        FROM sys.tables
        WHERE name = 'TABLE_NAME_HERE'
            AND temporal_type = 2
        )
BEGIN
     SELECT 'Yes'
 
END
ELSE
  BEGIN
     
    SELECT 'no'
 
  END

GO
 
PREVIOUS NEXT
Tagged: #check #table #Temporal
ADD COMMENT
Topic
Name
3+7 =