Click here to Skip to main content
15,911,715 members
Home / Discussions / Database
   

Database

 
AnswerRe: can anyone explain batch_control, batch_log....? Pin
GuyThiebaut8-Aug-08 0:59
professionalGuyThiebaut8-Aug-08 0:59 
QuestionRequire a single instance of a Stored Procedure Pin
Antony M Kancidrowski7-Aug-08 7:03
Antony M Kancidrowski7-Aug-08 7:03 
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 
I have a telephone call record billing application, with a table CallRecords containing the calls. The column BillItemID is set when the call is "billed" to a bill detail table: the BillItems table.

All good so far, and I wrote and update and delete trigger on CallRecords so that they could not be modified once the BillItemID was set - this prevents some bad application code modifying the data which underlies the bill.

Problem is I now have the requirement from the business to rerate a bill if the wrong rates were applied, and to allow an itemised report on this. The practical upshot is I have to credit the original bill, rerate and reassign the call records to a new BillItem and rebill them. Of course the trigger prevents this, and for now I have some code that disables the trigger, modifies the call Records and re-enables the trigger - which is of course horrible and not a good idea.

What I need to figure out is some way of reassigning and updating the call records while retaining the effect of the trigger - and I'd like some ideas from out there!

Howard

'Howard

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 
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 

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.