NXP-10912, NXP-13800: fix SQL Server sequence availability and Azure detection