Viewing 15 posts - 1,201 through 1,215 (of 3,507 total)
How far did you get writing this? Pretty good bet that nobody is going to write this for you.
And what's the deal with all the NVARCHAR(MAX) columns? What are...
November 10, 2018 at 6:22 pm
Putting all the files together on one drive invites a single point of failure disaster, so that's just plain wrong. Say they're all on the same drive, and the drive...
November 9, 2018 at 12:54 am
Can you go back to the person that created the dataset and ask them to add it? (super annoying, but I have no idea how else to do it!)
November 8, 2018 at 12:07 pm
Are you authoring your report or just consuming it? Maybe you don't have rights to add columns?
November 8, 2018 at 11:57 am
In SSRS, you can right-click on your dataset, and then choose "Add Calculated Field" and then do something like =LEFT(Fields!Protocol.Value,3)
Then you can group by that...
November 8, 2018 at 10:34 am
CAST(AVG(((CASE WHEN vWorkOrders.StatusCode = 'CMPLT' THEN 1.0 ELSE 0.0 END)/1.0)*100) AS DECIMAL(10,2) as [Completed],
?
November 8, 2018 at 8:03 am
Is this an SSIS question?
Why not just use a DELETE/TRUNCATE statement on the source table after the insert, maybe inside a transaction?
November 7, 2018 at 10:08 pm
"Each possible combination" = cartesian product. Simple as that.
November 7, 2018 at 12:41 pm
Union and then query? What did you try?
November 7, 2018 at 11:31 am
It would be infinitely clearer if you posted a proper CREATE TABLE script, with INSERTS to populate the table for your sample data. It's really easy to misinterpret the data...
November 6, 2018 at 5:08 pm
Can you post the definition of the stored procedure? I'm just wondering if you really need to do this with a cursor. Most of the time, "cursor" is a dirty...
November 6, 2018 at 9:07 am
So you want an aggregate by month first and then month over month change?
If you're using 2008, I think you have to use a CTE to point to the...
November 3, 2018 at 3:23 pm
No need to apologize for asking questions here! That's what it's here for. As long as you read the Best Practices article and follow it, you'll stand a...
November 2, 2018 at 9:14 pm
" the idea is to create a single report from data fetched in multiple tables"
I'd write the SP in SQL Server first, and make sure it returns the data...
November 2, 2018 at 4:23 pm
Sounds like an extra credit assignment for a take home test. Pass.
October 31, 2018 at 10:30 pm
Viewing 15 posts - 1,201 through 1,215 (of 3,507 total)