Viewing 15 posts - 16 through 30 (of 150 total)
Thanks Guyz
I connected it one more time with itself and used the MAX function, which kind of solved my problem.
I know this is not an ideal thing to do
SELECT
...
July 13, 2016 at 9:29 am
I took out the distinct.
If somebody else could also look into it that would be great
July 12, 2016 at 4:06 pm
Thanks Sean, what would be the correct statement, Im using this.
(SELECT MAX(COUNT(C.AppID) WHERE C.Status = 'Funded')
Can we do MAX on aggregates?
July 12, 2016 at 3:46 pm
Facilitator is text field, that's why subquery not a JOIN
July 12, 2016 at 3:18 pm
Thanks, I am using the following in the select statement but getting an error:
COALESCE (CONVERT(varchar(20),TBS.[DateTime], 101), CONVERT(varchar(100),TBS1.[DateTime], 101), CONVERT(varchar(20),APL.DateAppEntryStart, 101) AS [Checking]
Msg 156, Level 15, State 1, Line 23
Incorrect syntax...
April 5, 2016 at 4:35 pm
user does not have a option for selection, they can only type it in.
March 17, 2016 at 10:56 am
Can anyone make sense of what exactly is happening with the tables(loan, usr_m1_letter_requests, m1lettersque)?
January 7, 2016 at 9:40 am
Thanks Luis,
Even the following is taking endless amount of time, I kill it after 3-4 minutes, I am trying to see if there are any repetitions which we can avoid,...
January 6, 2016 at 11:18 am
I am not a fan of cursors, never used it. Is there a way we can write the code without it? Any help would be appreciated.
January 6, 2016 at 10:37 am
I inherited a bad code, I am getting a deadlock when I am using your where clause
December 29, 2015 at 10:25 am
Is it because of the performance issue I shouldn't be using it in the where clause:
WHERE CONVERT(varchar(10), a.DateAppReceived, 101) = CONVERT(varchar(10), GETDATE(), 101)
this actually did the job for me.
December 29, 2015 at 10:17 am
DATETIME
SELECT STATEMENT
, CONVERT(varchar(10), a.DateAppReceived, 101) AS DateAppReceived
December 29, 2015 at 9:35 am
CREATE TABLE [dbo].[M1CustLetters](
[LoanID] [nvarchar](10) NOT NULL,
[StatementDate] [datetime] NOT NULL,
[CustomerName] [varchar](40) NOT NULL,
[Address1] [varchar](40) NOT NULL,
[Address2] [varchar](40) NOT NULL,
[BankPool] [varchar](12) NOT NULL,
[AcctNum] [varchar](12) NOT NULL,
[DueDate] [datetime] NOT NULL,
[NextStatementDate] [datetime] NOT NULL,
[CurrentBalance]...
December 17, 2015 at 8:44 am
Viewing 15 posts - 16 through 30 (of 150 total)