17,859 questions with SQL Server-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

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…

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,653 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,822 questions
asked 2021-03-07T15:50:45.357+00:00
bababalush 21 Reputation points
accepted 2021-03-08T07:00:45.59+00:00
bababalush 21 Reputation points
2 answers

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

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,653 questions
asked 2021-03-07T08:24:25.54+00:00
warlock 101 Reputation points
answered 2021-03-08T06:45:44.643+00:00
AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
1 answer

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…

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,243 questions
asked 2021-03-03T22:01:33.613+00:00
Christie R 1 Reputation point
commented 2021-03-08T02:50:04.78+00:00
Lukas Yu -MSFT 5,816 Reputation points
1 answer

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?

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,243 questions
asked 2021-03-03T00:36:58.11+00:00
7fw07bd6crhb 1 Reputation point
commented 2021-03-08T02:35:41.243+00:00
Lukas Yu -MSFT 5,816 Reputation points
3 answers

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…

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,243 questions
asked 2021-03-02T16:32:56.757+00:00
MohanV 1 Reputation point
commented 2021-03-08T02:34:15.76+00:00
Lukas Yu -MSFT 5,816 Reputation points
3 answers

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

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,653 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
492 questions
asked 2021-03-03T16:01:51.733+00:00
Algon 1 Reputation point
answered 2021-03-08T02:31:15.667+00:00
AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
1 answer

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

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,243 questions
asked 2021-02-26T16:56:02.643+00:00
Savitri Biju 1 Reputation point
commented 2021-03-08T02:26:48.237+00:00
Lukas Yu -MSFT 5,816 Reputation points
1 answer

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
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,243 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
asked 2021-02-25T04:49:46.31+00:00
Arto Kilponen 1 Reputation point
commented 2021-03-08T02:23:13.227+00:00
Lukas Yu -MSFT 5,816 Reputation points
2 answers

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 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,243 questions
asked 2021-02-23T14:35:35.407+00:00
D Guthrie 21 Reputation points
commented 2021-03-08T02:21:44.03+00:00
Lukas Yu -MSFT 5,816 Reputation points
4 answers

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

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,653 questions
asked 2021-03-02T21:04:32.31+00:00
Paul Tom 1 Reputation point
commented 2021-03-08T02:11:57.473+00:00
CathyJi-MSFT 21,081 Reputation points Microsoft Vendor
1 answer

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
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,653 questions
asked 2021-02-27T04:55:36.417+00:00
sakuraime 2,316 Reputation points
commented 2021-03-08T01:55:50.72+00:00
CarrinWu-MSFT 6,851 Reputation points
2 answers

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…

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,653 questions
asked 2021-03-02T11:38:14.7+00:00
Gabri Romi 1 Reputation point
commented 2021-03-08T01:54:39.763+00:00
AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

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,793 questions
asked 2021-03-04T23:19:40.18+00:00
Suguha 96 Reputation points
commented 2021-03-08T01:38:54.753+00:00
ZoeHui-MSFT 32,426 Reputation points
2 answers One of the answers was accepted by the question author.

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…

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,653 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,355 questions
asked 2021-03-05T09:22:33.513+00:00
Mario2286 441 Reputation points
accepted 2021-03-08T00:37:03.883+00:00
Mario2286 441 Reputation points
2 answers

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

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
asked 2021-02-25T01:37:01.207+00:00
Ashwan 521 Reputation points
answered 2021-03-07T21:56:05.423+00:00
Ashwan 521 Reputation points
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
695 questions
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,653 questions
asked 2021-03-07T17:36:30.957+00:00
Liam C. Holmes 1 Reputation point
answered 2021-03-07T20:19:07.71+00:00
Liam C. Holmes 1 Reputation point
2 answers

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
asked 2021-02-26T23:17:37.93+00:00
Ryan Rigby 1 Reputation point
answered 2021-03-07T17:41:21.98+00:00
Jeffrey Williams 1,886 Reputation points
1 answer

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
asked 2021-03-02T10:49:02.91+00:00
Turgor 1 Reputation point
commented 2021-03-07T09:25:48.427+00:00
Monalv-MSFT 5,891 Reputation points
1 answer

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?

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,653 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
asked 2021-03-02T07:05:39.657+00:00
Rahul Pathak 1 Reputation point
commented 2021-03-07T09:24:04.54+00:00
Monalv-MSFT 5,891 Reputation points
1 answer

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,451 questions
asked 2021-03-01T07:28:39.193+00:00
yosafat saragih 21 Reputation points
commented 2021-03-07T09:22:27.247+00:00
Monalv-MSFT 5,891 Reputation points