Viewing 11 posts - 1 through 11 (of 11 total)
Hi, here goes at posting the definition then. Apologies if its not what is required, not posted defintion before.
Current View
CREATE view [dbo].[CQN12-5i1_Signposts_Smoking_Cessation]
as
SELECT
'CQN12-5i1_Signposts_Smoking_Cessation as [Measure] (Varchar(37),not null)
,'CQUIN_data'...
November 8, 2013 at 4:25 am
My previous posts no longer correlate to what i am trying to achieve now, but the concept is the same. I have a calendar table and also a table with...
November 8, 2013 at 3:08 am
Many Thanks to both for your suggestions. I have managed to make it work!
My only question: is there anyway i can include which row it chooses? For example in some...
October 23, 2013 at 8:12 am
HI Dwain,
Sorry to be a pain, but i am struggling to make this work and i know its probably quite simple. Here is what i have changed and the results...
October 11, 2013 at 2:31 am
Hi Dwain,
I did have a go at your attempt, however if I want to be able to use this on a monthly basis i would have to do the manual...
October 11, 2013 at 1:51 am
THanks Jack,
It now runs, but does not pull the zero values i was hoping for. Do i need to join a calendar table on to it?
October 10, 2013 at 9:47 am
hi all,
many thanks for your assistance so far. I have created a units table as mentioned called lchs_ref.dbo.FHL_Units. I have tried to replicate what Jack Corbett has suggested but i...
October 10, 2013 at 9:27 am
Hi Chris,
I think what the script you have written appears about right to what i am looking for but keep getting this message: Any ideas why?
Msg 4104, Level 16, State...
August 8, 2013 at 6:40 am
Hi,
I have attached a file with the relevant columns on. What i am looking to do is lookup the 'name' column in the nhs_costing.dbo.cost_contacts view (called doneby1) and count the...
August 8, 2013 at 6:27 am
I need a count on each row rather than a total for the data set.
I have tried the SUM(CASE WHEN C.Contact_Date = MT.[Date of Expense] THEN 1 ELSE 0...
August 8, 2013 at 5:08 am
Viewing 11 posts - 1 through 11 (of 11 total)