Find Jobs
Hire Freelancers

Need Example for Postgres 11 - Procedures

$12-30 SGD

Mbyllur
Postuar almost 6 years ago

$12-30 SGD

Paguhet në dorëzim
I need help with a simple script. Need advice and a working example of how to run a Procedure with Commit and returning a dummy result back from it. I have a example that you can reference but it is not working perfectly yet. i am not able to retrieve the result from the refcursor after i add the commit. e.g. script CREATE OR REPLACE PROCEDURE oureadata.pg_boweb_cms_category_update_v2(pid character, pcategoryname character varying, pwebcode character varying, porder numeric, pupdatedby character varying, pupdateddate timestamp without time zone, plang character varying, INOUT cresults refcursor) LANGUAGE plpgsql AS $procedure$ DECLARE cnt bigint; rtnCode char(1); BEGIN cresults := 'cur'; BEGIN update oureadata.CMS_CATEGORY set FCATEGORYNAME = pCategoryName, FWEBCODE = pWebCode, FORDER = pOrder, FUPDATEDBY = pUpdatedBy, FUPDATEDDATE = pUpdatedDate, FLANGCODE = pLang where lower(FID) = lower(pId); commit; end; OPEN cresults FOR VALUES ('stringresult'); end; $procedure$ AND to execute the above script.. i use : BEGIN; CALL oureadata.pg_boweb_cms_category_update_v2('e72fa40e-2447-4d59-b6cd-76625d180c32', '1', 'SG988', 3, 'testadmin', '2018-01-11 14:32:50', 'en-gb', ''); fetch all in cur; commit; PM me if you can help.
ID e Projektit: 17261116

Rreth projektit

4 propozime
Projekt në distancë
Aktive 6 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
4 freelancers are bidding on average $29 SGD for this job
Avatari i Përdoruesit
Hello how are you, I hope you are well, I am interested in the example you need in postgreql, I have experience in these topics, I can help you in stored procedures and functions, complex and simple views, triggers, etc., do not hesitate to write me I always answer the messages.
$36 SGD në 1 ditë
4,6 (3 përshtypje)
3,0
3,0
Avatari i Përdoruesit
hey, I am from India. I am graduate from India. I have done many projects in a different language. like ionic, Oracle database, MySQL database, database administration, PHP, Java, javascript, desktop applications, web application, mobile application. I am ready to work with you. I will complete your project within given time period.
$26 SGD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
I have experence in plpgsql. I can explaine You why this procedure w doesn't work, and rewrite it to meet you requirements.
$18 SGD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i SINGAPORE
Tampines, Singapore
5,0
5
Anëtar që nga tet 7, 2012

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.