Hello,
I try to migrate a SAP SolMan 7.1 on Windows MSSQL 2008 R2 ENTERPRISE EDITION to
MSSQL 2008 R2 STANDARD EDITION.
In the source system (MSSQL 2008 R2 ENTERPRISE EDITION) there is "table compression" and
"partitioning" active.
the MSSQL STANDARD EDITION doesn`t support these two features.
So a normal DB backup on the source system and restore in the destination system is not possible.
But the tables compression I can deactivte by the SQL script
#####################
SELECT DISTINCT ‘ALTER TABLE [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
UNION
SELECT ‘ALTER INDEX ALL ON [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
#######################
is there a way to undo or deactivate the the SQL table partitioning without any data lost ?
Or is there a other way to migrate a SAP SolMan 7.1 form MSSQL 2008 R2 ENTERPRISE EDITION to MSSQL 2008 R2 STANDARD EDITION ?
Best regards
A. Moore