Welcome to the Calyx Software Message Boards where you can share ideas and solutions with other Calyx users! Calyx personnel including Tech Support, Development, QA, and Business Planning often visit these message boards unofficially to better understand our customers' needs. To submit your suggestions Click Here.
This discussion forum is a service provided by Calyx Software. Calyx Software does not endorse any particular point of view expressed in this forum or any information provided in it. The use of the information provided by other users in this message board is at your own risk.
Calyx Software Message Board
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



What are you doing with PDS's SQL database?Expand / Collapse
Author
Message
Posted 8/18/2006 6:51:17 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 9/8/2008 5:20:14 PM
Posts: 51, Visits: 183
We've been using a product (PSQL) for awhile that let's us import all of our Point data into an SQL database for reporting/dashboards. Since we moved to PDS (PSQL still help with certain reports), we've really ramped up our reporting via ASP and ASP.NET. I feely admit I'm a novice at SQL and web integration, but I've been pushing myself very hard to get up to speed.

What kinds of things have the community in general been doing?

Here are a couple pieces of our stored procedures that may be helpful:

Get status of a loan:
Create function [dbo].[Custom_Status]
(
@Status int
)
returns nvarchar(14)
as
begin

declare @ret nvarchar(14)

select @ret = 'Status'

select @ret = case
when @Status = 1 then 'Opened'
when @Status = 2 then 'Submitted'
when @Status = 3 then 'Approved'
when @Status = 4 then 'CTC'
when @Status = 5 then 'Documents'
when @Status = 6 then 'On Hold'
when @Status = 7 then 'Recorded'
when @Status = 8 then 'Closed'
when @Status = 9 then 'Suspended'
when @Status = 10 then 'Denied'
when @Status = 11 then 'Cancelled'
else Null
end
return @ret
end


in your select statment, this would get the Status, basically if f6022 is something other than the standard 11 statues use the Custom Status field: ISNULL(dbo.Custom_Status(f.f6022), f.f6024)


We have a significant amount of Stored Procedures that do things from select the most current Loan for a borrower for mailings to showing sales what their earnings rankings are for the month.


I'm really curious what other types of things people are doing....
Post #3812
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Emmanuel Huna, Bryan Telford, Jason Beck, Mike Thompson, BetaFisch

PermissionsExpand / Collapse

All times are GMT -8:00, Time now is 12:49am

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.031. 10 queries. Compression Enabled.
© 2005 Calyx Software. All rights reserved.