
Closed
Posted
Paid on delivery
Thousands of lines of T-SQL that once worked are now returning incorrect results. I need a fresh set of expert eyes to comb through the entire script, pinpoint exactly where the logic breaks down, and fix it. The code lives in SQL Server. While you work through the main script, I also need you to cascade several hundred new parameters into a series of dependent stored procedures. These procedures already compile; they simply require the additional parameters to be wired through correctly so downstream calculations stay consistent. What I expect from you: • A clean, corrected version of the original query and any touched procedures • A concise change log explaining the root cause of the logical error and how you resolved it • Updated stored procedures with the new parameters fully integrated and tested • A brief validation script or sample run that proves the results are now accurate If you can move quickly and document clearly, let’s get started right away.
Project ID: 40372259
57 proposals
Remote project
Active 4 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
57 freelancers are bidding on average $136 USD for this job

Hi, I can help you debug and repair your SQL Server T-SQL scripts, including identifying where the logic breaks and correcting the full query behavior. I will carefully review the existing codebase to pinpoint incorrect joins, filters, aggregations, or execution flow issues affecting results. I’ll also cascade the new parameters across all dependent stored procedures, ensuring they are properly wired end-to-end without breaking existing logic. Using Microsoft SQL Server, I will validate execution plans and ensure consistency across all affected procedures. You will receive a fully corrected version of the main query and all updated stored procedures with clean, production-ready formatting. I will also provide a concise change log explaining the root cause of the issue and how each fix resolves it. Finally, I’ll include a validation script to confirm the results are now accurate and stable. Warm regards, Harpreet Singh
$50 USD in 5 days
9.4
9.4

When a long-running T-SQL script suddenly starts producing wrong results, the issue is usually buried in data assumptions, parameter flow, or subtle logic drift across dependent procedures. I’ve handled similar situations where large SQL Server queries and stored procedures were returning inconsistent outputs due to changes in data patterns or overlooked conditions. The key is to break the problem down step by step, validate intermediate results, and trace how values move through each procedure. My approach would be to first isolate the core query logic and compare expected vs actual outputs at each stage. Once the root cause is identified, I’ll correct the logic and ensure it aligns with the intended calculations. In parallel, I’ll propagate the new parameters through all dependent stored procedures carefully, verifying that nothing downstream is impacted. I’ll provide a clean, corrected version of the scripts, a clear explanation of what was going wrong, and a validation script so you can confidently confirm the results. Can you share whether the incorrect results are affecting specific scenarios or all outputs, so I can prioritize the debugging path? Best regards, Rajesh
$140 USD in 7 days
9.4
9.4

I can help with this, I will trace the logic failure in your T-SQL, deliver a corrected script with a change log, and wire the new parameters through all dependent stored procedures — with a validation script proving accuracy. One approach I will take: I will diff the query's execution plan against expected row estimates at each join to isolate where data drift or implicit conversions silently broke the logic. Questions: 1) Are the incorrect results off by volume (missing rows) or by value (wrong calculations)? 2) How many stored procedures need the new parameters wired through? Looking forward to potentially working together. Thanks, Kamran
$90 USD in 5 days
7.8
7.8

I understand you need an expert to analyze and correct T-SQL script logic errors in SQL Server, as well as integrate new parameters into dependent stored procedures. I will provide a clean, corrected query, updated procedures, and a detailed change log. I am confident in my data processing, SQL, and database programming skills to deliver accurate results quickly. The budget can be adjusted after discussing the full scope. Let's get started right away to ensure your satisfaction. Please review my 15-year-old profile for reference. Looking forward to discussing the job details and showcasing my commitment.
$88 USD in 3 days
7.4
7.4

Hello! Thanks for providing detailed information about your job. It instantly grabbed my attention because debugging large T-SQL scripts that return incorrect results is exactly what I handle in production systems. I have extensive experience as a Senior SQL Server Developer, working with complex queries and stored procedures (SQL Server 2000–2022), including fixing logic issues and restructuring parameter flows. I can quickly help you with: • Analyze your full T-SQL script (thousands of lines) to find the exact logic issue • Fix incorrect joins, filters, or aggregations causing wrong results • Cascade and integrate hundreds of new parameters across dependent stored procedures • Ensure all procedures remain consistent and accurate Deliverables: ✔ Clean, corrected query and updated procedures ✔ Clear change log (root cause + fix explanation) ✔ Fully integrated parameters across all SPs ✔ Simple validation script to confirm correct results I’ve handled similar cases where large scripts produced silent data issues and required careful debugging without breaking existing logic. I have been a Senior SQL Server DBA, Database Developer & Data Engineer for over 10 years. Please review my profile for 5-star feedback and proven results. Freelancer Profile: https://www.freelancer.com/u/ShafirR If you choose me, you’ll get someone who can quickly identify the root cause and deliver a clean, reliable fix. Kind Regards, Shafir Top Rated Freelancer (Top 3%)
$250 USD in 2 days
6.6
6.6

I can review and fix your T-SQL logic, correct the root issue, and properly cascade the new parameters across all dependent stored procedures. You’ll get clean, tested code, a clear change log, and a validation script to confirm accurate results.
$90 USD in 2 days
6.3
6.3

Hello there, I’m a reliable and detail-oriented professional with experience delivering high-quality results across a range of projects, ensuring accuracy, efficiency, and clear communication throughout. I focus on understanding your exact requirements and providing solutions that are practical, well-structured, and ready for immediate use or implementation. I can start right away and deliver within your timeline while maintaining strong attention to quality and consistency.
$80 USD in 1 day
5.8
5.8

I can trace the exact point where your SQL Server logic diverged and return a corrected script with every dependent procedure wired cleanly through. This is the kind of deep T-SQL debugging and parameter cascade work I do best. Why I’m a fit for this project: I’ve spent 10+ years diagnosing broken SQL Server queries, refactoring stored procedures, and validating business logic in production systems where one bad join, filter, or parameter pass can skew thousands of rows. I’m comfortable working through large scripts methodically and documenting every change. Key strengths: • Root-cause analysis of incorrect SQL results, not just syntax fixes • Cascading large parameter changes through nested stored procedures • Clear validation: change log, corrected code, and proof-run script Relevant experience includes SQL Server data reconciliation, stored procedure maintenance, and performance/logic troubleshooting across complex reporting and ETL environments. My approach: first isolate the failing logic with targeted test cases, then repair the main query, propagate the new parameters through dependent procedures, and finish with a concise change log plus a validation script that demonstrates the corrected output. If you’d like, I can start by reviewing the main script and outlining the failure points before making changes.
$140 USD in 4 days
6.6
6.6

Hi there, I like how you have outlined your project description with clear expectations and deliverables. You need an expert to review a complex T-SQL script that is currently returning incorrect results, identify the exact logical errors, and fix them. Additionally, there is a requirement to add several hundred new parameters through a cascade of stored procedures, ensuring these changes maintain data consistency and accuracy. With extensive experience in SQL Server development and debugging, I specialize in troubleshooting large T-SQL scripts and optimizing stored procedures. I am confident in my ability to analyze your scripts thoroughly, pinpoint where the logic goes wrong, and provide a clean, corrected version. I also have a proven track record of handling complex parameter integrations while maintaining performance and integrity. What sets me apart is my attention to detail and commitment to clear documentation. I will deliver not only the fixed queries and updated procedures but also a concise change log explaining the root causes and resolutions, plus a validation script to prove accuracy. If you are looking for a reliable, detail-oriented professional who can start promptly and keep communication transparent throughout, I’d love to discuss this further and get started right away.
$175 USD in 7 days
5.5
5.5

Please have a look at my profile and would like to start work on it right now. After reading your job description I would like to help you review and fix your T-SQL scripts. I understand how frustrating it can be when code that once worked starts returning incorrect results, especially when it affects downstream calculations. please feel free to ask if you have any querires. Here’s how I will approach your task: - Carefully review the full script to identify the root cause of the incorrect results - Fix the logic and ensure the query returns accurate and consistent output - Add and cascade the new parameters across all dependent stored procedures - Test everything thoroughly to confirm downstream calculations remain correct - Provide a clean corrected version, a clear change log, and a validation script to prove the results are accurate So looking forward to hear from you soon. Thanks & regards.
$150 USD in 3 days
5.4
5.4

Hi, How are you? I can see that you have posted this project twice with different descriptions. Please let me know and give me access/overview of work you want. I shall give my full attention to it. Regards, Muhammad Ali Safder
$140 USD in 7 days
5.3
5.3

Hello Client, I hope you are doing well. I came across your project **SQL Server Query Failure Analysis**, and it immediately caught my interest. Based on your description, I’m confident that I can deliver high-quality results that align perfectly with your expectations. **Why I’m a great fit for this project:** • I have strong experience working with Data Processing, MySQL, Database Administration, Database Programming, Microsoft SQL Server, Data Analysis, SQL, Database Design, Performance Tuning, Database Management, and I’ve completed similar projects in the past. • I always focus on clean, optimized, and fully functional work. • Communication and responsiveness are my top priorities — you’ll always be updated on progress. **What I will deliver:** • A complete and professional solution tailored to your project requirements • Timely delivery within your budget range of **30.00 - 250.00 USD** • Clean, well-structured work with revisions included • A focus on quality, clarity, and long-term reliability If you would like to discuss your project further, I’m available at any time. I would love the opportunity to work with you and help bring your idea to life. Thank you for considering my proposal. I look forward to working with you! Best regards, Nadeem Shaikh
$100 USD in 3 days
5.1
5.1

Hello there, I understand you have a large SQL Server script that suddenly returns incorrect results and you need a fresh, precise audit plus a parameter cascade through hundreds of procedures. I approach this by first mapping the data flow and identifying where assumptions diverge from the current data, then rewriting the faulty logic in a minimal, testable way. With years in database programming and performance tuning on SQL Server, I've cleaned and validated complex T-SQL pipelines, rebuilt parameter sets, and added robust validation scripts. I will deliver a corrected query, touched procedures, a clear change log, and a validation script that proves results align with expectations. I can start immediately and will provide a concise turnaround with tests you can run locally. Best regards, Billy Bryan
$250 USD in 5 days
4.7
4.7

Hello, there ✌️ ----- I completely understand your project. I think your goal for this task is to analyze and troubleshoot SQL Server query failures to ensure optimal performance and efficiency in data retrieval and processing. In a previous project, I worked on a database optimization project for a tech company where I identified and resolved SQL query performance issues, resulting in a 35% improvement in database response time. This experience has equipped me with the skills to effectively analyze and troubleshoot SQL Server query failures, ensuring smooth and efficient data retrieval processes for your project. I'm really confident that I can deliver accurate analysis and effective solutions to optimize SQL Server query performance for your project. OK, let's discuss your task in more detail. ✌️ Best regards, Bogoljub
$140 USD in 7 days
4.3
4.3

With my extensive experience in database development, including proficient MySQL skills, I am confident in my ability to effectively tackle your SQL Server query issues. Throughout my 5-year journey as a Full Stack Developer, I have frequently been entrusted with identifying and fixing complex code errors much like the ones you are facing. By using both my technical knowledge and logical problem-solving skills, I can meticulously comb through your script, analyze its logic, and provide a clean and corrected version. Not only will I proficiently address your immediate needs by correcting the original query and integrating new parameters into dependent stored procedures, but I also understand the importance of documentation. For each issue I find, I will provide you with a clear change log detailing the root cause of the problem and my resolution process. Additionally, all updated procedures will be thoroughly tested to ensure downstream calculations remain consistent with the newly added parameters. Moreover, my proficiency extends beyond mere debugging; it includes a deep understanding of database design and query optimization. By offering this holistic skillset, I can optimize your queries as well as ensure comprehensive integration of the necessary changes. You can expect speedy yet meticulous work from me to minimize any disruptions to your project timeline. Let's get started and turn these incorrect results around!
$50 USD in 1 day
4.4
4.4

I will review your entire T-SQL script to identify exactly where the logic is breaking and correct it to ensure accurate results. I will carefully trace data flow, validate calculations, and deliver a clean, fully corrected version of the query. I will also integrate the new parameters across all dependent stored procedures, ensuring they are properly passed and aligned so downstream logic remains consistent and reliable. Along with the fixes, I will provide a clear change log explaining the root cause of the issue, updated procedures, and a validation script to demonstrate that the results are now correct. I can start immediately and work efficiently with clear documentation throughout.
$30 USD in 1 day
3.8
3.8

⚠️ If you're not happy, you don’t pay. ⚠️ Hi there, thank you for checking my proposal and sharing the detailed project brief. I can audit and correct your T-SQL script in SQL Server, ensuring accurate results and integrating new parameters seamlessly. I will deliver: • Clean, corrected original query and procedures • Concise change log detailing logical errors and resolutions • Updated procedures with new parameters fully integrated and tested • Validation script confirming accurate results You will also receive: • Clear documentation on changes made I am confident I can execute your vision professionally and efficiently. Looking forward to discussing timeline and next steps. Best regards, Chirag.
$200 USD in 7 days
3.8
3.8

Hi there! You are dealing with broken T-SQL logic in SQL Server and the real challenge is tracing subtle query-level errors while safely cascading hundreds of new parameters through dependent stored procedures without breaking downstream calculations. In a recent SQL Server optimisation project, I debugged and corrected a 2,000+ line reporting procedure that was producing inconsistent aggregates, restoring accurate outputs and improving execution time by 40% through query refactoring and indexing adjustments. I also regularly handle multi-layer stored procedure refactoring where parameter propagation must stay fully consistent across chained logic. I will systematically trace execution paths in your main script, isolate logic breakdown points, and correct joins, filters, or aggregation rules causing incorrect results. I will then safely propagate the new parameters through all dependent stored procedures, ensuring compilation, consistency, and validation with test runs. Check our work: https://www.freelancer.com/u/ayesha86664 What testing dataset or expected output sample do you currently use to validate that the results are correct? I am ready to start — just say the word. Best Regards, Ayesha
$110 USD in 2 days
3.9
3.9

When SQL scripts that used to work suddenly start producing wrong results, it can feel like the whole operation is at risk. Sifting through thousands of lines of T-SQL while trying to keep downstream calculations accurate, especially with new parameters in play, is both urgent and exhausting. You can expect a fully corrected script with all logic issues identified and fixed, plus every dependent stored procedure updated cleanly so results are consistent and easy to trust. First, I will analyze your main script line by line to isolate exactly where the logic breaks down. Then, I will wire through all the new parameters in each affected stored procedure, making sure the calculations remain accurate. Finally, I will provide a clear change log, plus a validation script to prove everything works as intended. Would you like to share the scripts now, or is there a specific section you want me to focus on first?
$135 USD in 7 days
3.7
3.7

I debug complex T SQL logic in SQL Server and have handled large stored procedure chains where parameter propagation and downstream calculation accuracy were critical. I will trace the script step by step to isolate the exact logical break, correct the query safely, and wire the new parameters through each dependent procedure without breaking compile or result consistency. I will also provide a clear change log, updated procedures, and a validation script or sample run so you can verify the corrected output with confidence. In a similar SQL Server fix, I resolved incorrect result sets caused by legacy join and filter logic, then propagated new parameters across linked procedures by mapping dependencies and testing each execution path. I am ready to start working immediately and would like to partake to your company's growth and success.. Thanks
$140 USD in 7 days
3.3
3.3

Piscataway, United States
Payment method verified
Member since Nov 2, 2016
$30-250 USD
$30-250 USD
$30-250 USD
$750-1500 USD
$30-250 USD
$30-250 USD
$250-750 USD
$250-750 USD
$30-250 USD
₹75000-150000 INR
£250-750 GBP
₹12500-37500 INR
₹100-400 INR / hour
$10-30 USD
$30-250 NZD
$30-250 USD
$750-1500 USD
₹600-1500 INR
$30-250 USD
$500-5000 USD
$10-30 USD
₹1500-12500 INR
₹12500-37500 INR
$250-750 USD
£10-15 GBP / hour