Viewing 15 posts - 931 through 945 (of 5,109 total)
They need three envelopes.
After the fact that storage is a problem too, I don't disagree. It should have been noted by the DBA that the backups were failing, but...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 6, 2019 at 1:43 pm
ouch. https://www.sqlservercentral.com/forums/topic/help-i-did-a-drop-and-create-blank-records-on-a-production-database Think this person may be out of luck, but if anyone has any bright ideas, they could use them.
I have to agree, I think they're out...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 6, 2019 at 1:27 pm
Create 2 new variables in your packages (I have called them StartDate and EndDate) with the Data type DateTime, and then set their expressions to the below respectively (obviously replace...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 6, 2019 at 10:23 am
Will the file name always be the same length, or different lengths? If different, will the dates always be in the same position at the end? Also, there is no...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 6, 2019 at 10:05 am
I assume, therefore, that the table doesn't have some kind of "last updated date" field? Considering that you have a inactive/active marker this suggests the inactive rows are history values,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 3:26 pm
Microsoft are no longer supplying Service Pack updates for SQL Server 2017+. Instead, 2017+ will receive a CU every month for the first 12 months after the release, and then...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 3:03 pm
That's PowerBI, not SSRS. I've no experience with PowerBI afraid, nor what browsers it supports.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 1:39 pm
Tables can be declared in SQL Server, but you need to be specific. You can't just do something like this:
DECLARE @Table table;
INSERT INTO @Table
SELECT *
FROM dbo.MyTable MT
WHERE...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 11:25 am
rather than using a function, why not use dynamic sql (also not good) in your main code
declare @sql nvarchar(1000)
set @sql='select * from '+@table+' where '+@colum ='+@filtercode
sp_executesql...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 11:01 am
a warning though, the sp_msforeachdb is not supported by Microsoft any more
I don't believe it has ever been "officially" supported, as it's an undocumented procedure. That's...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 5, 2019 at 10:20 am
I suspect the problem is the browser, not SSRS. What browser are you using? It all browsers are supported by SSRS, and which are depends on the version you're using...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 4, 2019 at 8:31 pm
I suspect that your SQL actually fails before it gets to the IN. OR is a reserved keyword in T-SQL so you'd first get an error at your alias...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 4, 2019 at 8:00 pm
You're likely going to need a loop mechanic either way. You could, however, have a look at Aaron Bertrand's sp_foreachdb instead though.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 4, 2019 at 7:54 pm
The error is telling you the problem here. You have the subquery below:
SELECT SUM(CASE WHEN PPP.NRODIASFERIAS IS NOT NULL AND FER.PERIODOABERTO = 1 THEN PPP.NRODIASFERIAS ELSE 0...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 4, 2019 at 1:27 pm
Put a breakpoint on the task Archive File on Pre Execute, and then look in the Locals Pane and explain Variables. In there you'll find the Variables for your task,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 4, 2019 at 11:36 am
Viewing 15 posts - 931 through 945 (of 5,109 total)