getting the error message from another trigger in sql server The Next CEO of Stack...
Why am I allowed to create multiple unique pointers from a single object?
How do I make a variable always equal to the result of some calculations?
What benefits would be gained by using human laborers instead of drones in deep sea mining?
Why do airplanes bank sharply to the right after air-to-air refueling?
In excess I'm lethal
Make solar eclipses exceedingly rare, but still have new moons
Would a completely good Muggle be able to use a wand?
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
Is there a difference between "Fahrstuhl" and "Aufzug"
Rotate a column
Why do remote companies require working in the US?
Does it take more energy to get to Venus or to Mars?
Why didn't Khan get resurrected in the Genesis Explosion?
Anatomically Correct Strange Women In Ponds Distributing Swords
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
Can you replace a racial trait cantrip when leveling up?
Multiple labels for a single equation
How to count occurrences of text in a file?
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
What does "Its cash flow is deeply negative" mean?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
To not tell, not take, and not want
Return the Closest Prime Number
getting the error message from another trigger in sql server
The Next CEO of Stack OverflowError in creating triggerTrigger not firing when deleting a record from stored procedure MySqlHow to prevent a PostgreSQL trigger from being fired by another trigger?SQL Server After Insert trigger does not perform actionsDetermine the command type in a DDL trigger / get names and datatypes of new columnsmysql trigger on a federated tableSQL Server 2008R2 trigger sometimes doesn't firePostgresql ERROR: duplicate key value violates unique constraint when trigger insertTrigger reading from two view tables and write on a different table takes more than 12 seconds, what might be the issue here?How to access to other INSERTed/UPDATEd rows from trigger in PostgreSQL?
i have a table 'Event' and it contains a trigger trEvent which updates table 'Position', and table 'Position' has a trigger trPosition which validates the Position records.
whenever trEvent is fired one record in Position table is updated and the trPosition trigger is fired to check the validation of position, if it is a valid position there is no problem but if the position is invalid how the trEvent should know there is something wrong with the Position which is updated.
thanks in advance!
trigger
New contributor
add a comment |
i have a table 'Event' and it contains a trigger trEvent which updates table 'Position', and table 'Position' has a trigger trPosition which validates the Position records.
whenever trEvent is fired one record in Position table is updated and the trPosition trigger is fired to check the validation of position, if it is a valid position there is no problem but if the position is invalid how the trEvent should know there is something wrong with the Position which is updated.
thanks in advance!
trigger
New contributor
add a comment |
i have a table 'Event' and it contains a trigger trEvent which updates table 'Position', and table 'Position' has a trigger trPosition which validates the Position records.
whenever trEvent is fired one record in Position table is updated and the trPosition trigger is fired to check the validation of position, if it is a valid position there is no problem but if the position is invalid how the trEvent should know there is something wrong with the Position which is updated.
thanks in advance!
trigger
New contributor
i have a table 'Event' and it contains a trigger trEvent which updates table 'Position', and table 'Position' has a trigger trPosition which validates the Position records.
whenever trEvent is fired one record in Position table is updated and the trPosition trigger is fired to check the validation of position, if it is a valid position there is no problem but if the position is invalid how the trEvent should know there is something wrong with the Position which is updated.
thanks in advance!
trigger
trigger
New contributor
New contributor
New contributor
asked 2 mins ago
user175928user175928
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
user175928 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f233555%2fgetting-the-error-message-from-another-trigger-in-sql-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
user175928 is a new contributor. Be nice, and check out our Code of Conduct.
user175928 is a new contributor. Be nice, and check out our Code of Conduct.
user175928 is a new contributor. Be nice, and check out our Code of Conduct.
user175928 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f233555%2fgetting-the-error-message-from-another-trigger-in-sql-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown