Find Jobs
Hire Freelancers

SQL Stored Procedure needs modified

$10-30 USD

Cerrado
Publicado hace alrededor de 9 años

$10-30 USD

Pagado a la entrega
I have the following stored procedure below currently. What I need is if [login to view URL] > 0, and [login to view URL] = -1, then run the following stored procedure as planned. But if [login to view URL] = 0 and [login to view URL] = -1, then I need a 2nd loop that I can modify the calculated equations on. Note, there are several stored procedures, and I'm pretty sure this is the only one that needs modified, but I dont think the [login to view URL] is carried over from the other procedures, into this procedure in order for the procedure to know, I could be wrong here. The [login to view URL] I'm sure has something to do with it, but I dont know how to write the needed code to add the 2nd loop if the SupplierID = 0. I did have this posted before, and a programmer looked at it, and while he was a nice guy and helpful, we werent able to really communicate what I needed properly and I had to undo the changes. You will need to use teamviewer in order to connect, and make the changes, then I'll have to add some items to test, which might take overnight, so payment and testing will take about 12 hours after you've made the necessary changes. USE [StoneEdge] GO /****** Object: StoredProcedure [dbo].[_BoydUpdateProfitPriceForSKU] Script Date: 3/11/2015 6:52:13 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- DescriptiON: <DescriptiON,,> -- ============================================= ALTER PROCEDURE [dbo].[_BoydUpdateProfitPriceForSKU] @localSKU varchar(50) AS BEGIN SET NOCOUNT ON; --amazon selling price to be cheapest but make sure we're profitable UPDATE I SET [login to view URL] = Round( CASE WHEN [login to view URL] < ([login to view URL] - 3.99) THEN ([login to view URL] - 4.00) ELSE ([login to view URL] + 2) END , 2, 0), [login to view URL] = Round( CASE WHEN [login to view URL] < ([login to view URL] - 3.99) THEN (([login to view URL] - 4.00) - [login to view URL]) ELSE 2 END , 2, 0) FROM Inventory I INNER JOIN InventorySuppliers ISS ON [login to view URL] = [login to view URL] AND [login to view URL] = 6 WHERE [login to view URL] = @localSKU; -- amazon selling selling price minimum $.01 UPDATE I SET [login to view URL] = CASE WHEN [login to view URL] = 0 THEN .01 ELSE [login to view URL] END, [login to view URL] = CASE WHEN [login to view URL] = 0 THEN .01 ELSE [login to view URL] END FROM Inventory I INNER JOIN InventorySuppliers ISS ON [login to view URL] = [login to view URL] AND [login to view URL] = 6 WHERE [login to view URL] = @localSKU; UPDATE I SET [login to view URL] = CASE WHEN [login to view URL] = 0 THEN ([login to view URL] + 2) ELSE [login to view URL] END, [login to view URL] = CASE WHEN [login to view URL] = 0 THEN ([login to view URL] + 2) ELSE [login to view URL] END FROM Inventory I INNER JOIN InventorySuppliers ISS ON [login to view URL] = [login to view URL] AND [login to view URL] = 6 WHERE [login to view URL] = @localSKU; END
ID del proyecto: 7291317

Información sobre el proyecto

33 propuestas
Proyecto remoto
Activo hace 9 años

¿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
33 freelancers están ofertando un promedio de $29 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$34 USD en 1 día
4,9 (66 comentarios)
6,7
6,7
Avatar del usuario
I could help you to fix this stored procedure. Let me know when you have a minute so i can access your SQL Server instance via Team Viewer
$28 USD en 1 día
5,0 (27 comentarios)
6,4
6,4
Avatar del usuario
A proposal has not yet been provided
$24 USD en 1 día
4,6 (61 comentarios)
7,0
7,0
Avatar del usuario
Hi I am a database expert with 12 years experience in handling MS SQL databases. I have worked as DBA for large ERP databases and use to write and do performance tuning for SQL queries, procedures and triggers. With my domain expertise in the ERP, when ever I have a business requirement, I can easily look into a database, identify the required tables and write the required query for that. Please let me know a convenient time to connect on team viewer and do this. Thank you Roni
$30 USD en 3 días
5,0 (77 comentarios)
6,4
6,4
Avatar del usuario
A proposal has not yet been provided
$40 USD en 0 día
4,8 (43 comentarios)
6,2
6,2
Avatar del usuario
Hello, Good day to you. I am SQL expert. I understand your requirements. I am willing to help you do this project right now. Please contact me. Thank you
$25 USD en 1 día
5,0 (44 comentarios)
5,6
5,6
Avatar del usuario
Hi, I've many experiences in data base management system. And I've developed business management aid project. So I acquired many dbms knowledge and practice performing above project. I want your project completed by me. Thanks in advance.
$105 USD en 1 día
5,0 (3 comentarios)
4,1
4,1
Avatar del usuario
Hi I am Vinod Kumar. I am working as Senior Software Developer in IT company. I have 4 + years experience in .NET with C#,VB,ASP.NET, Web Service, WCF, Javascript, JQuery, SQL, XML ,XSLT and HTML
$25 USD en 1 día
5,0 (8 comentarios)
3,9
3,9
Avatar del usuario
Hi, I'm high rated coder from Ukraine. I've more than 12 years in the experiences of the database developing. My skills are includes MS SQL, PostgreSQL, SQLite, MySQL, MS Access, Sybase etc. I'd like to do this job for you. Thanks, Andriy
$20 USD en 1 día
5,0 (14 comentarios)
3,4
3,4
Avatar del usuario
Hello, I understand roughly requirement, only the calculated equations for 2nd loop, how is it? I can do this job and available in next 4 hours. If this task is not so urgent then I can help it. Please message me if you consider my proposal. Regards, Thai (Mr.)
$30 USD en 1 día
5,0 (1 comentario)
0,6
0,6
Avatar del usuario
I would like to do this.I have team viewer so no problem with that. You can pay me after 12 hour but you have to create a milestone first Thank you
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$30 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi There, I have plenty of experience in resolving MSSQL (T-SQL query) issues .I have partly understand your problem. I can take up this let me know best time to talk.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$30 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
ZeneSys Technologies is one of the fastest growing high skilled Database Management and IT services provider companies in India. We offer flexible solution for SQL Services, suitable to variety of customers. Our pool of high skilled professionals is suitable to perform complex responsibility with tight deadlines and makes us the most preferred company for outsourcing.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am an experienced SQL developer and have a good knowledge of various advanced sql functions. I have worked on both the systems i.e. analytical as well as transactional systems. I have been in this field for many years and have worked on various projects involving the optimization of SQL code and development of various complex code
$20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I'm a 7 years experienced developer in SQL Server & .NET I can help you to redesign the stored procedure if it's necessary in order to cover all of the cases you need to.
$35 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, this is part of what I do for a living as a Senior Data Warehouse / Business Intelligence Consultant. It should be very easy. Also possible without branching the stored procedure.... Either solution would work dependant upon new calculations desired. Regards Mike.
$31 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Boardman, United States
5,0
7
Forma de pago verificada
Miembro desde nov 27, 2008

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.