Viewing 15 posts - 31 through 45 (of 75 total)
Thank you John,
Sample data below. Many thanks
-- Sample data
IF OBJECT_ID('tempdb..#SampleData') IS NOT NULL DROP TABLE #SampleData
SELECT * INTO #SampleData FROM (VALUES...
February 6, 2018 at 6:54 am
Thanks, converted to PDF as requested. Many thanks
January 26, 2018 at 1:01 am
HI Drew, whilst I appreciate what you are saying; as a newbee to sql all I'm trying to do is find a solution to a problem, The solution ChrisM gave me to...
December 15, 2017 at 7:51 am
Hi Drew,
thanks for coming back to me. I can't really post expected results as I dont know how to join to [SEQ2]. This is what I am trying to...
December 15, 2017 at 12:59 am
Hi Chris, I'm hoping the below will now make a bit more sense. The objective of this is in text at the bottom of the query. Thanks in Advance
December 14, 2017 at 5:47 am
Thanks Chris, I understand how this is confusing for everyone here after re-reading what I have posted. I work on creating better sample data showing exactly what I am trying...
December 14, 2017 at 2:31 am
here is the sample data with the error message. Many thanks
IF OBJECT_ID('tempdb..#SampleData', N'U') IS NOT NULL
BEGIN
DROP TABLE #SampleData;
END;
SELECT...
December 13, 2017 at 9:19 am
thanks guys, yes all data is in the same table i'm just trying to get the below from query 1 to show as a new column in query 2 if...
December 13, 2017 at 8:13 am
Hi Thom A
So ideally i would like to have another column in Query2 showing the output from Query1 so something like the below as a final query
December 13, 2017 at 7:23 am
thank you for this steve, when I run the query it shows the following message
'
(6929585 rows affected)
(1573534 rows affected)
Msg 207, Level 16, State 1,...
December 8, 2017 at 1:09 am
sample data coming soon, apologies
December 7, 2017 at 9:44 am
Thanks all, sample data below. Hoping to achieve - If the ref is duplicated it only counts it once rather than 3 (as in the example below)
--...
December 7, 2017 at 9:41 am
Viewing 15 posts - 31 through 45 (of 75 total)