Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Feature Request  (Read 8144 times)
Massimiliano D.
Posts: 15


« on: February 24, 2010, 01:36:46 pm »

Is possible to add to the SQLCA record the last executed query so when sql error happen is simple to obtain the erroneous query for example

main


end main
Massimiliano D.
Posts: 15


« Reply #1 on: February 24, 2010, 01:40:17 pm »

Sorry, i post before finish write....
so i think someting like


main
   whenever error call my_function
   select ..... from ....


end main

function my_function()
   call errorlog(SQLCA.sql||"\n"||SQLERRM)
end function
Bernard M.
Four Js
Posts: 45


« Reply #2 on: February 24, 2010, 03:42:56 pm »

There is already a new feature request registered for this: #3789.

You can have a look in our Issue Tracker:
https://4js.com/support/issue/?id=3789

I will add you to the list of requesters of this enhancement.

Regards,
Bernard
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines