Re: ASE 15.7 on Red Hat 7
Thank you Mike,But which release of Red Hat Linux EL 7 should we use:? RH7 GA, RH7 update 1, RH7 update 2 , etc RegardsJM
View ArticleRe: Stored procedure sorting in Entity Framework
Hi Mark, For EDM we use SQL, not catalog stored procedures, to provide the listing of the items. In the case of the sprocs, it looks like the order by clause is messed up. It is not using name of...
View ArticleRe: ASE 16 SP 02 Beta Release - Documentation
you may see it on the official SAP help site (http://help.sap.com/ase1601/#section2).
View ArticleRe: Stored procedure sorting in Entity Framework
Hi Paul, I created an incident report. Its been broken for a long time. I hope it gets fixed soon. Thanks for the explanation!Mark
View ArticleRe: utcgetdate - stop a query after x time
The getutcdate() built-in function is evaluated once for the query, so it its value is treated as a constant value in the query results. The only way to force evaluation of the built-in for every row...
View ArticleRe: utcgetdate - stop a query after x time
Have you looked into Resource Governor? Chapter 1: Limiting Access to Server Resources The description from the docs:Resource limitsA resource limit is a setof parameters specified by a system...
View ArticleRe: utcgetdate - stop a query after x time
By itself the getutcdate() call is treated like a literal and thus only processed once. To have getutcdate() (or any system/user-defined function) processed for each row you have to combine the...
View ArticleRe: utcgetdate - stop a query after x time
Thanks folks for the tips given Its hard to use resource governor since customer does have a big environment and to get it active need a great effort that i and the end user can't afford to wait for...
View ArticleRe: utcgetdate - stop a query after x time
Perhaps a poor man's solution? Open the connection for the report, get it's spid, and start the query. Don't plan on using this connection for any other subsequent activity.Open a second connection...
View ArticleRe: utcgetdate - stop a query after x time
Here's the full code and example output: create procedure xp_f_getdate (@d datetime output)as set @d = getdate()gocreate function f_getdate (@i int)returns datetimeas declare @v datetime exec...
View ArticleRe: utcgetdate - stop a query after x time
Mark, I hate to say this, but your solution actually doesn't work in terms of forcing the getutcdate() call to be evaluated for every row. This trick only works when the table column is an argument to...
View ArticleRe: utcgetdate - stop a query after x time
Rob, you're right ... that's what I get for doing a drive-by shooting ...*arg* --------------- Hmmmm, and rolling this into a where/SARG clause it looks like the query engine does halt processing of...
View ArticleRe: utcgetdate - stop a query after x time
One could also just create a table with a virtual computed column datetime column: create table d_datetime(zero int not null, d compute getdate() )insert into d_datetime(zero) values (0) create...
View ArticleRe: ASE 16 EBF descriptions or release notes?
Hi David, You can go through the below SAP note and see whether this helps or not. 2075653 - Targeted ASE 16.0 Release Schedule and CR list Information HTHSankara
View ArticleRe: revoke role not working Sybase ASE 15.7
Sybooks says: You can revoke a role from a user while the user is logged in. Adaptive Server verifies a user’s activated roles before performing access checks. However, not all role checks are...
View ArticleRe: ASE 15.5 server flooded with maintenance token processes
Hello Wilson,Has it been resolved?Cheers,Gek
View ArticleRe: revoke role not working Sybase ASE 15.7
Hi Eun-hee Ahn, You have got the exact situation. One more thing I want to add that If I am granting the 'sso_role' to 'john', then 'john' will be able to revoke 'mon_role' (for example) from...
View ArticleRe: revoke role not working Sybase ASE 15.7
why do you expect that it's not possible to revoke roles from yourself? if John has sso_role, then John can manage roles and assign and revoke them from any login, including himself.
View ArticleRe: revoke role not working Sybase ASE 15.7
just noticed different behavior on different versions.On 15.0 error 11166 is raised when trying to revoke sso_role from yourselfUser 'testlg' is currently logged in. The revocation of roles from users...
View ArticleRe: revoke role not working Sybase ASE 15.7
Hi Jeroen Rijnbergen, As you said in the above post is a bit incorrect, as I tried in my ASE 15.7 environment, I found 1) If you revoke the role from the Session 1(sa), without disconnecting...
View Article