
Geschlossen
Veröffentlicht
Bezahlt bei Lieferung
I need an SQL stored procedure that converts our raw machine punches into clear IN and OUT records for every employee, taking our floating-shift logic into account. The punches arrive already tagged with numeric shift codes, and each employee’s master record – which lists their ID, name, department, and shift preferences – tells us whether they are tied to D1, N1 or can move between the two. Here is what the routine must do: • Read the unprocessed punch table straight from the clocking machine. • Match each punch to the correct employee and decide whether it begins or ends a D1 or an N1 shift, even when the shift crosses midnight. • Build (or update) an attendance table that stores one clear IN and one clear OUT per person, per shift, per day. • Flag exceptions (missing OUT, double IN, unexpected shift, etc.) in a separate column so our HR team can review them quickly. I will share the current table definitions and several days of sample data as soon as we start. Please keep your script fully commented, include any needed indexing or performance tweaks, and provide a simple test query that shows the expected output. I’m working on SQL Server, so T-SQL is preferred, but if you have a different suggestion that stays in the Microsoft stack let me know. Once the procedure runs cleanly on the sample set, I’ll validate it against a larger slice of production data before signing off.
Projekt-ID: 40074852
14 Vorschläge
Remote Projekt
Aktiv vor 26 Tagen
Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
14 Freelancer bieten im Durchschnitt ₹10.793 INR für diesen Auftrag

Hello, I can help with this. I have strong hands-on experience writing T-SQL stored procedures for attendance and punch-processing systems, including floating shifts, cross-midnight logic, and exception handling. I will build a fully commented stored procedure that reads the raw punch data, correctly determines IN/OUT per employee per shift (D1/N1), updates the attendance table, and flags exceptions such as missing OUTs, duplicate INs, or unexpected shifts. Performance and clarity will be addressed through proper indexing, clean date/time logic, and a test query that demonstrates the expected output. Regards, Arbaz S
₹7.000 INR in 7 Tagen
4,1
4,1

I am a senior developer of ASP.NET Core MVC & CMS & ASP.NET & Java with over 8 years of experience in software development. I am an expert on windows and web development using C#, VB.NET, VB6, ASP.NET, Entity Framework, Spring Boot. I work with ASP.NET, Core, MVC, Web API, WebServices, WCFServices, Webform, SQL Server, MongoDB, MySQL, Crystal Report, RDLC, SSIS, SSRS, HTML, CSS, Javascript, TypeScript, Jquery, AJAX, Angular, TFS, SVN, Github, GitLab, Azure, Plesk, Angular, Angular2, Javascript, HTML, CSS, JQUERY.
₹3.500 INR in 7 Tagen
3,9
3,9

Hi, I’m Tamas, a full-stack developer with 9+ years of experience working with SQL Server in production systems (finance, telecoms, HR/attendance). I regularly design **robust T-SQL procedures** that transform messy operational data into clean, auditable records. **How I’ll approach this** * Analyse raw punch data and employee master records (D1 / N1 / floating). * Design a **clear shift-resolution algorithm** that correctly pairs IN/OUT punches, including **cross-midnight shifts**. * Build a **fully commented T-SQL stored procedure** that: * Reads unprocessed punches * Resolves shift boundaries intelligently * Inserts/updates a consolidated attendance table (1 IN + 1 OUT per person, per shift, per day) * Flags exceptions (missing OUT, double IN, unexpected shift, overlaps) * Add **indexes and performance optimisations** suitable for scale. * Provide a **simple validation query** showing expected output for HR review. **Proposed Timeline** * **Day 1:** Review table schemas, sample data, shift rules * **Day 2:** Design logic for shift resolution & exception handling * **Day 3:** Implement stored procedure (core logic) * **Day 4:** Exception flags, indexing, performance tuning * **Day 5:** Testing on sample data + output query + refinements **Clarifying Questions** 1. Exact D1/N1 time boundaries (e.g. 08:00–20:00?) 2. Can an employee have more than 2 punches per shift/day? 3. Should late/early punches be tolerated or flagged?
₹45.000 INR in 5 Tagen
2,1
2,1

Dear Mithilesh, I am well-equipped to develop the SQL stored procedure you require for transforming raw clock punches into clearly defined IN and OUT attendance records, fully respecting your floating-shift logic and complex shift transitions across midnight. Leveraging deep expertise in Microsoft SQL Server and T-SQL, I will implement a robust, fully-commented procedure that: - Reads directly from the unprocessed punch table, - Accurately matches each punch to employees and their designated shifts (D1, N1, or flexible), - Creates and updates a normalized attendance table with distinct IN/OUT entries per person, shift, and day, - Flags anomalies such as missing punches or shift conflicts for immediate HR review. I will include strategic indexing and performance optimizations to handle large production data sets efficiently. Additionally, a straightforward test query will be delivered to demonstrate expected outputs on your sample data, ensuring seamless validation before deployment. I am confident that my disciplined approach to database development and data management will provide a reliable, maintainable solution aligned with your operational needs. I welcome the opportunity to discuss next steps and timeline upon reviewing your table schemas and sample data. Best regards, Jovan
₹7.000 INR in 7 Tagen
0,0
0,0

I am a perfect fit for your project because you’re looking for a clean, professional, and automated solution that integrates properly into an existing system rather than a quick workaround. I have extensive experience in the SQL domain, building and maintaining stored procedures, backend logic, and data-driven systems that are reliable, user-friendly, and production safe. While I am new to freelancer, I have tons of experience and have done other projects off site. I would love to chat more about your project! Regards, Ruan Pinto
₹16.000 INR in 1 Tag
0,0
0,0

With my proficiency in T-SQL and SQL Server, I am adept at efficiently processing and analyzing large volumes of data while addressing performance challenges. My approach towards your project would include thoughtful indexing and performance tuning recommendations that could significantly enhance query execution time and general system performance. I assure that your upcoming test on my delivered script will be both smooth and impressive. Understanding the criticality of a clearly commented script, I ensure you of legible code annotations for better understanding, error tracking, and future maintenance. Additionally, as a cybersecurity-conscience professional, data security is integral to my deliverables, thereby protecting your system from vulnerabilities is an Inherent part of my delivery process.. I analyze potential risks meticulously and guarantee high levels of protection for your valuable production data. In conclusion, hiring me guarantees timely and quality delivery without compromising on security or integrity - Your satisfaction is key to me. I look forward to discussing further details about your project objectives and how my skills fit perfectly into achieving them in the best possible way. Thank you for considering my application!
₹7.000 INR in 2 Tagen
0,0
0,0

Hello, I can create a robust SQL Server (T-SQL) stored procedure to convert raw punch data into accurate IN/OUT attendance records, including floating shifts and overnight shifts.
₹7.000 INR in 7 Tagen
0,0
0,0

Hi, hope you are doing well! My name Suresh K, I have 12+ years of experience in SQL Server database development. Please share me the current table definitions and several days of sample data. So that I can start and working on it. I quoted max price, need to see the table definition and data, so that I will tell you the final price. Please share me the data in .sql file or csv which is convenient to you and expected output also Thanks, Suresh M
₹10.000 INR in 7 Tagen
0,0
0,0

Proposal – SQL Stored Procedure for Attendance Processing I have 6–7 years of experience with MS SQL Server, specializing in stored procedures, triggers, functions, and complex attendance/employee databases, along with ASP.NET integration. I can build a fully commented T-SQL stored procedure to convert raw machine punches into clean IN/OUT attendance records, handling D1/N1 floating shifts, midnight crossings, and employee shift rules. The solution will update a clear attendance table and flag exceptions (missing OUT, double IN, wrong shift) for quick HR review. I’ll include performance indexing, clean logic, and a test query to verify results. Once you share table structures and sample data, I can start immediately and deliver a reliable, production-ready solution.
₹5.600 INR in 7 Tagen
0,0
0,0

"Intermediate-level digital expert with a comprehensive skill set bridging technology, creativity, and management. I pride myself on fast typing speeds and professional bilingual translation (Arabic/English), with a proven ability to manage time effectively and perform under pressure to meet tight deadlines. My expertise covers programming, troubleshooting, graphic design, and digital marketing, alongside data analysis and sales promotion. I have a solid background in customer service and community management, handling accounts and responses with high professionalism. I am a tech-savvy problem solver dedicated to delivering high-quality, integrated solutions for your business."
₹7.000 INR in 5 Tagen
0,0
0,0

Hello, I can develop a fully commented T-SQL stored procedure to convert raw machine punches into clear IN/OUT attendance records, handling D1/N1 floating shifts, midnight crossings, and employee shift preferences. The solution will: Read unprocessed punch data directly from the machine table Correctly pair punches per employee and shift Build/update a clean attendance table (one IN, one OUT per shift/day) Flag exceptions like missing OUT, double IN, or unexpected shifts Include performance optimizations and a test query for validation I have strong experience with SQL Server attendance and time-based logic and can deliver a reliable, well-tested solution within 7 days. Regards, Shiwangi Gupta
₹7.000 INR in 7 Tagen
0,0
0,0

I am an experienced SQL and database administrator with solid hands-on expertise in cloud storage management and professional IT support operations.
₹12.000 INR in 7 Tagen
0,0
0,0

I propose to deliver a robust SQL Server solution focused on T‑SQL development, optimization, and automation. Leveraging my 20+ years of experience in the Microsoft stack — including SQL Server, SSRS/SSIS, and Entity Framework — this project will streamline database operations, improve performance, and ensure maintainability. I have done the same thing in the past for my clients.
₹10.000 INR in 7 Tagen
0,0
0,0

I can design and implement this stored procedure cleanly in SQL Server using T-SQL. I have strong experience converting raw machine punch data into normalized IN/OUT attendance records, including handling floating shifts (D1/N1), shift codes, and cross-midnight logic. My approach will read directly from the unprocessed punch table, join to the employee master to determine shift eligibility, and apply deterministic rules to classify each punch as IN or OUT per shift/day. I will build or update the attendance table with one clear IN and OUT per employee per shift, while flagging exceptions such as missing OUTs, duplicate punches, or unexpected shifts in a dedicated column. The procedure will be fully commented, include recommended indexes or performance optimizations, and I will provide a simple validation query showing the expected output. I can start immediately once you share the schema and sample data and iterate quickly during testing.
₹7.000 INR in 3 Tagen
0,0
0,0

Bhiwāni, India
Mitglied seit Dez. 13, 2025
₹1500-12500 INR
₹1250-2500 INR / Stunde
$10-30 USD
₹12500-37500 INR
$15-25 USD / Stunde
$2-8 USD / Stunde
$10-30 USD
₹12500-37500 INR
$8-15 USD / Stunde
₹1500-12500 INR
₹75000-150000 INR
₹1500-12500 INR
$25-40 AUD / Stunde
$30-250 USD
₹12500-37500 INR
₹2000-5000 INR
₹750-1250 INR / Stunde
$2-8 USD / Stunde
£1500-3000 GBP
£750-1500 GBP
₹350-450 INR / Stunde