Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to resolve -504 sql code in DB2?

Answers were Sorted based on User's Feedback



How to resolve -504 sql code in DB2?..

Answer / kk

Hi,
-504 is cursor not declared error.may be cursor name
misspeled also coming this error.

Is This Answer Correct ?    17 Yes 0 No

How to resolve -504 sql code in DB2?..

Answer / anandrao

There are following possibilities to this issue to come,
1) Cursor is not declared in application program or
in stored procedure depending on where it is used.
Soln - Declare the cursor in application
program or in stored procedure depending on where it is
used.
2) Cursor spelling is not correct which you are
going to open or fetch.
Soln - Check the name used and correct.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is sqlcode -811?

7 Answers   Accenture, CTS, TCS,


What is bind in db2?

0 Answers  


Write a query to extract first 5 characters of a name in the column Stud_Name?

1 Answers   RBS,


What is a cursor in programming?

0 Answers  


What are db2 objects?

0 Answers  


What is the FREE command?

1 Answers  


What are the various locks available?

5 Answers   CTS,


How do I delete a table in database?

0 Answers  


What is the reason behind not using select * in embedded sql programs?

0 Answers  


i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?

0 Answers   TATA,


Explain an outer join?

1 Answers  


How to create db2 table in mainframe?

0 Answers  


Categories