18,087 questions with SQL Server-related tags

Sort by: Updated
7 answers

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
asked 2021-03-16T20:10:30.893+00:00
techresearch7777777 1,796 Reputation points
commented 2021-03-19T01:33:59.863+00:00
CathyJi-MSFT 21,096 Reputation points Microsoft Vendor
4 answers

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 Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,248 questions
asked 2021-02-17T15:42:59.52+00:00
W P 1 Reputation point
answered 2021-03-18T16:49:46.87+00:00
W P 1 Reputation point
3 answers One of the answers was accepted by the question author.

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 Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
asked 2021-03-17T09:40:59.447+00:00
Saransvan 106 Reputation points
accepted 2021-03-18T15:50:31.767+00:00
Saransvan 106 Reputation points
1 answer One of the answers was accepted by the question author.

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.…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
asked 2021-03-17T20:14:26.413+00:00
Naomi 7,361 Reputation points
accepted 2021-03-18T14:26:48.927+00:00
Naomi 7,361 Reputation points
3 answers One of the answers was accepted by the question author.

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 …

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,462 questions
asked 2021-03-17T17:09:32.62+00:00
Nicky 116 Reputation points
accepted 2021-03-18T14:23:19.83+00:00
Nicky 116 Reputation points
2 answers One of the answers was accepted by the question author.

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2021-03-16T19:50:04.057+00:00
grajee 346 Reputation points
accepted 2021-03-18T13:27:35.21+00:00
grajee 346 Reputation points
2 answers

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 =…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,399 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2021-03-17T14:36:07.593+00:00
Bob 1971 1 Reputation point
answered 2021-03-18T13:19:57.427+00:00
Bob 1971 1 Reputation point
3 answers

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
asked 2021-03-16T19:52:36.843+00:00
James Yang 1 Reputation point
commented 2021-03-18T12:18:56.907+00:00
James Yang 1 Reputation point
4 answers

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:…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,248 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,653 questions
asked 2021-03-15T15:10:04.207+00:00
Shinka 131 Reputation points
commented 2021-03-18T12:03:12.867+00:00
Shinka 131 Reputation points
5 answers One of the answers was accepted by the question author.

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

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
asked 2020-10-20T12:14:14.51+00:00
Zahid Butt 556 Reputation points
accepted 2021-03-18T11:46:10.363+00:00
Zahid Butt 556 Reputation points
1 answer

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,",")

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
asked 2021-03-07T19:12:05.723+00:00
Lior 1 Reputation point
commented 2021-03-18T11:17:44.477+00:00
Lior Rozani 1 Reputation point
1 answer

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…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,248 questions
asked 2021-03-03T10:35:17.047+00:00
Stefan Radtke 1 Reputation point
commented 2021-03-18T09:46:26.627+00:00
Lukas Yu -MSFT 5,816 Reputation points
2 answers

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…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
asked 2021-03-09T17:46:40.067+00:00
Peter Nolan 1 Reputation point
commented 2021-03-18T09:35:21.697+00:00
Lukas Yu -MSFT 5,816 Reputation points
4 answers

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,462 questions
asked 2021-03-07T23:29:31.81+00:00
Naomi 7,361 Reputation points
commented 2021-03-18T09:30:56.873+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

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…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,248 questions
asked 2021-02-22T16:58:28.997+00:00
Manoj Muthusamy 1 Reputation point
commented 2021-03-18T09:27:48.543+00:00
Lukas Yu -MSFT 5,816 Reputation points
1 answer

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…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
asked 2021-03-09T15:54:55.937+00:00
Michael Edwards 1 Reputation point
commented 2021-03-18T09:10:06.477+00:00
Lukas Yu -MSFT 5,816 Reputation points
5 answers One of the answers was accepted by the question author.

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2021-03-14T18:10:46.82+00:00
ahmed salah 3,216 Reputation points
commented 2021-03-18T08:24:21.93+00:00
ahmed salah 3,216 Reputation points
4 answers One of the answers was accepted by the question author.

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,462 questions
asked 2021-03-17T12:24:16.787+00:00
Taariq Toffar 21 Reputation points
accepted 2021-03-18T07:56:49.383+00:00
Taariq Toffar 21 Reputation points
1 answer

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 Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
asked 2021-03-16T21:58:32.4+00:00
LS2021 6 Reputation points
commented 2021-03-18T07:25:01.053+00:00
ZoeHui-MSFT 33,386 Reputation points
1 answer

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…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
asked 2021-03-14T11:11:07.657+00:00
Bilgehan Yıldız 1 Reputation point
commented 2021-03-18T06:40:41.423+00:00
ZoeHui-MSFT 33,386 Reputation points