 
 .DESCRIPTION
     Get detailed information about In-Memory SQL Server objects
+    Tested on SQL Server: 2014, 2016, 2017
 
 .PARAMETER @instanceLevelOnly
     Only check instance In-Memory related information

            ##############################################################
            */
            SELECT @sql = CONCAT(
                   'SELECT ''List indexes on memory-optimized tables in this database'','
                   ,'''Indexes'' AS objects,'
                   ,''''
                   ,dbName
                   ,'''' 

        ####################################################
        */
        DECLARE @sql     NVARCHAR(MAX) = ''
              , @counter INT = 1
              , @MaxRows INT = (SELECT COUNT(*) FROM #inmemDatabases);

        WHILE @counter <= @MaxRows
        BEGIN
