Click here to Skip to main content
15,903,856 members
Home / Discussions / Database
   

Database

 
QuestionHow to bypass TRIGGERs with no potential concurrency issues? Pin
Rafferty Uy21-May-09 16:34
Rafferty Uy21-May-09 16:34 
QuestionBest insert options. Pin
FISH78621-May-09 15:07
FISH78621-May-09 15:07 
AnswerRe: Best insert options. Pin
PIEBALDconsult21-May-09 15:57
mvePIEBALDconsult21-May-09 15:57 
GeneralRe: Best insert options. Pin
FISH78621-May-09 15:59
FISH78621-May-09 15:59 
GeneralRe: Best insert options. Pin
ISoftwareDev23-May-09 10:29
ISoftwareDev23-May-09 10:29 
AnswerRe: Best insert options. Pin
WoutL25-May-09 3:16
WoutL25-May-09 3:16 
QuestionTrigger in sql server 2005 [modified] Pin
beesan20-May-09 3:53
beesan20-May-09 3:53 
AnswerRe: Trigger in sql server 2005 Pin
Mycroft Holmes21-May-09 13:40
professionalMycroft Holmes21-May-09 13:40 
Beesan, I'm not going to help you with the triggers - I don't hate you that much.

Triggers are EVIL - they are difficult to very support, imagine 2 years from now when you look at the master table and wonder where all the data comes from. When they go wrong it can have dramatic, negative affects on your system.

I believe you have a design problem. Master seem to be acting as a log type table, I think a better solution is to have the logging data with the record IE add the created/modified dates to each table and use a view or query to get the information from the individual tables.

There are a number of logging solutions around, triggers are one of the nastier methods of achieving this.

Never underestimate the power of human stupidity
RAH

Questionminus operation Pin
hrishiS20-May-09 2:17
hrishiS20-May-09 2:17 
AnswerRe: minus operation Pin
Philip.F20-May-09 3:30
Philip.F20-May-09 3:30 
AnswerRe: minus operation Pin
PIEBALDconsult21-May-09 16:00
mvePIEBALDconsult21-May-09 16:00 
QuestionBest Traffic Campaign (2385) Pin
Faisal Halari20-May-09 0:36
Faisal Halari20-May-09 0:36 
AnswerRe: Best Traffic Campaign (2385) [As if you hadn't guessed, this is an ADVERT. IGNORE!!! Pin
Henry Minute20-May-09 0:39
Henry Minute20-May-09 0:39 
Questionproblem populating a combo box Pin
Jondo24shoots19-May-09 22:22
Jondo24shoots19-May-09 22:22 
AnswerRe: problem populating a combo box Pin
Henry Minute20-May-09 0:41
Henry Minute20-May-09 0:41 
AnswerRe: problem populating a combo box Pin
saanj28-May-09 3:12
saanj28-May-09 3:12 
QuestionMaking the local database to a remote database server Pin
Subin Alex19-May-09 20:14
Subin Alex19-May-09 20:14 
AnswerRe: Making the local database to a remote database server Pin
Mycroft Holmes19-May-09 23:22
professionalMycroft Holmes19-May-09 23:22 
QuestionLoading an array in a custom user function... [modified] Pin
new_phoenix19-May-09 14:59
new_phoenix19-May-09 14:59 
QuestionMessage Closed Pin
19-May-09 14:44
abbasi12319-May-09 14:44 
RantRe: Hiring home based workers (2718) Pin
Ashfield19-May-09 20:59
Ashfield19-May-09 20:59 
GeneralQuery based on Effective Date Pin
Brady Kelly19-May-09 4:20
Brady Kelly19-May-09 4:20 
GeneralRe: Query based on Effective Date Pin
David Mujica19-May-09 4:44
David Mujica19-May-09 4:44 
GeneralRe: Query based on Effective Date Pin
Brady Kelly19-May-09 5:00
Brady Kelly19-May-09 5:00 
GeneralRe: Query based on Effective Date Pin
Luc Pattyn19-May-09 5:12
sitebuilderLuc Pattyn19-May-09 5:12 

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.