Find Jobs
Hire Freelancers

compute overtime (TUR 2006-7-31)

$30-70 USD

进行中
已发布将近 18 年前

$30-70 USD

货到付款
say we know the clock-in/clock out pairs on an employee on a given date. An employee must work N minutes in a day. The time spent in the office after N minutes is overtime. We need to calculate the (possible) minutes of overtime an employee works on a given date. Besides, overtime must be returned split into special bands: Ord_day integer, /* minutes of overtime in band 6:00-22:00 of a work day */ Ord_night integer, /* minutes of overtime in band 22:00-6:00 of a work day */ Hol_day integer, /* minutes of overtime in band 6:00-22:00 of a holiday */ Hol_night integer, /* minutes of overtime in band 22:00-6:00 of a holiday */ You will write the following SP: create procedure SplitOvertime_( curdpt integer, /* department ID */ curemp integer, /* employee ID */ curdat date, /* current date */ N integer, /* the no of minutes to work in a day (overtime starts after that) */ night_fm integer /* starting time for night hours (in minutes after 0:00) es: 22*60 */ night_to integer /* final time for night hours (in minutes after 0:00) es: 6*60 */ mode integer /* 0= overtime belongs to the day a shift starts */ /* 1= overtime belongs to the day a shift ends */ /* 2= overtime belongs to the day they are actually worked */ ) returns ( Ord_day integer, /* minutes of overtime in band 6:00-22:00 of a work day */ Ord_night integer, /* minutes of overtime in band 22:00-6:00 of a work day */ Hol_day integer, /* minutes of overtime in band 6:00-22:00 of a holiday */ Hol_night integer, /* minutes of overtime in band 22:00-6:00 of a holiday */ id_shf integer /* worked shift ID */ ) if the employee works multiple shifts in a day (this is quite possible) the SP will return multiple rows . Coding rules apply. SQL must be for Firebird 1.5 ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform SQL
项目 ID: 3686019

关于此项目

3提案
远程项目
活跃18 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
3威客以平均价$48 USD来参与此工作竞价
用户头像
See private message.
$51 USD 在3天之内
4.7 (41条评论)
5.1
5.1
用户头像
See private message.
$59.50 USD 在3天之内
4.3 (8条评论)
4.2
4.2
用户头像
See private message.
$34 USD 在3天之内
5.0 (6条评论)
1.1
1.1

关于客户

ITALY的国旗
Italy
5.0
509
会员自2月 20, 2005起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。