Questions tagged [procedures]

262 questions
-1
votes
1 answer

Fortran, How to make several copies a procedure

I have a function (Simpson) that calculates the integral of a function (f (x, y = 5)). I want to use this same function (Simpson) to make a double integration of the function f (x, y): F(x) = \int dy f(x,y) I = \int dx F(x) Could I call the same…
-1
votes
1 answer

FAR Call is set to jump to segment zero and offset zero in 8086 Assembly with no listings

Problem : What makes the FAR CALL to external procedure is set always to jump to CS:IP=0000:0000 ? which when traced by the debugger "CodeView" doesn't contain the actual procedure. I make four public procedures in four different files , the first…
-1
votes
2 answers

while executing store procedure getting error

I have written a calling procedure but an exception is being thrown, please can you look at my code: try { connection myconn = Database.Get_Connection(); CallableStatement mystmt =null; mystmt = myconn.prepareCall("{? =call…
Pandu Koturu
  • 25
  • 1
  • 1
  • 4
-1
votes
2 answers

PL/SQL package body

I have this package, is there any way i can access the body of the functions and procedures in it? I am new to PL/SQL. create or replace PACKAGE pkg_tracking IS FUNCTION fnc_proyecto_asignado(i_pry_id IN proyectos.pry_id%TYPE, …
Benzil
  • 45
  • 2
  • 12
-1
votes
1 answer

Using procedures in firebird 2.0

I need to make all my products to have a caracteristic(id 5) so im trying to make a procedure that will insert into a table 'product-caracteristics' a line with its atributes, linking all products IDs with the caracteristic id 5. Thats what I have…
BrunoWB
  • 129
  • 1
  • 1
  • 15
-1
votes
1 answer

MySQL Procedures for reporting total

Would anyone be able to help me with creating a procedure that reports the total amount paid in a specific month and specific year? Or how I would even go about creating this? Thank you for any and all help.
-1
votes
1 answer

how to define a stored procedures which accepts 2 parameteres

I´m trying to define a stored procedures which accepts 2 parameteres , one would be the table column which has to be equal with the second parameter i will provide. Code : DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE…
alexsc
  • 1,196
  • 1
  • 11
  • 21
-1
votes
1 answer

Remove in a simple linked list node in pascal

I have made a piece of code that works in simple linked list node in pascal. Now I need add a procedure that can delete or remove an element in my simple linked list. I have made many procedures that do test and adding but I can't figure out how to…
kilis
  • 151
  • 2
  • 8
-1
votes
2 answers

Trouble with a proecdure

so I'm having trouble figuring out what my issue is with it the output needs to be something like "Result 1: 55.00 Grade P" I'm a beginner so any help would be highly appreciated during this time of struggle, thanks for(int a=0;a< 10;a++) { cout <<…
confuseduser
  • 23
  • 1
  • 1
  • 4
-1
votes
2 answers

Confused with Oracle Procedure with sequence, linking errors and filling null fields

I am trying to make a procedure that takes makes potential empty "received" fields use the current date. I made a sequence called Order_number_seq that populates the order number (Ono) column. I don't know how to link errors in the orders table to a…
-1
votes
3 answers

How do I incorporate NEXTVAL in my procedure?

I have the following procedure create or replace procedure prod_add_sp (p_idproduct in bb_product.idproduct%type, p_prodname in bb_product.productname%type, p_descrip in bb_product.description%type, p_prodimage in…
-1
votes
1 answer

MySQL Stored Procedures issue with if then else statements

I have the need to store the changes in our invoice system to export it to the account system (which is a 3rd party app). What I'm trying to do is to add two triggers. ON INSERT : A new invoice is added, it has to be marked as new in another table,…
MiQUEL
  • 3,011
  • 3
  • 19
  • 19
-1
votes
2 answers

php global function or procedure

I have some php code which works to chek the incoming url and i have hundreds of php pages in which i have to chek the incoming url and i want to do make that code like a procedure or function which can be called in all php pages. So i can apply…
Adeel Aslam
  • 1,285
  • 10
  • 36
  • 69
-2
votes
1 answer

Visual Basic Prodcedures and Functions

I'm trying to create an Income Tax Calculator using procedures and functions. The code should be self-explanatory. Everything is returning values of zero, can someone give me a little bit of insight of where I'm going wrong? Partial Class…
Bob
  • 91
  • 1
  • 1
  • 9
-2
votes
5 answers

CountWord and CountVowel into Function in VB.NET

Hi I need to change WordCount and CountVowel procedures to functions and create a function to count number of consonants in a string. I have done these two procedures but I cannot figure out how to do the last part. I am fairly new to…
Jack
  • 9
  • 3
1 2 3
17
18