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

Re: tempdb hangup ASE server

With helps from Sybase TS Team (Many thanks to Mike Meek!), this problem is resolved. The root cause of the problem was, the 32bit ASE server running on SUN Solaris was configured with 4GB of RAM for...

View Article


Re: if exists not evaluated correctly

The entire batch of SQL is parsed/compiled before it is actually executed.  Part of the compilation process includes validating that the various commands can complete successfully if they are...

View Article


Re: if exists not evaluated correctly

This is a documented behavior. You can find it in this link. http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0.commands/html/commands/commands61.htm

View Article

Re: I must be using CASE statement wrong, but...how?

Ah, I see.  Yes, I'm trying to use CASE as a statement rather than in an expression and I see that ASE doesn't allow that.  I see that MS SQL Server also doesn't allow that.  Thanks for clarifying...

View Article

Re: if exists not evaluated correctly

Thank you Marc for this explanation. Great to receive valuable feedback on this site. Simon

View Article


Stored proc is slow but no waits in monProcessWaits

We have instances of stored procedures that regularly take .01 - .001 seconds that occasionally take 1 second or more. As I have mentioned in several other posts, we have a utility that queries...

View Article

Re: if exists not evaluated correctly

Thank you Christine, I didn't read the whole page, my bad. Simon

View Article

Re: Stored proc is slow but no waits in monProcessWaits

Not a lot to go on at this point.  Off the top of my head ... - a logic 'bug' in your monProcessWaits-based monitoring code - long-running proc's session disconnects from ASE thus removing all entries...

View Article


Re: Stored proc is slow but no waits in monProcessWaits

Thanks for the suggestions. A few thoughts on your reply: Mark A. Parsons wrote: Not a lot to go on at this point.  Off the top of my head ... - a logic 'bug' in your monProcessWaits-based monitoring...

View Article


Re: Stored proc is slow but no waits in monProcessWaits

"That's seems like a possibility. If I set statistics io, time on would this show me that this was happening? The particular stored proc which is called a lot by multiple concurrent processes. Wouldn't...

View Article

How To Use Escape Characters to Prevent SQL Injection

Currently mitigating security violations in java code. Would like to confirm how to escape special characters when sending dynamic SQL. The following special characters are to be escaped. { ,  " , \ ,...

View Article

Re: How To Use Escape Characters to Prevent SQL Injection

Frankly I am not sure I understand the question or if there is a typo in the question. So I will go with my best understanding. If that's not correct it might help if you spell out an example of final...

View Article

Re: Moving tempdb database fragments off the master device

Hi there, I have documented three procedures to perform this "hack". And yes, like Bret mentionned, it is not recommended. However, that is not to say, that it is a bad thing as long as you understand...

View Article


Image may be NSFW.
Clik here to view.

Re: dump load 'cross-platform' - How to know if sp_flushstats was executed?

This one is a bit tricky since as far as I know there is no such piece of information in the backup header. I used this process to do it. (solaris to linux. version 15.0.3) Not recently so don't have...

View Article

Re: dump load 'cross-platform' - How to know if sp_flushstats was executed?

As far as I know there is no way to know from the dump file if sp_flushstats has been executed. I was trying to think about a way to know if from the system tables systabstats or sysstatistics could...

View Article


Re: dbcc checkstorage inside rpc

Hi Karel, I am wondering if you noticed that in the document written by Rob Verschoor you mention in your query, he says that "rpc method does not work for dbcc commands". He mentions two reasons for...

View Article

Re: dump load 'cross-platform' - How to know if sp_flushstats was executed?

There is, unfortunately, currently no way to tell ahead of time whether loading a database dump on a different platform will fail or succeed due to this reason. Ideally what you'd want is that the...

View Article


Re: tempdb data and log allocation?

There are very good reasons to separate data and log segments in all user databases, and especially tempdb.  First being that ULC flushing to disk is done for every log record when you have mixed data...

View Article

Re: dbcc checkstorage inside rpc

Hi SudhirI thought traceflag 3604 is only for seeing more output from the dbcc command, when call checkstorage locally, it runs whether the 3604 is on or not. Rob is mentioning it because you wouldnt...

View Article

Re: dbcc checkstorage inside rpc

Hi BretIt works ok when i execute it locally, but i cant because of the issue described here : The problem lies in the fact that the user executing the above version of sp_kill may be able to interrupt...

View Article
Browsing all 3587 articles
Browse latest View live


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