Re: table locked by unexisting SPID
Did you get error 697?Any stacktrace raised? Msg 697 This error occurs when Adaptive Server tries to access an object in cache but arrives at an invalid page. The page number is correct on disk, but it...
View ArticleSAP solman on sybase 16.0 installation
Dear Experts, We are installation solution manager 7.1 on windows 2012 R2 and sybase 16.0 and we are getting error at import abap phase assapparam: sapargv(argc, argv) has not been called!sapparam(1c):...
View ArticleRe: ASE Cockpit Problems on Linux
Never mind my inquiry here. I had a bad /etc/hosts entry for my linux box. DOH!
View ArticleRe: can we have two devices to the same raw device
Hi Kedar Sorry for the delay in replying In your situation if you want to make full use of device use disk resize to make to 10 GB. One logical device can have chunks allocated to many databases.That...
View ArticleRe: How to proceed in creating models for MVC 5 application with sybase ASE...
Hi Ram, We currently do not support EF6. I know we support 4.5 with the last drop of the SDK 16.x. Engineering is currently working on EF 5 support. MVC5 came with Studio 2013. We are certified with...
View ArticleRe: feedback about a document on data storage and how to track space allocation
That doc is the fine work of Derek Asirvadem. His email is in the doc if you dare to ask any questions. Derek's stuff is always a fascinating read. Mixed in with what is some really good info, seems...
View ArticleRe: Release Notes for ASE16.0.2.1
Bret,Thank you for the explanation.Via an incident, Dawn White told me when it was fixed...It was locked for at least 3 days.
View ArticleRe: Transaction log very high when dropping a column on popular table
Pieter, Thanks for sharing another method . In "no datacopy" method does alter statement(for column drop) requires equal amount of actual table size as free space in relevant data segment ?? consider...
View ArticleRe: Transaction log very high when dropping a column on popular table
It doesn't require free space when you run it, because with "no datacopy" the table isn't copied at all. ASE just marks the column as being "logically deleted", so it stops being seen. However, the...
View ArticleRe: feedback about a document on data storage and how to track space allocation
Unfortunately, that document is full of a lot of inaccuracies as well..... Segments really make sense when using different classes of storage - e.g. if you know for example that you have tiered...
View ArticleRe: feedback about a document on data storage and how to track space allocation
Thanks Jeff for your feedback, I'll indeed do some testing to better understand the physical location of objects. Simon
View ArticleRe: ASE Cockpit Installation
Put the SAPCAR_0-80000938.exe as sapcar.exe in c:\windows\system32 is what I meant. Regards Harry
View Articlecounting inserts/updates when doing a merge
When doing a merge statement we'd like to log the number of rows inserted and the number of rows updated. At present we do this using 2 separate statements so we know from @@rowcount how many rows each...
View ArticleRe: counting inserts/updates when doing a merge
Interesting question. Here is one way I can think to do it: declare @minserts int, @mupdates intset @minserts = 0set @mupdates = 0merge into myhist as h using mytrans as t on h.pkey =...
View ArticleRaiserror with nested stored procedures
I use raiserror in nested stored procedures. How do I get the message (format string) from the nested stored procedure and append it to the calling stored procedure raise error. Something similar to:...
View ArticleSybase ASE asyncronous processing
IN Oracle I could create an asynchronous procedure for logging errors. In this error procedure I inserted error rows and when the rollback occurred these rows did not get rolled back. How can make...
View ArticleRe: Raiserror with nested stored procedures
Hi JohnTop of the head : 1.Create a temp table (hash table) in the parent proc and populate it in child proc on error.When control goes back to parent proc you can read status from the temp table.Does...
View ArticleRe: Sybase ASE asyncronous processing
ASE doesn't yet have a formal autonomous transaction feature. However, there is a way to do it. ASE supports two forms of remote procedure call (RPC) handling: 'traditional' and 'cis'. 'traditional'...
View Article