Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create table horas
- (
- fechaEntrada datetime,
- fechaSalida datetime,
- horasEstimadas int
- );
- horasEstimadas int check (horasEstimadas <= (select DATEDIFF(DD, fechaEntrada, fechaSalida)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement