Find Jobs
Hire Freelancers

SQL Queries to calculate dates

$10-30 USD

Terminado
Publicado hace alrededor de 1 año

$10-30 USD

Pagado a la entrega
Validate and change the start dates in startdate column of tblSchedule_Tasks by querying the enddate of the predecessor task. If the predecessor is 0 the start date remains the same. If the predecessor is 20 for example, you will need a sub query taskNumber = 20 EndDate and change the start date to the taskNumber 20 enddate + 1 day. Each start date needs to be validated against tblHoliday:HolidayDates If the start date is a Saturday add two days to make if Monday If the start date is Sunday add one day to make it Monday. complete sql query that calculates enddate from Startdate + duration. Omitting weekend days and dates from tblHolidays. The query must start with the actual start date then add the duration. For example, if the start date is Monday with a duration of of 1 day the end date is Monday. If the start date is Monday with a duration of 2 days the enddate is Tuesday. You need to test the query for calculated end dates of Friday (there seems to be issues landing on Friday). Need testing for duration of up to 35 days ... skipping multiple weekends and multi day holidays. I have sql table 'tblSchedule_Tasks.' I need to add start date to duration. The calculated enddate needs to skip weekends and a handful of dates in 'tblHoldays.' One wrinkle is that the dateadd function counts day #1 on the date following the Startdate. I need it to start the count on the actual start date. IE, StartDate April 19,2023 with a 2 day duration needs a end date of April 20, 2023. Also the query needs to begin with a startdate validated to a prececessor task. I would like to send you the tables in ssms format. After the queries are written I can take it from there. this is a common business use case in a scheduling program. Are you familiar with working with dates in tsql? i exported the two table using generate script in ssms. For simplicity use scheduleID = 20063 in tblSchedule_Tasks. there are several dummy jobs in the table.
ID del proyecto: 36434006

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 1 año

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
$0 USD en 1 día
4,9 (66 comentarios)
6,8
6,8
5 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
Hello Friend! Having gone through deeply in your requirements like SQL Queries specifications. We conclude that we can do this easily. And we will do it as your requirements. And you will be happy to see our work. And we assure you that you will give us bonus at the end after seeing our work. Thank you. With best wishes, Ahianushashim Technologies
$20 USD en 1 día
5,0 (2 comentarios)
2,9
2,9

Sobre este cliente

Bandera de SPAIN
Madrid, Spain
5,0
10
Forma de pago verificada
Miembro desde mar 18, 2023

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.