-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aef3f0d
commit 7d2460f
Showing
6 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
SELECT * FROM Bank | ||
SELECT * FROM UserAccount | ||
SELECT * FROM BankUserMappings | ||
SELECT * FROM EMIHeaders | ||
SELECT * FROM Installments | ||
SELECT * FROM Transactions | ||
|
||
UPDATE UserAccount SET ShareSubmitted = 0, FineSubmitted = 0, InterestSubmitted = 0, AmountOnLoan = 0 | ||
DELETE FROM EMIHeaders | ||
DELETE FROM Installments | ||
DELETE FROM Transactions | ||
|
||
UPDATE Installments SET DueDate = DATEADD(MONTH, -1, DueDate) WHERE InstallmentStatus <> 2 | ||
UPDATE Installments SET Fine = 0 WHERE InstallmentStatus <> 2 | ||
|
||
--UPDATE Installments SET DueDate = CAST(DueDate AS DATE) | ||
|
||
SELECT * FROM Installments WHERE InstallmentStatus <> 2 ORDER BY DueDate | ||
|
||
select * from EMIHeaders | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters