Viewing 11 posts - 1 through 11 (of 11 total)
July 4, 2018 at 6:49 am
Thank you guys for your response.
Alan loved your example.
December 2, 2016 at 3:57 am
Many Thanks for the reply - it really worked for my results set, please can explain the below section of the code for my understanding:
NUMBERED_INSTANCES AS
(
SELECT
...
October 22, 2016 at 4:09 am
Many Thanks for your reply
July 5, 2015 at 6:41 am
declare @StartTime nvarchar(10)= '12:00'
declare @EndTime nvarchar(10)= '12:45'
declare @Diff time(1) = cast(@EndTime as datetime) - cast(@StartTime as datetime)
select EndTime, StartTime, @Diff from times;
-------------------------------------------------------------------------------------------------
So instead of hard coding the StartTime and...
June 3, 2015 at 8:24 am
Yes you are right Phil and good habits make code easier to read. Thank you guys.
June 2, 2015 at 10:37 am
Hi Phil,
Why do I need the word Clustered at the end? I've never seen this before.
cheers
June 1, 2015 at 3:26 pm
Hi Phil,
What does the number 1 represent in brackets for the time data type - time(1)?
i.e. declare @Diff time(1)
June 1, 2015 at 2:09 pm
Thank you guys, you have been very helpful.
May 31, 2015 at 4:01 pm
Viewing 11 posts - 1 through 11 (of 11 total)