Click here to Skip to main content
15,908,674 members
Home / Discussions / Database
   

Database

 
AnswerRe: Require a single instance of a Stored Procedure Pin
Wendelius7-Aug-08 8:50
mentorWendelius7-Aug-08 8:50 
GeneralRe: Require a single instance of a Stored Procedure Pin
Antony M Kancidrowski7-Aug-08 12:39
Antony M Kancidrowski7-Aug-08 12:39 
GeneralRe: Require a single instance of a Stored Procedure Pin
Wendelius7-Aug-08 18:25
mentorWendelius7-Aug-08 18:25 
QuestionExtract SQLSERVER.exe programmatically Pin
sunil goyalG7-Aug-08 6:53
sunil goyalG7-Aug-08 6:53 
QuestionHow can identify that particular Instance of SQL Server is installed or not Pin
sunil goyalG7-Aug-08 4:42
sunil goyalG7-Aug-08 4:42 
QuestionTrigger issue Pin
Howard Richards7-Aug-08 2:59
Howard Richards7-Aug-08 2:59 
AnswerRevised billing logic Pin
David Mujica7-Aug-08 3:44
David Mujica7-Aug-08 3:44 
GeneralRe: Revised billing logic Pin
Howard Richards7-Aug-08 4:47
Howard Richards7-Aug-08 4:47 
Thanks for the reply - I do have all that billing transaction/integrity logic on the system - the bill items are assigned to a Bill, the bill has a bill date when it's posted etc. The triggers for that level don't affect the CallRecords table.

In this instance the original Bill and the BillItems would remain, but the CallRecords that originally underlied the BillItem need to be moved out.

I was trying to figure out a way to write the CallRecords trigger thus:

if (update CallRecords)
where (change is a valid move)
permit
else
rollback


The problem is how does a trigger determine this is a valid update (e.g. to move the call records to a new billitem), as opposed to an invalid one.

I think that the case here is that we can modify the call record if we are ALSO modifying the BillItemID to a new value - this is permitted.

'Howard

AnswerRe: Trigger issue Pin
Wendelius7-Aug-08 8:34
mentorWendelius7-Aug-08 8:34 
QuestionNeed some advice on a good "practice" SQL server Pin
MarkB7777-Aug-08 0:52
MarkB7777-Aug-08 0:52 
AnswerRe: Need some advice on a good "practice" SQL server Pin
Howard Richards7-Aug-08 2:45
Howard Richards7-Aug-08 2:45 
AnswerRe: Need some advice on a good "practice" SQL server Pin
Mycroft Holmes7-Aug-08 17:34
professionalMycroft Holmes7-Aug-08 17:34 
QuestionAttach database failed for Server 'computername\Instance1'. Give Error on VISTA but successfully run on XP Pin
Rupsaa7-Aug-08 0:43
Rupsaa7-Aug-08 0:43 
Questionsql server management studio express 32 bit or 64 bit.... Pin
new2pgrmg6-Aug-08 22:27
new2pgrmg6-Aug-08 22:27 
AnswerRe: sql server management studio express 32 bit or 64 bit.... Pin
SimulationofSai6-Aug-08 23:08
SimulationofSai6-Aug-08 23:08 
QuestionCreate Login/User when Install SQL Server In Silent mode Pin
Rupsaa6-Aug-08 22:16
Rupsaa6-Aug-08 22:16 
QuestionHow to Edit & Read binary data on SQL 2005 Pin
jdfgdg6-Aug-08 20:56
jdfgdg6-Aug-08 20:56 
AnswerRe: How to Edit & Read binary data on SQL 2005 Pin
topcatalpha6-Aug-08 21:36
topcatalpha6-Aug-08 21:36 
GeneralRe: How to Edit & Read binary data on SQL 2005 Pin
jdfgdg6-Aug-08 22:07
jdfgdg6-Aug-08 22:07 
GeneralRe: How to Edit & Read binary data on SQL 2005 Pin
topcatalpha6-Aug-08 22:47
topcatalpha6-Aug-08 22:47 
QuestionAbout Attach database Pin
nelsonpaixao6-Aug-08 14:51
nelsonpaixao6-Aug-08 14:51 
JokeRe: About Attach database Pin
Paul Conrad7-Aug-08 18:12
professionalPaul Conrad7-Aug-08 18:12 
QuestionHow get file date with scripts Pin
topcatalpha6-Aug-08 5:07
topcatalpha6-Aug-08 5:07 
AnswerRe: How get file date with scripts Pin
Wendelius6-Aug-08 9:02
mentorWendelius6-Aug-08 9:02 
AnswerRe: How get file date with scripts Pin
Ashfield6-Aug-08 20:52
Ashfield6-Aug-08 20:52 

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.