SQLRPGLE Cursors and Recursion
I’m trying to recursively call a PI in my SQLRPGLE program. Problem is, I get an SQLCODE error of -519 and I’m sure it has to do with cursors and the prepare statement in my PI. Here’s the code:...
View ArticleCan two separate cursors update the same SQL table when executed together?
I have three tables. Table One is a master table which contains rows which need to be updated with data from the other two tables (I’ll call them Table Two and Table Three). I have created a cursor...
View ArticleAlternatives to cursors in SQL Server
What are the alternatives to cursors? I can’t find any other method to move through record sets one at a time. The post Alternatives to cursors in SQL Server appeared first on IT Answers.
View ArticleSQLRPGLE – Prepare – Declare Cursor
I’m using Prepare, Declare SQL cursor in my SQLRPGLE program After Declare statement I receive SQL -312 – Which indicates to me that the SQL statement is not declared correctly. Is it something wrong...
View ArticleSQL cursor question
hi, i’ve SQLRPGLe program in which i’m writing a cursor to select all records, order them by a field A (suppose employee number). And once all the rows fetched for an employee and printed, print the...
View Articlewhat is the max length for an sql cursor name?
what is the max length for an embeded sql cursor name in RPG? The post what is the max length for an sql cursor name? appeared first on IT Answers.
View ArticleSQL Cursor to use or not to use
Hi, I’ve been told to never use cursor in SQL, because of possibility of memory leak, etc. But I have no idea of how to implement my script without them. My script doesn’t execute anything on the...
View ArticleCURSOR issue in AS/400
New Discussion Post by ToddN2000 The post CURSOR issue in AS/400 appeared first on IT Answers.
View ArticleSQLRPGLE Cursors and Recursion
I’m trying to recursively call a PI in my SQLRPGLE program. Problem is, I get an SQLCODE error of -519 and I’m sure it has to do with cursors and the prepare statement in my PI. Here’s the code:...
View ArticleCan two separate cursors update the same SQL table when executed together?
I have three tables. Table One is a master table which contains rows which need to be updated with data from the other two tables (I’ll call them Table Two and Table Three). I have created a cursor...
View ArticleAlternatives to cursors in SQL Server
What are the alternatives to cursors? I can’t find any other method to move through record sets one at a time.
View ArticleSQLRPGLE – Prepare – Declare Cursor
I’m using Prepare, Declare SQL cursor in my SQLRPGLE program After Declare statement I receive SQL -312 – Which indicates to me that the SQL statement is not declared correctly. Is it something wrong...
View ArticleSQL cursor question
hi, i’ve SQLRPGLe program in which i’m writing a cursor to select all records, order them by a field A (suppose employee number). And once all the rows fetched for an employee and printed, print the...
View Articlewhat is the max length for an sql cursor name?
what is the max length for an embeded sql cursor name in RPG?
View ArticleSQL Cursor to use or not to use
Hi, I’ve been told to never use cursor in SQL, because of possibility of memory leak, etc. But I have no idea of how to implement my script without them. My script doesn’t execute anything on the...
View Article