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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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