17,953 questions with SQL Server-related tags

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

Basic Availabilty

Dear Experts, Can you please help with the fact that does SQL 2019 Standard edition basic availability group support more than one databases i.e. one database per availability group. This way if there are 3 databases - 3 availability group's can be…

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,734 questions
asked 2021-01-29T16:02:21.73+00:00
Vishu 1,516 Reputation points
accepted 2021-02-06T07:41:50.617+00:00
Vishu 1,516 Reputation points
2 answers One of the answers was accepted by the question author.

ssrs drill thru to a report in a different folder

hi we run 2014 developer in our dev environment and we use vs 2017 to develop reports. I want to drill thru from my report A to a report B in a different folder. right now i have my report drilling thru to itself. and have deployed it to our dev…

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,801 questions
asked 2021-02-04T12:27:19.063+00:00
db042190 1,516 Reputation points
accepted 2021-02-05T22:19:38.277+00:00
db042190 1,516 Reputation points
9 answers

Login failed for user 'NT AUTHORITY\SYSTEM'. Reason: Failed to open the explicitly specified database 'dbName'. [CLIENT: <local machine>]

I'm getting this error every night at 8:33PM. The NT AUTHORITY\SYSTEM is also added to the SQL Server Security/Login with Sysadmin permission. Login failed for user 'NT AUTHORITY\SYSTEM'. Reason: Failed to open the explicitly specified database…

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,734 questions
asked 2021-02-02T14:48:01.697+00:00
CharlieLor 551 Reputation points
commented 2021-02-05T21:59:49.167+00:00
Erland Sommarskog 101K Reputation points MVP
3 answers

How to store the result of **DBCC PDW_SHOWSPACEUSED("dbo.TableName")** in a Temporary table in Parallel Data Warehousing (APS PDW)?

How to store the result of DBCC PDW_SHOWSPACEUSED("dbo.TableName") in a Temporary table in Parallel Data Warehousing (APS PDW)? Below is my query which is not working. create table #TempSpace( [ROWS] bigint, RESERVED_SPACE bigint, …

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,734 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
asked 2020-10-03T11:36:04.993+00:00
Sunny Singh 1 Reputation point
answered 2021-02-05T21:13:05.433+00:00
Anthony Perkins 1 Reputation point
1 answer

bottom line on cascading parameter nuances

hi we run 2014 developer in our dev environment. i've always been under the impression that with cascading parameters, there's a possibility of a drop down somewhere in the "chain" acting funny. Even if that behavior is by design. i've…

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,801 questions
asked 2021-02-04T17:45:47.517+00:00
db042190 1,516 Reputation points
commented 2021-02-05T18:23:19.457+00:00
db042190 1,516 Reputation points
3 answers One of the answers was accepted by the question author.

Script table components but not table itself.

Greetings. I need to drop/ recreate > 250 tables w LOB data to a new filegroup, as this is the only way to reclaim unused space for the files in that filegroup. The common approach for dealing w this is to 1) export the data to a new table in the…

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,734 questions
asked 2021-02-03T22:15:42.77+00:00
chrisrdba 361 Reputation points
commented 2021-02-05T18:16:09.793+00:00
chrisrdba 361 Reputation points
3 answers

SQL Server Error in SCCM

Good Afternoon Team. In my client I have a lot of SQL server alerts, I don't know why this is happening and I don't know where to start. Can you help me please? Thank you.

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,734 questions
asked 2021-02-04T20:25:34.557+00:00
Rafael Aguilar 496 Reputation points
answered 2021-02-05T17:57:43.04+00:00
Rafael Aguilar 496 Reputation points
5 answers

Login Failed

I have recently installed SQL Express 2019 with SMSS. I now have a database that I want to connect to with Visual Basic. When I attempt to connect to the database I get the message below. I have been unable to find out where I need to go to…

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,734 questions
asked 2021-02-03T01:36:35.783+00:00
Glenn Walker 251 Reputation points
answered 2021-02-05T16:50:55.77+00:00
Glenn Walker 251 Reputation points
3 answers One of the answers was accepted by the question author.

Only 3 stored procedures are presented to me in the SSRS designer when I am trying to create a dataset

Only 3 stored procedures are presented to me in the SSRS designer when I am trying to create a dataset. There should be 30+ stored procedures to choose from. Why is this happening?

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,734 questions
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,801 questions
asked 2021-01-29T21:08:48.247+00:00
Tom Stone 521 Reputation points
accepted 2021-02-05T13:46:41.8+00:00
Tom Stone 521 Reputation points
2 answers One of the answers was accepted by the question author.

Get Cube size error

Hello, I have a script that was working just fine to and the functionality of it was to obtain the size of the cubes from SSAS and compare it to the trash hold that is set. we have upgraded our system from windows server 2016 to 2019 and I start…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,463 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,244 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,374 questions
asked 2021-02-03T16:38:27.017+00:00
Mina Kamel 101 Reputation points
accepted 2021-02-05T13:34:12.657+00:00
Mina Kamel 101 Reputation points
2 answers One of the answers was accepted by the question author.

SQL Server Availability Groups - Asynchronous Commit Without Data Loss

The basic documentation for availability groups where the secondary replica uses an asynchronous commit method states that there may be data loss which is further explained in the documentation. Is there a technique that can be leverage to guarantee no…

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,734 questions
asked 2021-02-02T17:00:37.963+00:00
Jim Nguyen 61 Reputation points
commented 2021-02-05T13:03:50.077+00:00
Jim Nguyen 61 Reputation points
2 answers One of the answers was accepted by the question author.

Adjust T-SQL query to include DateTime (TimeStamp)

Hi Guys, I need some help with adjusting an existing query to to include a TimeStamp, which is actually the "DateTime" column in one of the views (vEvent, System Center Operations Manager Data Warehouse). Long story short - I needed help…

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,734 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
asked 2021-02-04T22:11:11.833+00:00
SChalakov 10,261 Reputation points MVP
accepted 2021-02-05T11:40:59.02+00:00
SChalakov 10,261 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Add column of Closing_Qty and Closing_Weight,sum column total in footer

Below is query ,which is giving result of date wise ,but i want to add two column of Closing_Qty and Closing_Weight ,sum total of each column display in footer. DECLARE @StartDate date = '03-06-2020'; DECLARE @enddate date = '05-06-2020'; …

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,734 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
asked 2021-02-03T07:05:21.97+00:00
Analyst_SQL 3,551 Reputation points
accepted 2021-02-05T09:54:15.697+00:00
Analyst_SQL 3,551 Reputation points
1 answer

Execute SQL Tasks upon executing clear local variable value in SSDT 15 for VS-2015

I have SSDT package migrated from Win-7 desktop (SSDT-2012) to Win-10 Ent desktop (SSDT-2015 with VS-2015). When I debug the SSDT package in SSDT-2015, one Execute SQL task, upon successful execution clears local variable values. This Execute SQL…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-01-28T12:12:03.943+00:00
Abhijeet J. Patil 1 Reputation point
commented 2021-02-05T09:37:08.857+00:00
Monalv-MSFT 5,896 Reputation points
1 answer

Error Power Query Source in SSIS

I have a error when using a Power Query in SSIS, the details of the error is as following. IF anyone has a solution for this, please help [Power Query Source [2]] Error: System.Runtime.InteropServices.COMException (0xC0047072): Exception from HRESULT:…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,060 questions
asked 2021-01-29T07:25:01.053+00:00
Tommy Trung Ngo Quang 1 Reputation point
commented 2021-02-05T09:34:21.893+00:00
Monalv-MSFT 5,896 Reputation points
4 answers

Getting notified when package fails

Hi, I have a solution that has a large number of packages. The solution is designed in a way that calls 5 packages dynamically. If once of the packages fails, the other 4 pipelines keep working. I would like to know how can even the…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-01-29T13:59:39.123+00:00
Astrid o 1 Reputation point
commented 2021-02-05T09:33:08.247+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

Package failure due to physical memory and paging file

Hi, When I run my package am getting an error. Error: The system reports 79 percent memory load. There are ..... (some number) bytes of physical memory with (some number) bytes free. There are (some number) bytes of virtual memory with (some number)…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-01-30T12:01:18.977+00:00
dinesh 41 Reputation points
commented 2021-02-05T09:32:19.37+00:00
Monalv-MSFT 5,896 Reputation points
1 answer

Memory error

A buffer failed while allocating 205360000 bytes. The Data Flow task failed to create a buffer to call PrimeOutput for output "ADO_SRC PROJECT" (2) on component "Output" (10). This error usually occurs due to an out-of-memory…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-02-02T16:27:11.503+00:00
John Schroeder 1 Reputation point
commented 2021-02-05T09:29:51.157+00:00
Monalv-MSFT 5,896 Reputation points
1 answer

SSIS Execute SQL task not returning results

I have created a SSIS Package with a Execute SQL Task. I return a count from a query to a User:Variable Int32. The query is "SELECT COUNT(*) As RecCnt FROM dbo.Trace_Return_BRE WHERE (BatchId = ?)". The input Variable is a INT32. The input…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-02-03T02:02:45.967+00:00
William Burke 1 Reputation point
commented 2021-02-05T09:28:51.52+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

Issue when loading special characters from sybase ASE to SQL server

I have a SSIS Package with Data flow task that has ODBC source and SQL server destination to load data from sybase ASE to SQL server. Its a direct data load without any transformation. We have a char datatype with a special character in the data where…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
asked 2021-02-02T07:37:32.433+00:00
Poornima 21 Reputation points
commented 2021-02-05T09:26:09.887+00:00
Monalv-MSFT 5,896 Reputation points