dbTalk Databases Forums  

OK Why don't triggers have owners

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss OK Why don't triggers have owners in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Diaz
 
Posts: n/a

Default OK Why don't triggers have owners - 10-29-2009 , 01:46 PM






Sure they belong to the table but in large databases we use owners to
categorize functionality and when your looking at many objects owners are a
good way to filter them.

Jim

Reply With Quote
  #2  
Old   
Josh Savill [Sybase]
 
Posts: n/a

Default Re: OK Why don't triggers have owners - 10-29-2009 , 02:43 PM






What version and build of SQL Anywhere are you running (dbsrvX -v)?

I'm using SQL Anywhere 11.0.1 build 2276. Each trigger has an "Object Owner". In Sybase Central when
I filter to remove the "Object Owner" the trigger no longer appears in the list.

Is this the problem you're experiencing?

--
Joshua Savill
Sybase Inc. - Product Manager


Jim Diaz wrote:


Quote:
Sure they belong to the table but in large databases we use owners to
categorize functionality and when your looking at many objects owners are a
good way to filter them.

Jim


Reply With Quote
  #3  
Old   
Josh Savill [Sybase]
 
Posts: n/a

Default Re: OK Why don't triggers have owners - 10-29-2009 , 02:48 PM



This functionality is the same in SA 10.0.1.

--
Joshua Savill
Sybase Inc. - Product Manager


Josh Savill [Sybase] wrote:
Quote:
What version and build of SQL Anywhere are you running (dbsrvX -v)?

I'm using SQL Anywhere 11.0.1 build 2276. Each trigger has an "Object
Owner". In Sybase Central when I filter to remove the "Object Owner" the
trigger no longer appears in the list.

Is this the problem you're experiencing?

Reply With Quote
  #4  
Old   
Jim Diaz
 
Posts: n/a

Default Re: OK Why don't triggers have owners - 10-30-2009 , 01:52 PM



I believe the syntax is

CREATE [ OR REPLACE ] TRIGGER trigger-name


I was thinking

CREATE [ OR REPLACE ] TRIGGER [ owner.] trigger-name

Thanks,

Jim

"Josh Savill [Sybase]" <no_spam_jsavill_no_spam (AT) sybase (DOT) com> wrote

Quote:
What version and build of SQL Anywhere are you running (dbsrvX -v)?

I'm using SQL Anywhere 11.0.1 build 2276. Each trigger has an "Object
Owner". In Sybase Central when I filter to remove the "Object Owner" the
trigger no longer appears in the list.

Is this the problem you're experiencing?

--
Joshua Savill
Sybase Inc. - Product Manager


Jim Diaz wrote:


Sure they belong to the table but in large databases we use owners to
categorize functionality and when your looking at many objects owners are
a good way to filter them.

Jim

Reply With Quote
  #5  
Old   
Bruce Hay
 
Posts: n/a

Default Re: OK Why don't triggers have owners - 10-30-2009 , 02:10 PM



Triggers are associated with tables and the owner of the trigger is the owner of
the table. To do otherwise would be a major change; I don't see that happening.

SQL Anywhere Developer Community:
http://www.sybase.com/developer/libr...ere-techcorner


SQL Anywhere Blog Center: http://www.sybase.com/sqlanyblogs




Jim Diaz wrote:
Quote:
I believe the syntax is

CREATE [ OR REPLACE ] TRIGGER trigger-name


I was thinking

CREATE [ OR REPLACE ] TRIGGER [ owner.] trigger-name

Thanks,

Jim

"Josh Savill [Sybase]" <no_spam_jsavill_no_spam (AT) sybase (DOT) com> wrote in message
news:4ae9fe54$1 (AT) forums-1-dub (DOT) ..
What version and build of SQL Anywhere are you running (dbsrvX -v)?

I'm using SQL Anywhere 11.0.1 build 2276. Each trigger has an "Object
Owner". In Sybase Central when I filter to remove the "Object Owner" the
trigger no longer appears in the list.

Is this the problem you're experiencing?

--
Joshua Savill
Sybase Inc. - Product Manager


Jim Diaz wrote:


Sure they belong to the table but in large databases we use owners to
categorize functionality and when your looking at many objects owners are
a good way to filter them.

Jim


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.