Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Browsing all 3587 articles
Browse latest View live

Re: Toggle table header output on/off

Since the ability to hide/display headers is a client (isql in this case) setting, ASE would need some means of sending a signal to the client that says to override the client's show/hide header...

View Article


Re: Toggle table header output on/off

Use -b on the isql side and use "print" statement inside the procedure to output custom header lines where you need them. To speed up your work you can first capture the header(s) you need with a...

View Article


Re: Toggle table header output on/off

Printing headers is not an ASE function - it is result set metadata.  It is up to the client to determine whether to print these or not.   Obviously, "dumb" clients such as isql simply offer a switch...

View Article

Re: Toggle table header output on/off

... and then the 'fun' begins ... proc will need to test for the parent application = 'isql' (monProcess(Lookup).Application; sysprocesses.program_name if MDA not available) so that other clients...

View Article

Re: Toggle table header output on/off

Please please please don't poll sysprocesses.   You kill yourself with PSS spinlock contention.   Use the ACF functions and SYS_SESSION: grant select on builtin get_appcontext to public select...

View Article


Re: Toggle table header output on/off

Sound advice Jeff for not polling sysprocesses.Bit off topic but that is what I ended up doing for a badly coded login trigger. As I took up one of my assignments I changed it to stop polling...

View Article

Re: Toggle table header output on/off

While isql does not have a command option to turn the display of headers on and off,the sqsh client does have such a command ("headers").  So in terms of having thiscapability under the control of the...

View Article
Browsing all 3587 articles
Browse latest View live