Código SQL [-] select FechaAlta, FechaBaja, cast(FechaBaja-FechaAlta as Integer) dias from tabla where condiciones;
select FechaAlta, FechaBaja, cast(FechaBaja-FechaAlta as Integer) dias from tabla where condiciones;