Viewing 15 posts - 1,171 through 1,185 (of 3,489 total)
Also, how do you fix a "slow database" when you don't know exactly what is slow? Do you have benchmarks? A list of the most used stored procedures?
November 20, 2018 at 4:51 pm
Of course, if you want to recover the records you deleted, and you're in Simple Recovery, you're out of luck. You'd have to restore an old copy of the database...
November 20, 2018 at 2:56 pm
???
Recovery models don't have anything to do with what SQL works in a database. That's controlled by the Compatibility Level the database is set to.
November 20, 2018 at 2:43 pm
A data warehouse is just another database with a star schema instead of a standard 3NF schema.
November 20, 2018 at 11:20 am
You're looking for something called Market Basket Analysis.
This article might be helpful
November 20, 2018 at 10:03 am
We can't see your data. How are we supposed to advise you?
PowerBI is sort of cool, but the fact that you can't write back to sources BLOWS.
use SSIS instead?
November 20, 2018 at 9:12 am
DECLARE @start_date date
DECLARE @end_date date
SET @start_date = DATEADD(YEAR, -1, GETDATE())
SET @end_date = GETDATE()
Instead of the above value for @start_date, you could do something...
November 14, 2018 at 9:07 pm
Should be in the ExecutionLog
https://docs.microsoft.com/en-us/sql/reporting-services/report-server/reporting-services-log-files-and-sources?view=sql-server-2017
Here's a really helpful article I found...
https://www.sqlchick.com/entries/2011/2/6/querying-the-report-server-execution-log.html
Sue's right... I think your question is backwards... SSRS reports connect to databases...
November 14, 2018 at 5:07 pm
Difference between what? The SSI1, SSI2, and SSI3 columns?
If they're dates, use DATEDIFF(), otherwise just subtract.
November 14, 2018 at 12:48 pm
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
Viewing 15 posts - 1,171 through 1,185 (of 3,489 total)