Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XCase Forums and xCase Triggers
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Produits tierce partie
Divers
Thread ID:
00941747
Message ID:
00941948
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>A number of UT members use xCase data modeler. I am new to xCase and have a question not answered in their help file. So...
>
>1. Are there any xCase user forums on the web? Any other support materials or developer resources on the web other than the Resolution website?
>
>2. xCase will automatically create triggers but only if there are RI issues (if there is a table relationship). I need to add trigger code to EVERY table (updating the updatedBy and updatedWhen fields). I've added the necessary code to the trigger footers and this is working for tables that have relationships defined in the data model, but how can I get xCase to generate triggers on tables without relationships?
>
>Note: I realize that sending code to the SQLDMO could help me, but the cleanest solution in our situation is to get xCase to do the work -- it is generating the rest of our trigger code.
>
>Thank you for any help you can offer!
>
>- Ed

Can't help you with the first question, but on the second, xCase will hold the code for non-RI triggers just like it does for stored procs. However, you will have to add that manually.

Having said that, remember that xCase uses good ole' Fox tables to hold everything. If you have a consistant naming routine (such as every table has the same two columns with the same two names) it would be fairly easy to write a Fox routine that populates the code into the xCase trigger table. That way you have it in there the next time you need to update the database.

Just an idea...
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform