Click here to Skip to main content
15,898,371 members
Home / Discussions / Database
   

Database

 
QuestionSELECT INTO or CREATE TABLE Pin
bxlorenz24-Sep-09 10:30
bxlorenz24-Sep-09 10:30 
AnswerRe: SELECT INTO or CREATE TABLE [modified] Pin
Blikkies24-Sep-09 19:22
professionalBlikkies24-Sep-09 19:22 
GeneralRe: SELECT INTO or CREATE TABLE Pin
bxlorenz25-Sep-09 4:22
bxlorenz25-Sep-09 4:22 
QuestionDisplay few columns in datagridview. Pin
jeshra27924-Sep-09 8:30
jeshra27924-Sep-09 8:30 
AnswerRe: Display few columns in datagridview. Pin
Dave290924-Sep-09 12:49
Dave290924-Sep-09 12:49 
AnswerRe: Display few columns in datagridview. Pin
Syed Shahid Hussain24-Sep-09 22:19
Syed Shahid Hussain24-Sep-09 22:19 
QuestionHow do I automatically backup my sql server 2005 express database on another server? Pin
Nada Adel24-Sep-09 2:15
Nada Adel24-Sep-09 2:15 
AnswerRe: How do I automatically backup my sql server 2005 express database on another server? Pin
Abhishek Sur24-Sep-09 3:33
professionalAbhishek Sur24-Sep-09 3:33 
AnswerRe: How do I automatically backup my sql server 2005 express database on another server? Pin
Johan Hakkesteegt24-Sep-09 5:56
Johan Hakkesteegt24-Sep-09 5:56 
QuestionHow to Optimize MySql Database? Pin
Paramhans Dubey23-Sep-09 21:40
professionalParamhans Dubey23-Sep-09 21:40 
AnswerRe: How to Optimize MySql Database? Pin
Ashfield24-Sep-09 1:26
Ashfield24-Sep-09 1:26 
GeneralRe: How to Optimize MySql Database? Pin
Paramhans Dubey24-Sep-09 2:15
professionalParamhans Dubey24-Sep-09 2:15 
AnswerRe: How to Optimize MySql Database? Pin
Dave290924-Sep-09 12:45
Dave290924-Sep-09 12:45 
QuestionNesting a stored proc call in a where clause? Pin
Dave290923-Sep-09 14:23
Dave290923-Sep-09 14:23 
AnswerRe: Nesting a stored proc call in a where clause? Pin
Dave290923-Sep-09 14:54
Dave290923-Sep-09 14:54 
AnswerRe: Nesting a stored proc call in a where clause? Pin
Ashfield23-Sep-09 21:16
Ashfield23-Sep-09 21:16 
QuestionRe: Nesting a stored proc call in a where clause? Pin
Dave290924-Sep-09 12:37
Dave290924-Sep-09 12:37 
GeneralSQL AZURE Service Pin
abhigad23-Sep-09 13:38
abhigad23-Sep-09 13:38 
QuestionHow we can handle mails if exchange server is down Pin
Anuj Banka23-Sep-09 0:31
Anuj Banka23-Sep-09 0:31 
AnswerRe: How we can handle mails if exchange server is down Pin
Johan Hakkesteegt23-Sep-09 0:49
Johan Hakkesteegt23-Sep-09 0:49 
GeneralRe: How we can handle mails if exchange server is down Pin
Anuj Banka23-Sep-09 1:31
Anuj Banka23-Sep-09 1:31 
GeneralRe: How we can handle mails if exchange server is down Pin
Johan Hakkesteegt23-Sep-09 2:23
Johan Hakkesteegt23-Sep-09 2:23 
The core problem is, what happens when your trigger is unable to send a message, right?

The question is what do you want to happen? Should your solution use an alternative medium (for example POP)? But what if the connection between the database server and the rest of the network is broken? Then you won't be able to access any alternative at all.

From your original message I understand that you are already sending emails through triggers.

Why not use our approach, but adapted to work with triggers?
Trigger --> if sending message fails --> message to table
SQL job --> check table every minute or so --> send message using same code you are using in your triggers
Message sent successful --> flag message in table as sent or delete from table.

My advice is free, and you may get what you paid for.

GeneralRe: How we can handle mails if exchange server is down Pin
Anuj Banka23-Sep-09 2:48
Anuj Banka23-Sep-09 2:48 
GeneralRe: How we can handle mails if exchange server is down Pin
Johan Hakkesteegt23-Sep-09 2:49
Johan Hakkesteegt23-Sep-09 2:49 
GeneralRe: How we can handle mails if exchange server is down Pin
Anuj Banka23-Sep-09 17:53
Anuj Banka23-Sep-09 17:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.