Do the same for SQLite and MSSQL