Viewing 15 posts - 1,516 through 1,530 (of 6,679 total)
I don't think that is going to be possible - each of the different values you are looking up will exist on a different row and there is nothing that...
November 26, 2020 at 6:39 pm
Earlier in the thread he stated the database was taking 2 hours.
Database was 500Gb, 200 GB worth data deleted and then shrink files to reclaim space, backup was taking...
November 25, 2020 at 10:45 pm
Wouldn't it be easier to schedule an agent job to rebuild/populate a table in the database(s) - and have a view of that table for the application to access?
If your...
November 25, 2020 at 10:17 pm
Yes , backups are compressed. Before deleting data it was taking around 5 hours ( this is for the all the DBs in the instance), now it is taking...
November 25, 2020 at 9:58 pm
Just curious - but what if you switched the join to the date lookup table from an inner join to a cross apply?
cross apply (
Select *
From dbo.TSys_Lookup_Date...
November 18, 2020 at 7:34 pm
In SSRS:
=Year(Today.AddMonths(-1))
=Today.AddMonths(-1).Year
November 17, 2020 at 9:27 pm
That is a lot of code - personally I would refactor this to a single query using either CTE's or CROSS/OUTER APPLY where I could. As to your problem...it is...
November 17, 2020 at 7:53 pm
Is this a stand-alone system where you have both the database engine and reporting services installed? Is this server hosted in Azure by chance?
Since this is pre-production is it in...
November 16, 2020 at 10:20 pm
Have you verified the anti-virus software has been setup to exclude SQL data files, log files, the SSRS folders and web services?
November 16, 2020 at 8:31 pm
Hi. Yes the transaction log is that large.
Thanks,
Phil
What is the auto growth setting for the transaction log? What is the recovery model for the database - I assume it...
November 15, 2020 at 4:23 pm
Do you have any concerns about the space being used for that database? If not - then I see no reason to perform the shrink. Is the vendor recommending this...
November 14, 2020 at 5:27 pm
You can use the built-in STRING_SPLIT function:
--==== Sample data
Declare @testTable Table (UserName varchar(20), UserLanguage varchar(255))
Insert Into @testTable (UserName, UserLanguage)
Values ('Person 1', 'English,Spanish,French')
...
November 13, 2020 at 4:02 pm
Not that it matters for this but just to be clear this is not something I made and if we figure out whats wrong with it I can't make...
November 11, 2020 at 9:37 pm
FYI...
Per recommendation I created 3 temp tables by breaking up the 3 queries and adding an INSERT command to create temp tables. I then compared the 3 temp tables...
November 11, 2020 at 9:36 pm
You are also going to need to change every stored procedure and function that declares a variable or parameter as datetime. With that said - I don't think you should...
November 11, 2020 at 9:24 pm
Viewing 15 posts - 1,516 through 1,530 (of 6,679 total)