Viewing 15 posts - 1 through 15 (of 623 total)
Welcome to the wonderful world of linked server performance troubleshooting,
Some will say never use linked servers and look for alternatives. https://www.brentozar.com/archive/2021/07/why-are-linked-server-queries-so-bad/
Others will say they are OK in certain circumstances. I...
October 29, 2024 at 9:46 pm
A pleasure. Let me know if you have further related questions. PBI opens up additional possibilities that you never had with SSRS.
Is there any equivalent in PBI for data...
September 30, 2024 at 6:47 pm
A pleasure. Let me know if you have further related questions. PBI opens up additional possibilities that you never had with SSRS.
Is there any equivalent in PBI for data...
September 30, 2024 at 5:57 pm
I'll guess since you didn't post a way for anyone to post tested code.
Use LEAD to access subsequent data in the current row. Then compare AgentExpDate to the LEAD value...
September 5, 2024 at 10:20 pm
This?
DECLARE @String VARCHAR(MAX) = '(abc.domain.com)'
SELECT @String,SUBSTRING(@String, CHARINDEX('(', @String) + 1, CHARINDEX(')', @String) - CHARINDEX('(', @String) - 1)
July 31, 2024 at 2:48 pm
To get the quarter you can use a calendar table that has the quarter specified for each day(if you have one).
Or something like this.
SELECT
CASE MONTH(GETDATE())
WHEN 1 THEN 'Qtr1'
--etc
WHEN 7 THEN...
July 12, 2024 at 2:30 pm
Provide error message as text masking any identifying information.
June 27, 2024 at 6:12 pm
Yes I was talking about the Tabular Editor product. Better answer would be query MDSchema_Cubes
SELECT * FROM $system.MDSchema_Cubes
The docs look wrong since LAST_SCHEMA_UPDATE and LAST_DATA_UPDATE have the same description.
May 21, 2024 at 2:37 pm
any thoughts on verifying automatically what is running was the last bim versioned?
You can run Tabular Edit with the appropriate permissions to connect to your prod server. Then...
May 14, 2024 at 3:09 pm
any thoughts on verifying automatically what is running was the last bim versioned?
You can run Tabular Edit with the appropriate permissions to connect to your prod server. Then...
May 14, 2024 at 3:07 pm
April 17, 2024 at 6:36 pm
Why SSRS? Do you need user interaction?
If you don't need user interaction then there are better ways to do this. SSRS is for creating formatted output so I am not...
April 5, 2024 at 6:16 pm
This sounds like more of an asp.net application issue rather than a SQL issue. I would not store links in the database. When you the user clicks the initial page...
April 1, 2024 at 7:23 pm
This is tsql
DROP TABLE IF EXISTS #Roles;
SELECT * INTO #Roles FROM OPENROWSET
(
'MSOLAP',
'Data Source=localhost;Initial Catalog=YourSSASDatabaseName;Provider=MSOLAP.4;Integrated Security=SSPI;Format=Tabular;',
'SELECT * FROM $System.TMSCHEMA_ROLES'
);
DROP TABLE IF EXISTS #RoleMemberships;
SELECT * INTO #RoleMemberships FROM OPENROWSET
(
'MSOLAP',
'Data Source=localhost;Initial Catalog=YourSSASDatabaseName;Provider=MSOLAP.4;Integrated Security=SSPI;Format=Tabular;',
'SELECT...
March 26, 2024 at 7:56 pm
You can issue an MDX query or a TSQL query against a linked server.
https://www.sqlshack.com/linking-relational-databases-with-olap-cube/
March 26, 2024 at 2:50 pm
Viewing 15 posts - 1 through 15 (of 623 total)