Find Jobs
Hire Freelancers

MSSQL Iterate through records and insert into another table.

$10-40 AUD

Finalizat
Data postării: 5 luni în urmă

$10-40 AUD

Plata la predare
Currently have a query, which groups some sales data Select Top 100. Need it to iterate through all customers from the customers table and run this query 'per customer'. Then insert this data into another table. This is running in MSSQL. See 2 screen shots for current query and for data returned. I need this done now, so if you can't do it, please don't bid.
ID-ul proiectului: 37601464

Despre proiect

45 propuneri
Proiect la distanță
Activ: 5 luni în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
Hello there, within this iteration like this we can use cursor loop and then make a dynamical query to insert into another table and of Course run for each customer. Pls share me your data so we can start now. Waiting for your response if interested. Thank you!!!
$100 AUD în 1 zi
5,0 (59 recenzii)
6,3
6,3
45 freelanceri plasează o ofertă medie de $34 AUD pentru proiect
Avatarul utilizatorului
So we need to loop each customer and replace Cutomer No in Where clause with the loop object.. We can use While loop and also Cursors can be implemented .. Please message me so that we could discuss..I will start work on it right away. Looking forward to have a chat with you to discuss further.
$40 AUD în 1 zi
5,0 (140 recenzii)
7,3
7,3
Avatarul utilizatorului
Hi. I'm Kundan Bihari. I'd like to express my interest in helping you to refactoring the existing T-SQL Script to run the calculation for all the customers and insert the results to the target table as per your needs. I specialize in Microsoft SQL Server and have a strong history of managing performance and reliability for truly tough SQL Servers. Here's why you can trust me with your project: ➢ In-Depth Expertise: I've a deep understanding of SQL Server, both on-premises and in the cloud. I've successfully tackled various challenges, from T-SQL Programming to Troubleshooting Production Issues. ➢ Client-Centric Approach: Your satisfaction is my priority. I believe in open communication and working closely with you to deliver results aligned with your objectives. ➢ Proven Track Record: I've consistently delivered positive outcomes for clients, including significant performance improvements and cost savings. ➢ Timely Delivery: You can rely on me to meet project milestones and deadlines efficiently. ➢ Competitive Pricing: My rates are competitive, ensuring you receive value for your investment. Thank you for considering my proposal. I'm excited about the possibility of collaborating with you and making your project a success. If you've any questions or would like to discuss your project in more detail, please don't hesitate to reach out.
$40 AUD în 1 zi
5,0 (37 recenzii)
5,2
5,2
Avatarul utilizatorului
Hello I am full time freelancer with more than 8 years of experience in .NET, Winforms, WPF, SQL Server, .NET Core, WEB APIs, WCF, Entity Framework, Blazor, React and NODE.JS. Please come on chat and lets discuss the project scope and flow in details. Thank you for reading my proposal. Regards Manzoor
$30 AUD în 1 zi
4,5 (22 recenzii)
5,5
5,5
Avatarul utilizatorului
i can do it
$40 AUD în 7 zile
4,8 (20 recenzii)
4,9
4,9
Avatarul utilizatorului
I understand you are looking for someone to iterate through records and insert into another table. I believe I am the perfect person for this job as I have extensive experience in deploying and maintaining Microsoft SQL Server, AWS Amazon Web Services, Microsoft AZURE, Google Cloud (GCP) as well as various other server operating systems, web servers and servlets containers. I also have extensive experience in database servers such as MySQL and MS SQL as well as virtualization such as Hyper-V and VMware Server(ESXi). This makes me well-versed in all aspects related to the project description. My skillset also includes monitoring systems such as ZABBIX and CACTI as well as hosting panels such as PLESK and Website Panel which makes me well-positioned to meet your needs exactly when you need it the most. Please feel free to reach out if you have any other questions or would like more information about me or my skillset. Thank you for considering me for this position!
$40 AUD în 1 zi
4,9 (19 recenzii)
4,5
4,5
Avatarul utilizatorului
I can complete it now. Try to avoid looping to query tuning. Please review my profile. I have 14.1 years SQL Server Development experience.
$40 AUD în 1 zi
5,0 (24 recenzii)
4,2
4,2
Avatarul utilizatorului
Hello, I hope you are doing well. I am an experienced data engineer/ database administrator/ data analyst using ETL Tools (SSIS, Azure Data Factory)/ SQL Server/ Reporting Tools (SSRS, Jasper Report, Power BI) for more than 10 years. I have read your project description and I am very interested in your project. I can help you to create the SQL query to iterate through all customers from the customers table then insert data into another table as your requirement. I can start right now and will provide you the top quality work for sure. Please contact me to discuss more about the detail. Regards,
$35 AUD în 2 zile
5,0 (30 recenzii)
4,3
4,3
Avatarul utilizatorului
Hello. I can get this done within 3-4 hours. Thanks and Regards, Everest Technology .
$28 AUD în 1 zi
4,9 (5 recenzii)
4,1
4,1
Avatarul utilizatorului
Hi, I hope you are doing well. Okay, let us get connected. I can insert the results of a select query into another table. Thanks, Mahesh J
$40 AUD în 1 zi
5,0 (4 recenzii)
3,7
3,7
Avatarul utilizatorului
Hello! I am Matias, a systems analyst and computer systems analyst who has been programming for eight years. I understand you need iterate through records and insert into another table. Specifically, you need it done now so if can't do it please don't bid. I have experience in many areas, which make me the perfect fit for this job. My skills include Wordpress, Ionic Framework, Angular and PHP Frameworks (Laravel, Codeigniter, Slim and Symfony). Additionally, I have knowledge in HTML, CSS, JavaScript, NodeJS and Bootstrap which will be beneficial for this project. I believe I am the best choice for this project due to my communication skills and ability to deliver on time. Please don't hesitate to contact me if you would like more information or if there is anything else you would like me to clarify. Thank you!
$30 AUD în 1 zi
5,0 (3 recenzii)
3,5
3,5
Avatarul utilizatorului
Hello, I have write quick powershell script to get the records and insert into another table, kindly ping me and award the project Thanks
$40 AUD în 1 zi
5,0 (6 recenzii)
3,7
3,7
Avatarul utilizatorului
Hi there, I'm available now to discuss your project in details, please initiate chat to have a solution right now. Sincerely Tanvir
$40 AUD în 1 zi
5,0 (5 recenzii)
3,2
3,2
Avatarul utilizatorului
HI there, we are experts in SQL, MySQL, JavaScript, Google Sheets, HTML, CSS,. Please, send me a message to discuss the work and finish in no time. Thanks Ashish.
$50 AUD în 7 zile
5,0 (2 recenzii)
3,1
3,1
Avatarul utilizatorului
hi i am mssql server optimized query expert interested in doing this project. thank you.
$25 AUD în 1 zi
5,0 (5 recenzii)
2,8
2,8
Avatarul utilizatorului
-- Declare variables DECLARE @CustomerId INT DECLARE @SalesData INT -- Change the data type according to your actual data -- Create a cursor to iterate through customers DECLARE customerCursor CURSOR FOR SELECT CustomerId FROM Customers -- Open the cursor OPEN customerCursor -- Fetch the first customer FETCH NEXT FROM customerCursor INTO @CustomerId -- Start looping through customers WHILE @@FETCH_STATUS = 0 BEGIN -- Your query to get sales data for the current customer -- Replace this with your actual query SELECT TOP 100 @SalesData = YourSalesDataColumn FROM YourSalesDataTable WHERE CustomerId = @CustomerId ORDER BY YourOrderByColumn -- Insert the data into another table INSERT INTO AnotherTable (CustomerId, SalesData) VALUES (@CustomerId, @SalesData) -- Fetch the next customer FETCH NEXT FROM customerCursor INTO @CustomerId END -- Close and deallocate the cursor CLOSE customerCursor DEALLOCATE customerCursor
$40 AUD în 1 zi
4,5 (4 recenzii)
2,7
2,7
Avatarul utilizatorului
Dear Client, good afternoon from Egypt, hope you are well and having happy new year I have passed through your request details and checked query screenshot attached and also results I would like to go with this project with you as i have passed through this case along during my 17 years development career and working in students applications management from exams, details, results and other fields that is affecting schools and students life cycle this can be started and done as soon as you give me your project and make sure all your requirements are fulfilled before requesting any payment Waiting for your confirmation and contact Best regards, Amr Essam
$40 AUD în 1 zi
5,0 (2 recenzii)
2,6
2,6
Avatarul utilizatorului
Hello, I'm an IT expert with more than 20 years of experience in the IT industry . I'm Cisco Certified networking professional 300-100 and 300-115 and Linux Certified Professional lpi 101, 102,103 and red hat certified system administrator and VMware Certified Professional 4, 5,5.5 and Data Center and Microsoft System administrateur /Engineer ranging from 2003 to 2012 .
$40 AUD în 1 zi
5,0 (1 recenzie)
2,0
2,0
Avatarul utilizatorului
Hi there! My name is Sanjeeva and I am a Microsoft SQL Server expert with 20+ years of experience in the field. I understand your project requirements and can help you iterate through records and insert into another table. I am confident that my skillset will enable me to deliver exceptional results for your project requirements. If you give me the chance to work on this project, I guarantee that you will not be disappointed with the results. I look forward to hearing from you soon so we can discuss further how we can make this project happen together!
$25 AUD în 7 zile
5,0 (1 recenzie)
2,2
2,2
Avatarul utilizatorului
G'day Solution: Step 1: Create a stored procedure to loop through the Customers table and insert the results of your query into the other table. CREATE PROCEDURE sp_Iterate_Through_Records AS BEGIN DECLARE @CustomerID INT; -- Loop through customers SELECT @CustomerID = MIN(CustomerID) FROM Customers; WHILE (@CustomerID IS NOT NULL) BEGIN -- Insert data into the table INSERT INTO OtherTable (columns...) SELECT TOP 100 (columns...) FROM SalesData WHERE CustomerID = @CustomerID; -- Get the next customer SELECT @CustomerID = MIN(CustomerID) FROM Customers WHERE CustomerID > @CustomerID; END END; Step 2: Execute the stored procedure EXECUTE sp_Iterate_Through_Records; Best regards, Giáp Văn Hưng
$40 AUD în 7 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
Hi, Tristan F.. I like working with Australia clients. I am a developer who has several years of experience on SQL, Microsoft SQL Server Please come over chat and discuss your requirement in a detailed way. Regards, Fiorela S.
$23 AUD în 7 zile
0,0 (0 recenzii)
0,0
0,0

Despre client

Steagul AUSTRALIA
Buddina, Australia
4,9
178
Metoda de plată a fost confirmată
Membru din dec. 23, 2010

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.