[ticket/12710] Correctly fetch unique and normal indexes only in MSSQL

PHPBB3-12710
[ticket/12710] Fix problems with creating unique indexes on oracle

PHPBB3-12710
[ticket/12710] Fix "ORA-00972: identifier is too long [972]" on oracle

PHPBB3-12710
[ticket/12710] Correctly select index name and compare to column name

PHPBB3-12710