Viewing 15 posts - 1,906 through 1,920 (of 3,502 total)
You would have to check the input parameters for NULLs and then skip those. That might mean that you have a zillion different updates (one for each parameter), or...
June 22, 2016 at 5:54 am
Once you use the code in the link, you could use XQuery to extract the information from the report's XML that you need... just parse it and then insert that...
June 19, 2016 at 7:36 am
This might get you started:
http://bretstateham.com/extracting-ssrs-report-rdl-xml-from-the-reportserver-database/
June 18, 2016 at 9:08 pm
How many rows are in your table?
You could do something simple like
DELETE FROM MyDB.dbo.MyTable WHERE <filter>...
but if you are deleting a lot of rows, there may be better ways...
June 10, 2016 at 12:48 am
I would check to see that when you're doing an assignment like that, are you returning a single value... Does all the code work as expected?
Normally, I would document this...
June 9, 2016 at 11:25 am
Maybe start by telling us what you think is the logic. Not sure of the question, though... One usually starts with a question about what one wants to see...
June 9, 2016 at 10:53 am
In Crystal Reports, when adding parameters, it allowed you to easily display a description field with the parameter field value.
For example, I could display the project name with the project...
June 6, 2016 at 9:03 pm
Since you're kinda new here, I fixed your SQL so that it works...
use tempdb;
go
CREATE TABLE ProviderData (PROVIDER_ID CHAR(10),
PATIENT_ID CHAR(10),
CARE_LEVEL CHAR(10),
BEGIN_DT DATETIME,
END_DT DATETIME);
GO
INSERT INTO ProviderData(Provider_ID, Patient_ID, Care_level, Begin_Dt, End_Dt) VALUES...
June 1, 2016 at 9:49 pm
Are you doing this in SSRS? Use a Matrix... does the pivot for you.
May 26, 2016 at 4:58 pm
Yes, because otherwise SSRS will see it as a single long text string. If you're passing it to a stored procedure as a parameter value, then you absolutely need...
May 24, 2016 at 8:51 pm
If you do that, you'll have to parse the values yourself. Try DelimitedSplit8K[/url] and put that in your WHERE clause.
May 24, 2016 at 6:51 pm
Marie,
That's what I was thinking... It's just easier to do this in steps. Then maybe put them all in a stored procedure, if this has to be done more...
May 20, 2016 at 1:14 pm
so write it to a temp table and do a series of updates on it.
May 19, 2016 at 7:08 pm
Viewing 15 posts - 1,906 through 1,920 (of 3,502 total)