![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 16 of 16 total |
![]() |
Tue, Mar 6 2007 1:03 PM | Permanent Link |
Roy Lambert NLH Associates ![]() | Tim
I'm just using the grid in EDBMan. I'm going to delete the trigger (again) and try Ole's code Roy Lambert |
Tue, Mar 6 2007 1:23 PM | Permanent Link |
Roy Lambert NLH Associates ![]() | Tim
Tried it with Ole's trigger, dropped the sql into EDBMan and created the trigger that way and it worked. Than gives me a mechanism to use until you come up with a decent situation. It means two triggers for each table (insert and update) and making sure I keep the field list up to date. Two questions 1. I doubt it will affect me but is there a sequence in which triggers fire? 2. Is there a way within the trigger to loop round, get all the fields, check their type and trim if VARCHAR? I'm guessing that it should be possible but with my current success rate of writing a trigger I'd like to know first. A supplementary question is what is that likely to do to performance? Roy Lambert ps Whereabouts on your priority list is allowing us to edit triggers etc? |
Wed, Mar 7 2007 11:12 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< I'm just using the grid in EDBMan. >> Do you mean the right-hand list view ? There isn't really a "grid" for triggers. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Mar 7 2007 11:15 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< 1. I doubt it will affect me but is there a sequence in which triggers fire? >> The fire in their defined order. << 2. Is there a way within the trigger to loop round, get all the fields, check their type and trim if VARCHAR? I'm guessing that it should be possible but with my current success rate of writing a trigger I'd like to know first. A supplementary question is what is that likely to do to performance? >> There isn't currently a way in any EDB routine to dynamically reference a column in terms of a SET statement. It is something that I've had on the list for a while now, so I'll see what I can do. << ps Whereabouts on your priority list is allowing us to edit triggers etc? >> It's the same as with views, procedures, and functions so it will probably make it into a 1.02 or 1.03 release. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Mar 7 2007 11:44 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Tim
OK, in the grid that is displayed when you open a table. Roy Lambert |
Thu, Mar 8 2007 3:44 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< OK, in the grid that is displayed when you open a table. >> Never mind my question. When I went back and looked, I realized that I was asking a question for your other trigger thread, not this one. ![]() -- Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |