In a select clause, what can not be resolved by hashing?
In ASE 15.0, which of the following select clauses can NOT be resolved by hashing? DistinctGroup ByHavingOrder by
View Articlesp_spaceused display huge index size eveb though index was dropped
Sybase version: Adaptive Server Enterprise/12.5.4/EBF 15446 ESD#8/P/Solaris AMD64/OS 5.10/ase1254/2105/64-bit/OPT/Sat Mar 22 04:05:46 2008 Good afternoon, I have a question about sp_spaceused...
View ArticleSybase HWC Signature Control defect
Hi everyone. I have created a HWC app using SUP 2.2 and Workspace 2.1.3. So far everything is working perfectly, as expected. However I need to make use of the signature control, which has a defect (it...
View ArticleUsing MDA tables (monEngine) to compute kernel statistics
Hello, I would like to to know if there is a simple way to use table monEngine in order to compute some statistics on kernel utilisation:Engine usageEngine iddleI/O busystats on disk I/O As this table...
View ArticleDownload scjview.exe for win32?
Hi All, I have seen that standard Sybase ASE installation for SAP will include scjview.exe (64-bit). Is there any place to download scjview.exe to be run in our laptop? I have searching for a while,...
View Articletempdb hangup ASE server
Hello All, I run a 32bit ASE15.5 server on SUN Solaris machine (Solaris 10, single data disk). Recently, I got the error message below whenever clients run a big db job (like a query to a big table...
View ArticleI must be using CASE statement wrong, but...how?
I'm getting an error on this code segment: An unexpected token "CASE" was found. Expected "end". Yet I thought this is how you code a CASE statement: DECLARE @loop_var INT SET @loop_var = 0 WHILE...
View Articleif exists not evaluated correctly
Sybase versionAdaptive Server Enterprise/15.0.3/EBF 17690 ESD#1.1 RELSE/P/Solaris AMD64/OS 5.10/ase1503/2681/64-bit/FBO/Thu Aug 20 15:37:40 2009 Good afternoon, I have a question regarding my SQL code...
View ArticleStored 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 ArticleHow 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 Articletempdb data and log allocation?
Hi Guys, What's your thought to put data and log segment on same device for tempdb as some ppl prefer to put data and log on separate device for tempdb? As per sybooks, for user databases put your data...
View Articledump load cross-platform - How to know if sp_flushstats was executed?
Good morning, We receive several dump files coming from our customer and we sometime need to load these dumps on a different platform that the one where the dump was taken. In order to guarantee the...
View Articledbcc checkstorage inside rpc
HIIm trying to set up regular dbcc checkstorage in our system and encountered a problem.What it boils down to :If i make a procedure, eg:create procedure sp__dbcc_db_pubs asdbcc checkstorage (pubs2)...
View Articledump load 'cross-platform' - How to know if sp_flushstats was executed?
Good morning, We receive several dump files coming from our customer and we sometime need to load these dumps on a different platform that the one where the dump was taken. In order to guarantee the...
View ArticleObtaining the (JDBC) local transaction ID and durably checking if a table was...
Hello, I have a use case where I am unable to enable XA transactions but still need to achieve the following property:"After a server or client failure, discover if a previously executing JDBC local...
View ArticleASE - Storage on big lun or to split - "Best practice"
HiI am using ASE 15.7 data server on Linux on central storage. I have couple of databases (5-7) at the data server. Currently, all data server devices reside on a single storage lun. which is simple to...
View ArticleUNMOUNT DATABASE command is not allowed when mirroring is enabled
Hi experts,When I tried to unmout a user database named "sandbox_test" with the manifest file, I hit following error: 1> unmount database sandbox_test to "/home/sybase/sandbox_s/manifest"2> goMsg...
View ArticleStored procedure performance
Hello, Background: Sybase ASE 15.0.3 is used on a Solaris 10 platform as a reporting database. During the day, daily transactions are streamed into the database. Reporting stored procedures are run in...
View ArticleWhat exactly is the difference between the SPXX and the SPXXX series?
EBF 21517: 15.7 SP102 - 64 Bit15.726 Jul 2013EBF/PatchEBF 21202: 15.7 SP50 - 64 Bit15.723 Jul 2013EBF/Patch Why is there are SPXX (5x and soon 6x) and a SPXXX (10x) series of ebfs? There doesn't seem...
View ArticleIn stored proc, inner cursor needs variable from outer cursor
I recently came over to Sybase ASE SQL from Microsoft SQL Server. In SQL Server I would often create stored procedures with a nested cursor in which the SELECT statement for the inner cursor contains...
View Article