Viewing 10 posts - 16 through 25 (of 25 total)
mrpolecat (11/10/2007)
[TotalFine] AS (case when datediff(day,[DueDate],isnull([SubmitDate],[DueDate]))>(0)then datediff(day,[DueDate],isnull([SubmitDate],[DueDate])) else (0) end*[fineperday])
thanks for ur reply
still same problem, if submited date is NULL then can't calculate total fine.
code i want like...
November 10, 2007 at 8:13 pm
Books Table:
AutoID, ISBN(PK), BookTitle
Category Table: (added all category informations)
AutoID, CategoryID(PK), CategoryName
BooksCategory Table:
AutoID, ISBN(FK), CategoryID(FK)
Now I am going to add new book into books table
Addbooks.aspx has drop down list name ddlCategory...
October 24, 2007 at 8:00 am
Dfalir (10/24/2007)
can you be a bit more specific? what do you mean when to insert data?
if you receive (or have) a boo that belongs to a category, then you insert...
October 24, 2007 at 7:34 am
Thanks Everybody
Specially Thanks to Matt, Lowell and Kennith who helped me a lot to solve my task. I would like to give you some point, how can i do...
October 19, 2007 at 3:34 am
Lowell (10/18/2007)
create table Borrowers(
MemberID ...
October 18, 2007 at 2:24 pm
Lowell (10/18/2007)
create table Borrowers(
MemberID ...
October 18, 2007 at 1:46 pm
Lowell (10/18/2007)
October 18, 2007 at 8:33 am
Kenneth Wilhelmsson (10/18/2007)
So, why not make Delay a computed column?
Then any penalties in the Borrower table will be...
October 18, 2007 at 8:21 am
Dear Kenneth
Thanks for your reply, I want to set FinePerDay .50 and TotalFine= FinePerDay * Delay
How Can I do it
October 18, 2007 at 8:17 am
Thanks For Your Reply
I am not going to use Fine Table. I will use only Borrowers Table and columns are...
MemberID, ItemID, DateTaken, DateDue, DateSubmit, FinePerDay, DaysDelay, TotalFine,...
October 18, 2007 at 6:59 am
Viewing 10 posts - 16 through 25 (of 25 total)