Viewing 15 posts - 1,171 through 1,185 (of 3,480 total)
That's how input parameters are declared. That's just how T-SQL works.
November 11, 2018 at 7:29 pm
Why are you VARCHAR columns and then storing numbers in them? Why is a column like Withdraw_Percentage not a decimal or similar?
November 11, 2018 at 3:25 pm
I would like to create a stored procedure based on anexisting table, where the stored procedure will automatically create a newtable with additional columns of data in the right...
November 11, 2018 at 2:01 pm
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
Viewing 15 posts - 1,171 through 1,185 (of 3,480 total)