• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with SQL

 
karthik sudarshan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I have a requirement where I am supposed to obtain a string of data from Cobol,extract values from the string, make records from these and pass it back to asp.
Now the issue is that I do not want to create a table or a temp global table to store the variables I create from the string. I want to store them into records and pass all these records into a cursor and pass the cursor back to the calling method.
Is it possible to put records into a cursor without the creation of new tables?
Is there an alternative data structure apart from cursors in which I can store all these records and pass it back to the calling method without the need for creating new tables?

Any help on this would be appreciated

Thanks,
Karthik
 
Paul Campbell
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it will require you to write a procedure in the RDBMS's language (pl/sql, t-sql, etc.)... but yes, you can do this.
 
Paul Campbell
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i didn't completely answer your question... the procedure would store your data in an array.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic