Hi,
Could anybody please help me in automating this task using the OpenESQL Assistant for ADO.NET mode, since I have to rewrite the same code every time with slight changes such a cursor name and the query of course
execsqldeclareall_accounts_cursordatasetcursorfor
select * fromaccount
end-exec.
execsql
openall_accounts_cursor
end-exec.
execadogetcursorall_accounts_cursorinto :accounts-dataset
renamedatatableasaccount_table
end-exec.
setresult-settoaccounts-dataset::Copy.
execsql
closeall_accounts_cursor
end-exec.