Re: strange cache problem
Good point, Simon! Thanks! Just found exactly what you said in SAP KBA 2112252 : Why 2 different query plans can be generated by ASE depending on the Statement Cache is used or not. My parameters are...
View ArticleRe: strange cache problem
But then it would create a different plan - the point (or assumption) was that the plans were the *SAME* and yet statement cache was somehow 2x slower. WRT to the query itself - this is pretty much a...
View ArticleRe: Sybase ASE 15.7 installation on Windows7 professional
Not able to install ASE15.7 on my Windows 7 OS(32 bit). First attempt - I downloaded the software from as per your advise and during installation I got couple of messages stating that...
View ArticleRe: Sybase ASE 15.7 installation on Windows7 professional
Hi, I've never run into such problems. Your machine is certified to run with ASE? System Requirements If this is true, then I would have a look on the output you sent. If you search for the keyword...
View ArticleRe: Sybase ASE 15.7 installation on Windows7 professional
There are several reasons that the installation could be failing. You will need to check each of them:Do NOT install from the GA version (as mentioned in an earlier reply, it is too old). Install...
View Articleget rid of rror 913 - Could not find row in sysdatabases with database id 0
Hello,This is an old one , but is there anyway to get rid of this annoying message when dbcc's came clean(check table, checkdb): 1:00000:00034:2015/07/14 18:06:43.21 server Error: 913, Severity: 22,...
View ArticleRe: get rid of rror 913 - Could not find row in sysdatabases with database id 0
It is probably a matter of figuring out what client code is being run that causes the error and either fixing the code or educating the user (if it is ad-hoc code). There are various system functions,...
View ArticleDocumentation for Configuring Stream Replication
Anyone has any idea if the documentation for Stream Replication will at some point be issued to the general public by SAP? HADR relies on stream replication rather than on traditional transaction...
View ArticleRe: get rid of rror 913 - Could not find row in sysdatabases with database id 0
Thanks Bret,While figuring out which code might be , this error would not mean any risk for the normal ASE behavior? RegardsJM
View ArticleRe: strange cache problem
The following is the simplified explanation while keeping the details private - but thought that others might learn a bit from it. The problematic code wasn't just a single statement - it was a SQL...
View ArticleRe: Sybase ASE 15.7 installation on Windows7 professional
Dilip, Following Juergen's feedback about checking the open client log, I would find out if the install process went as far as starting to boot the ASE and I would check the messages in the ASE...
View ArticleRe: Unmounting and Mounting a SYBASE database
Hello All, Thanks for your valuable answers on this topic . Our application team didn't agree to go with mount and unmount. During the testing part , I have tried to unmount and mount couple of user...
View ArticleRe: Mirroring of Sybase devices
Bret , One of our DBA initialized the file system device in wrong path and expanded the user database size on that(2 devices ). We would like to move the device to location where all devices present....
View ArticleRe: Mirroring of Sybase devices
Bret , One of our DBA initialized the file system device in wrong path and expanded the user database size on that(2 devices ). We would like to move the device to location where all devices present....
View ArticleRe: strange cache problem
Just curious: adding "with recompile" to the SQL statement would help with getting rid of default values for local variables/#tables?
View ArticleRe: strange cache problem
Andrew, This is a SQL BATCH, not a stored procedure! If I recall correctly, "with recompile" would not be applicable... And, if it had been a stored procedure, and in order to let the optimizer perform...
View ArticleSybase 16 upgrade : Stack traces on various procs
After upgrading to Sybase 16, we're seeing a few procs generating stack traces. 00:0008:00000:02455:2016/03/09 12:56:32.72 kernel Current process (0x86b0436) infected with signal 11...
View ArticleRe: strange cache problem
You are correct Jean-Pierre - although I had to try it to be certain myself....."select....with recompile" only works within stored procs - outside stored procs, you get a syntax error on the "with"....
View ArticleRe: Sybase 16 and @table vars
Definitely a bug - have someone file an incident on it. In the meantime, you might want to ensure that for table variables and inserts that all cols are included. (Yes, I could file one - but bugs...
View ArticleRe: Sybase 16 and @table vars
Thanks This error message is a bit odd And this error message is a bit odd - not on the PK cols are nullable. declare @tab table ( UniqueIdentifier varchar(28) NOT NULL, AsFrom datetime not NULL, AsTo...
View Article