Viewing 15 posts - 1,891 through 1,905 (of 3,489 total)
like this?
Note, I changed the datatype of FirstBilledDate to DATE.
CREATE TABLE #T (
serviceid int NOT NULL,
ProgramId int NOT NULL,
Firstbilleddate date NULL,
CoveragePlanName varchar(100) NOT NULL,
ChargeAmount money NULL,
AdjustmentAmount money NULL,
PaymentAmount money...
June 23, 2016 at 8:36 pm
Welcome to SSC...
Thanks for the data... helps a LOT. Here's my solution... I'm sure there are better ways, but this one works... Note I created all the tables needed...
June 23, 2016 at 12:25 pm
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
Viewing 15 posts - 1,891 through 1,905 (of 3,489 total)