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

Re: File permission generated by bcp utility

on Linux, bcp version for ASE 15.7 SP136 includes new option --filemodeby default it creates file with permission 640, using --filemode you can change itlooks like umask is completely ignored by bcp...

View Article


What's is Wait event 'checkpoint worker waiting for wakeup from parent'?

-- Sybase version --Adaptive Server Enterprise/15.7.0/EBF 22639 SMP SP52 /P/Sun_svr4/OS 5.10/ase157sp5x/3293/64-bit/FBO/Wed May 21 02:49:14 2014-- end --- Good afternoon, I'm looking at the top 10...

View Article


Re: Change in behavior of datalength() between ASE15 and ASE16

Thanks. I assume that idea will not work in ASE 15.0, because functions in that version can't take text/images as parameters. - John.

View Article

Atomic drop/create trigger in ASE 16

Hi. In many previous ASE versions (up through 15.0), my standard practice when replacing a trigger in a live system was to simply use CREATE TRIGGER, without using DROP TRIGGER first. ASE allowed that,...

View Article

Re: Atomic drop/create trigger in ASE 16

On ASE 16 I verified that "create or replace" works as expected for the sa login who created AND modified the trigger.   This does seem to be atomic operation.   Worst case scenario you may have to...

View Article


Re: What's is Wait event 'checkpoint worker waiting for wakeup from parent'?

Hi Simon,You are seeing these WaitEvents because the configuration "number of checkpoint tasks" is > 1 This is similar checkpoint process "checkpoint process idle loop" sleep event but for the...

View Article

Re: Change in behavior of datalength() between ASE15 and ASE16

Hi John,I can confirm datalength on a null text column returns null on 16.0 SP02PL02 and 15.7 SP100, 15.7 SP136 HF1.  This is both with a row that was always null and one that has been updated to null....

View Article

Re: Change in behavior of datalength() between ASE15 and ASE16

I'm on 15.0.3.I suspect this behavior changed in 15.7, but I don't have one of those. Anyway, it would seem there is no magic bullet. I just need to manually modify all my datalength() tests in my code...

View Article


Re: Atomic drop/create trigger in ASE 16

You said "In ASE 16 sa/sso should be able transfer/take the ownership of an object as needed." Does that imply that the dbo (lacking sso role) cannot do that? You said "Worst case scenario you may have...

View Article


Re: What's is Wait event 'checkpoint worker waiting for wakeup from parent'?

Ah, so my whole dissertation was moot? LOL

View Article

Re: Atomic drop/create trigger in ASE 16

In order to prevent the glitch, perhaps the following could be used?1. Turn on 'ddl in tran'2. Begin transaction3.   Lock the table <trigger table> in exclusive mode4.   drop the trigger5....

View Article

Re: Atomic drop/create trigger in ASE 16

ASE 16 Tested a sequence that works. 1. Need to use "create or replace" option to update trigger in place. 2. Login who wants to re-create the trigger need to take the ownership by alter modify owner...

View Article

Re: Atomic drop/create trigger in ASE 16

This does not seem odd from a security perspective. Remembering that ASE 16 can now support multiple triggers on a table, there may exist the situation where an SSO (not DBO) may want to create a...

View Article


Re: File permission generated by bcp utility

Hi,   Can you try:umask 0bcp master..test out output -c -Usa -Psybase -Sredhead --filemode 644   Regards,Ryan

View Article

Re: Python under 15.5

Hi, Here is the documentation about SDK python module for ASE:http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01692.1570/doc/html/car1308847098623.html Required...

View Article


Internal error: Insert into page id of index id 4 of table 'sysobjects' (id =...

Hi gues!Maybe someone saw such error. Msg 12313, Level 21, State 1:Server 'test1', Line 1:Internal error: Insert into page id 278443007 of index id 4 of table 'sysobjects' (id = 1) in database 'test1'...

View Article

Re: Change in behavior of datalength() between ASE15 and ASE16

Hi John,To be exact, the change was done in 15.7 Beta timeframe and the final implementation was available in 15.7 GA release. This coincides with the in-row LOB changes for 15.7 and during this work,...

View Article


Re: Change in behavior of datalength() between ASE15 and ASE16

@Jeroen - a lot of this is a bit of a misunderstanding.    ASE, like all DBMS's implements default datatypes for literals - and impose a hierachy based on standards for mixed type expressions.   For...

View Article

Re: Atomic drop/create trigger in ASE 16

Thanks for that, Avinash, I am making progress. Your idea seems to work great in the case when the table and its trigger are owned by the same login, or when the table and its trigger are owned by two...

View Article

Re: Atomic drop/create trigger in ASE 16

Did you try sp_changeowner???  There is logic behind this.   Think of a packaged app - say MYAPP - which installs the schema as a certain login which is aliased to dbo (remember, no one is DBO - you...

View Article
Browsing all 3587 articles
Browse latest View live


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