Click here to Skip to main content
16,005,389 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to add Dynamic Colunms in a report Pin
SilimSayo22-Nov-11 6:16
SilimSayo22-Nov-11 6:16 
Questioncan a trigger have parameters Pin
yousefshokati21-Nov-11 19:42
yousefshokati21-Nov-11 19:42 
AnswerRe: can a trigger have parameters? Pin
Shameel21-Nov-11 22:51
professionalShameel21-Nov-11 22:51 
AnswerRe: can a trigger have parameters Pin
Corporal Agarn22-Nov-11 3:01
professionalCorporal Agarn22-Nov-11 3:01 
GeneralRe: can a trigger have parameters Pin
yousefshokati22-Nov-11 19:33
yousefshokati22-Nov-11 19:33 
GeneralRe: can a trigger have parameters Pin
SilimSayo23-Nov-11 10:59
SilimSayo23-Nov-11 10:59 
GeneralRe: can a trigger have parameters Pin
yousefshokati23-Nov-11 19:56
yousefshokati23-Nov-11 19:56 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 5:05
Chris Meech24-Nov-11 5:05 
This is not a good idea for a trigger. You could create an AFTER INSERT trigger that calculates a new balance and if that balance exceeds $100, to then insert a record into another table. You now have the potential for creating a circular operation which is not good.

The previous suggestions for using a procedure to perform the balance calculation and to then insert or delete based upon the result of that calculation makes much more sense and will be prone to less errors. Smile | :)
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 6:18
SilimSayo24-Nov-11 6:18 
GeneralRe: can a trigger have parameters Pin
Chris Meech24-Nov-11 6:29
Chris Meech24-Nov-11 6:29 
GeneralRe: can a trigger have parameters Pin
SilimSayo24-Nov-11 10:14
SilimSayo24-Nov-11 10:14 
AnswerRe: can a trigger have parameters Pin
vankireddy satish25-Nov-11 2:36
vankireddy satish25-Nov-11 2:36 
QuestionSQL Connection Error Pin
webpeon8020-Nov-11 13:56
webpeon8020-Nov-11 13:56 
AnswerRe: SQL Connection Error Pin
webpeon8020-Nov-11 14:53
webpeon8020-Nov-11 14:53 
AnswerRe: SQL Connection Error Pin
thatraja23-Nov-11 20:05
professionalthatraja23-Nov-11 20:05 
Questionhow to make self backup to sql-server-2008 ? Pin
Gali197820-Nov-11 7:57
Gali197820-Nov-11 7:57 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Mycroft Holmes20-Nov-11 12:09
professionalMycroft Holmes20-Nov-11 12:09 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Corporal Agarn21-Nov-11 9:23
professionalCorporal Agarn21-Nov-11 9:23 
QuestionShould every table have Primary key ? Pin
yousefshokati20-Nov-11 0:48
yousefshokati20-Nov-11 0:48 
AnswerRe: Should every table have Primary key ? Pin
Jörgen Andersson20-Nov-11 3:48
professionalJörgen Andersson20-Nov-11 3:48 
AnswerRe: Should every table have Primary key ? Pin
Eddy Vluggen20-Nov-11 7:11
professionalEddy Vluggen20-Nov-11 7:11 
AnswerRe: Should every table have Primary key ? Pin
Mycroft Holmes20-Nov-11 12:06
professionalMycroft Holmes20-Nov-11 12:06 
AnswerRe: Should every table have Primary key ? Pin
SilimSayo22-Nov-11 10:46
SilimSayo22-Nov-11 10:46 
GeneralRe: Should every table have Primary key ? Pin
yousefshokati22-Nov-11 21:38
yousefshokati22-Nov-11 21:38 
GeneralRe: Should every table have Primary key ? Pin
SilimSayo23-Nov-11 9:35
SilimSayo23-Nov-11 9:35 

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.