Quantcast

Re: Missing permissions even though role is granted

BTW - I am not sure how deleting the 'problematic' user in master helps with the problem in a user database.   Ideally, there shouldn't be too many users in master.   If the 'problematic' user was a...

View Article


Re: Missing permissions even though role is granted

You've mentioned a 'new server' so I'm guessing your migration consisted of dumping from 12.5.4 and loading into 16.0 (ie, you did *not* do an in-place upgrade of the dataserver). In the case of...

View Article


Toggle table header output on/off

Hi all, I know isql has the -b parameter that suppresses table header output, but is there any way to turn it back on?  I'm running a stored procedure that outputs some data, and I'd like the headings...

View Article

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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>