Extract Data-tier application ?
Hello, a user has requested for me to run within SQL Server Management Studio -> Tasks -> Extract Data-tier Application I'm not familiar with this and type of request if it's safe for me as DBA to run and provide to user. I read Microsoft's Doc…
SSAS calculated member - time hierarchy - filter member
Hello, I have a time hierarchy [TIME].[Year-Month] with levels [ALL] and [Year] and [Month]. Now I want set the value of measure to null for a specific month, which works on [Month] level with the following block: CREATE MEMBER…
SQL Server 2008R2 Security Update 10.50.6560.0
Does SQL Server 2008R2 Security Update 10.50.6560.0 (Meltdown/Spectre) include the TLS1.2 update 10.50.6542.0? I can see the TLS1.2 update is a lower build number, but I can't find anywhere that states that the higher update includes the lower one(s) -…
SQL Agent jobs schedules
Hi everybody, I have about 30 SQL Server Agent jobs. I want every job (except for a few not ours) to have the schedule named SCHED_ + name of the job. Some jobs already have schedule named this way, some use (and share) the schedule named differently.…
How to close datareader for ADO.NET source
Hi I have created a package for data migration. My package use both execute SQL Task and Data flow task. First data flow task(using ADO.NET source) works smoothly, when package flow reach second data flow task (using ADO.NET source), I get error …
Masking and External Tables
All, The script below works fine on SQLServer 2019: CREATE TABLE DefaultMask ( ID INT IDENTITY (1,1) PRIMARY KEY NOT NULL ,Name VARCHAR(255) NULL ,BirthDate DATE NOT NULL ,Social_Security BIGINT NOT NULL ); GO But the below script below…
How to script OPTIMIZE_FOR_SEQUENTIAL_KEY using smo?'
Hi. I am on SQL Server 2019 / DB Edition 150. When scripting via SSMS I get tables out with OPTIMIZE_FOR_SEQUENTIAL_KEY: CREATE TABLE ... CONSTRAINT ... PRIMARY KEY CLUSTERED ( WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY =…
Failover Cluster Manager says Chkdsk scan needed on a volume
Good afternoon, I noticed one day that FCM says that a chkdsk scan is needed on a very large volume that is used for a very large database. I ran chkdsk (no switches) and it came out clean. DBCC CheckDB (offloaded) came out clean as well as DBCC…
Help with DAX Meassure
Hello everyone, I'm diving into DAX measures and, being my second try at DAX, I have an issue with the meassures that I don't understand, or DAX, really, for that matter. Sample file:…
Rebuild index in SQL server system database
Hi, I just want to confirm , is it recommended to rebuild indexes in system database e.g. MSDB or distribution db in transactional replication. Thanks
RDL subreport filter
is there an option to set multi values as parameter for subreport? and if so, how? i want to pass as a filter multi countries values =Join(Parameters!Country.Value,",")
Analysis Server Pivot Table shows DimensionPermission warning while starting refreshing
I´m an Analysis Server Admin. I opened the SQL Server Management Studio and connected to Analysis Server Database. Then I opened a role and add a new member. The new member opened Excel and connected himself to the Analysis Server Database. If he load…
Custom functions not working in group levels in
![75937-a01-report-services-error-01.jpg][1] [1]: /api/attachments/75937-a01-report-services-error-01.jpg?platform=QnA One last problem. Where I have drills on reports the group levels are not formatting according to the custom functions being used to…
Simplest way to import XML file content into XML column in SQL Server using SSIS
What is the best way to import data from XML file into a single XML column in a database? (The whole XML from the file)? I'd like to use SSIS and I already tried BULK LOAD from OPENROWSET and got an error about file not existing, Need a different…
Recommended provider for Snowflake DW Connectivity
Hi - Am looking for Microsoft recommended providers for establishing datasource connection with Snowflake Data warehouse via SQL Server Analysis Services Tabular 2016 (On-prem). Came across articles suggesting CData providers enabling this set up…
SSRS: bulk rename reports
Hi. We have many legacy reports that have not been executed in a long time. I can find these from a persisted version of the ExecutionLogStorage table (or the fact that they are not in there at all but are in the catalog table). I have tested…
How to delete from trades table when Part id not exist on mapping table and have count =1 and on code type 3030?
How to delete from table trades where Part id not exist on mapping table and have count =1 and on code type 3030? I work on sql server 2012 I face issue i can't delete partid from table trades table where Partid not exist on mapping table and…
SSIS Excel Source Assisstance
So I recently started with SSIS and I am having problems when deploying a data flow. I got it to work in visual studio by changing Run64BitRuntime on the package to false: However when the package is deployed it does not work, I created a SQL…
SSRS2019 WITH ORACLE STORED PROCEDURE FAILS WITH WRONG NUMBER OF TYPES OF ARGUMENTS
CREATE PROCEDURE TESTLV_PROC (L_CURSOR OUT SYS_REFCURSOR) IS BEGIN OPEN L_CURSOR FOR SELECT * FROM DW_ORGANIZATION; END; /
Sql Server Reporting Server connect report server db with encrypted connection
I use sql server reporting server to host my msreporting.I want to encrypt my sql server connection (not connection string I mean ,its is already encrypted) encrypted on network traffic traffic Normally I can add encrypt=true value to mysqlserver…