Assign active directory security group to server role
Hi Guys, I'm trying to assign Active Directory Security Group as a member in a server role that i created. but when i'm open my Object types, i don't have groups option available, only Logins and Server roles. maybe the solution is to create login…
how to multiply the first matrix by itself but transposed in SSMS 17
I have matrix. Here this create table matr1 ( x1 num, x2 num, x3 num, x4 num, x5 num, x6 num, x7 num ) insert into comm values (1,0,0,0,0,0,0,0), (1,0,5,1,2,2,8,0,0,5,0,2), (1,0,5,0,0,0,1,2,0), …
SSAS error the source database does not exist, the source table does not exist, or because you do not have access to the data source
Hello everyone, I'm hoping someone could help me resolving this error... The operation failed because the source database does not exist, the source table does not exist, or because you do not have access to the data source. More Details: OLE…
What are the features of SQL syntax?
Why is the execution order of SQL statements inconsistent with the syntactic order of their statements,What are the features of SQL syntax?
SSAS: How to solve column of table cannot be processed bcz it contains more than 2B distinct records
Hello All, We are using SSAS tabular models for our power bi reports. Our models are pulling data from SQL Server and the data is increasing rapidly in billions. One of facttable, which has more than 10Billions of records, when we are trying…
Upgrading a SQL failover cluster - OS and SQL versions
Hi I need to upgrade a 2 node SQL failover cluster currently running Windows 2016 Std and SQL 2016 Std to Windows 2019 and SQL 2019 Std. I understand I can do a rolling upgrade by essentially upgrading the passive node first then failing over to it. …
SSAS Measure -> Retrive the selected value from Measure
Hi, I have a hierarchy HL1 HL21 HL211 HL212 HL22 HL221 Users access this cube data in Excel. They place this hierarchy in the COLUMNS section of pivot. The result should be as below in the image. ![72489-capture.png][1] [1]:…
Building a project fails, why?
SQL Server Data Tools for Visual Studio 2017. A solution of mixed SSAS and SSIS. Trying to see why a build fails. Not a single error or warning in the Error List. I do a Rebuild for solution: ========== Rebuild All: 4 succeeded, 1 failed, 0 skipped…
SSAS Tabular model access to Always Encrypted data
Using: Visual Studio Professional 2019. SQL Server 2019 (RTM) - 15.0.2000.5 (X64) Windows 10 Enterprise 10.0 <X64> (Build 17763: ) SQL Server SQL Server Management Studio 15.0.18369.0 SQL Server Management Objects (SMO)…
SQL Server 2008 Express installation fails with error (provider SSL, Provider, errors 0 - No process is on the other end of the pipe).
I ran into an installation issue with SQLServer2008 Express SP3 on a Windows 10 build 1909 computer. The installation fails with the error 'A connection was successfully established with the server, but then an error occurred during the login process.…
DBCC CHeckdb and tempdb usage
May I know if there are enough memory , will it still use tempdb for dbcc check db ? May I know the tempdb estimated to be use for dbcc checkdb is roughly the max size of the table and its index in the database ? I know there are dbcc checkdb with…
SQL Server Standard Edition 2019 Software Assurance
Hi, activating a Server SQL Standard 2019 licence with Software Assurance package, is there a limitation on numbers of DB that i can put in HA or DR with passive replicas ? Or i can implement the always on with the whole instance without limitation…
SSRS IIF Expression Question
=IIF((Fields!Description.Value Like "*Youth") and (Fields!Value.Value = "Yes"), (Fields!Description.Value Like "*Youth")) I'm trying to attempt to look for anything in the description *Youth and the value needs to equal…
Powershell output file in txt file don't have all columns
I was executing this Powershell command below to get DB backup history $SQLServer = Get-Content -Path "C:\shell\cdms.txt" Invoke-DbaQuery -sqlinstance $SQLServer -File "C:\shell\sqladmin.sql"| Out-File…
Agent jobs for SSIS pkgs are not running with package define login
SSIS version 2016 SP2 runs in Server A database version: 2016 runs in Server B I deployed packages and configured connection manager Service user call "SRV_CRM_report"(AD user) login in under Server A SSIS Integration Service catalogs) .…
Not all FK's updating con savechanges
Afternoon, Hope someone can help me, I have the following model: The rough code (I know its a mess) at present while I am trying to workout what is going on is as follows to add a note and link it to the changelog: public async…
Error occurs when using SQL Command From Variable in SSIS OLE Db Source
I am using a SQL SERVER 2008 database and creating an SSIS package in VS 2017. Here is pseudo-code of what I am doing: Execute SQL Task - Get list of dates Foreach Loop Container - For each date Expression Task - create query in a variable Script…
Get data from duplicate rows in new columns
Hi I need to set up an SSIS package to import data from experiments (excel files) that are run in duplicate and triplicate this will be done on a multitude of files so it needs to be fully automated. I only need help with the data flow task not the…
SSISDB and master db has different collation
Is it advisable to keep SSISDB and Master database on different collation? I have my SSISDB on SQL_Latin1_General_CP1_CI_AS and Master on Latin1_General_BIN2. Shall I also get my SSISDB's collation to Latin1_General_BIN2?
Reccurent SSIS SQL Task with for loop
I want to loop through date said 2000-01-01 to 2000-12-31 and i put the date as variable (said start and stop). I want to recursively call insert query which structured like this: FOR date in range (start,stop): INSERT INTO TABLE A (SELECT ...) ON…