Viewing 15 posts - 16 through 30 (of 148 total)
Updated my first (original) post - Posted Yesterday @ 5:49 AM.
You can ignore all other posts relating to Tricky SQL Query.
December 5, 2014 at 3:13 pm
Hi Serg-52
Based on [dbo].[AAA_Mytable], you get the following:
TermCalendarIDRegYearStudentUID Qual Rollover
2 2011 ...
December 5, 2014 at 2:31 am
Hi Luis, updated the original script. Can you assist ?
December 4, 2014 at 4:15 pm
Hi Serg-52, thanks for posting the code. Have not tried it yet, will do tomorrow morning.
The stored procedure requires input for multiple students (i.e. @Student), and the example I...
December 4, 2014 at 2:46 pm
Hi Luis, added data script to my post.
December 3, 2014 at 11:28 pm
Hi Michael.
Based on Jeff's reply, I no longer do the following:
UPDATE #Part1
SET @PaymentDueDate = PaymentDueDate WHERE ID = 1
----------------------------------
I derive ID from:
Create table #Part1
(
ID ...
November 25, 2014 at 2:32 pm
--Step 2:
Insert into #Part2
Select Distinct
StudentUID,
PaymentDueDate,[Description],MinAmountDue,
(SELECT Years FROM dbo.ADV_rptage(PaymentDueDate,@AgingDate)) AS Years,
(SELECT Months FROM dbo.ADV_rptage(PaymentDueDate,@AgingDate)) AS Months,
(SELECT [Days] FROM dbo.ADV_rptage(PaymentDueDate,@AgingDate)) AS [Days],
DATEDIFF(MONTH,PaymentDueDate,@AgingDate) AS MonthDuration
-- ...
November 25, 2014 at 12:58 pm
Hi Barry, will give it a try - thanks for the effort.
September 29, 2014 at 1:05 pm
Hi Nils, Hope you can assist.
Want to move data asap from ServerA to ServerB when user clicks on 'Submit button' in Application front-end of ServerA. Once ServerB receives the data,...
September 29, 2014 at 1:00 pm
sivaj2k , Mitesh Oswal , David Burrows - thank you for your replies, will test them later today and reply to this post with my findings.
-----------------------------------------
Below is a much...
April 15, 2014 at 4:28 pm
I compared the functions DelimitedSplitN4K and SplitList for accuracy and speed:
Found that if you are calling the function Split in the where clause of many of your cte's as
I...
April 1, 2014 at 2:46 pm
Thanks Lynn, I read the article.
Just for the fun of it I will compare all 4 functions for accuracy and speed:
DelimitedSplitN4K, DelimitedSplit8K, SplitList, fn_CSVToTableString.
Judging by the article, I...
March 31, 2014 at 2:10 pm
Hi Lynn, I will compare your function with the one below and the function 'fn_CSVToTableString', notify you 2moro which I find is the best.
-----------------------------------------------
CREATE FUNCTION [dbo].[SplitList]
(
@RowData nvarchar(Max)='',
@SplitOn nvarchar(5)=''
)
RETURNS @RtnValue table
(
Id...
March 31, 2014 at 1:35 pm
Hi Lynne, a special thanks - you're a star.
--------------------------------------------------------
I noted the changes you made relating ad_SequenceId with ( --- replaced with above ).
Found that replacing the BaseData...
March 31, 2014 at 11:53 am
Hi Jeff / Lynn, I updated the query I posted.
Added '1_Script.txt' , collation is 'SQL_Latin1_General_CP1_CI_AS'.
Added function to cater for multiple SRID's via the parameter ( @SRID nvarchar(max)...
March 29, 2014 at 11:50 pm
Viewing 15 posts - 16 through 30 (of 148 total)