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

@@procid but which dbid

Guys, @@procid will allow a trigger to see the procid of a procedure...select object_name(@@procid) will show you the name if the procid is in the same database. How do you identify the dbid of the...

View Article


Re: @@procid but which dbid

Mark, Here is a sample of my proc...create proc proc_1 asinsert db_2..table1 values("a")go if my table and trigger are in db_2, and my proc is in db_1,When I do, use db_1goexec proc_1 The content of...

View Article


Re: @@procid but which dbid

Where are you grabbing @@procid? In the proc or in the trigger? What value are you finding in @@procid? What are the ids of your proc and trigger? select object_id('db_1..proc_1'),...

View Article

Re: is it possible to dump/load statistics

Not sure I totally understand the situation.  You are upgrading Sybase software?  If so, current statistics aren't affected, and will be there after the upgrade.  No need really to necessarily worry...

View Article

Re: @@procid but which dbid

Mark,I am grabbing the @@procid while in the db_2..trigger.The value of the @@procid variable is the id of the parent calling db_1..proc_1.The value of dbid of sysprocesses is db_id("db_2") So I've...

View Article


Re: @@procid but which dbid

Would need more details on how those procs (with the same name but different databases) end up firing the same trigger. For example, if the login running a given proc is limited to running said proc...

View Article

Re: @@procid but which dbid

Cory, as far as I know,  you won't have access to the @@procid database id.  Much the same "problem" as the whole "sp_depends" cross-database hole.  Without additional programming (such as...

View Article

Re: @@procid but which dbid

Mark,The @@procid reports a number ie:54321  ** Not a nameThere are sysobjects id's in three databases that match that number with different names.Each of those procs can do an insert to a table in...

View Article


Re: @@procid but which dbid

Hi Cory, I have a possible solution for you, though it does involve granting access to monProcessProcedures in a limited way. The idea is to use a password-activated role that has been granted mon_role...

View Article


Re: @@procid but which dbid

Forgot to include the critical obfustication.  The SA should also run execute sp_hidetext sp_procid_dbid_lookup_proc

View Article

Re: @@procid but which dbid

I've also opened a feature request for a simple method to get the dbid that goes with the @@procid value, such as a global @@dbid_for_procid.  CR is 756896, but there is no telling when or even if it...

View Article

Running SAP ASE on the top-notch Oracle T5-4 Servers...

Hi all, I am just about to dive into an exiting experience of running SAP ASE 15.7 on the top-notch Oracle T5-4 servers - with the fastest CPUs available as of today - 3.6 GHz, up to 512 computing...

View Article

sybase database user passwords unknown

Dear All,  We have a situation - We don't have any of the sybase user passwords. Now, we need to login to database. Any suggestions pls? Like deleting SAP* password in sap sytems or by changing any...

View Article


Re: sybase database user passwords unknown

You can reset the password of a login (such as sa) that has sso_role by rebootingASE after adding the parameter "-p<sso_login_name>" to the list of dataserver parametersin the RUN_SERVER file. A...

View Article

Re: is it possible to dump/load statistics

Hi Kevin, No we're not upgrading Sybase software. Our software upgrade is taking a lot of time for certain part, the idea to speed-up the process would be to migration the production DB few days before...

View Article


Re: Running SAP ASE on the top-notch Oracle T5-4 Servers...

Hey ho!    The servers landed....  The show begins!.....

View Article

BASIS Role in SYBASE

Dear Friends,  I'm new to Sybase DB.. I work as BASIS consultant in Oracle & SQL Server DB's only . Now I have to support one more DB called SYBASE in another 1 month. So I have just one more month...

View Article


Re: BASIS Role in SYBASE

You may also want to check out the SAP on ASE group @ http://scn.sap.com/community/ase/content  You'll probably find more BASIS folks in that group. This group is geared primarily towards non-SAP...

View Article

Insufficient resources

Hello, I'm checking Overview of sybase ASE, and I can see an ASE Error log. Insufficient resources. In the database space only I have 3 GB free, but I´ve configured the Automatic DB expansion.With this...

View Article

Re: BASIS Role in SYBASE

Hi Mark  Thanks for the information and guiding me .  Best Regards,Joseph

View Article
Browsing all 3587 articles
Browse latest View live


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