I had a case where the original Visual Studio solution was missing and we needed to make changes to some reports. The reports were still up on the Reporting server and by using ReportingServicesTools, I was able to download all of them at one time instead of clicking each one and downloading manually.Continue reading Powershell: ReportingServicesTools. Download all RDL files from a SSRS folder.
SSIS error: 0xC0048021SSIS
After deploying my SSIS ETL project, I tried to run it and got this error: Flat File Destination failed validation and returned error code 0xC0048021. See below how to fix this.Continue reading SSIS error: 0xC0048021SSIS
Easy way using SSIS to copy files to S3 storage.
How do you use SSIS to copy files up to S3 storage? Using the AWS CLI, it is a piece of cake. No expensive third-party plugins needed.Continue reading Easy way using SSIS to copy files to S3 storage.
SSIS Hresult: 0x80004005 Consider using the WITH RESULT SETS clause to explicitly describe the result set.SSIS Hresult: 0x80004005
I was trying to run a stored procedure in SSIS and put the results into a table and got this error:
Error at Data Flow Task [Call sp_Get_Activity ]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: “Microsoft OLE DB Driver for SQL Server” Hresult: 0x80004005 Description: “The metadata could not be
determined because statement ‘EXEC (@TSQL) at Production’ in procedure ‘sp_Get_Activity’ contains dynamic SQL.
Consider using the WITH RESULT SETS clause to explicitly describe the result set.”
Keep reading to see how I fixed it!Continue reading SSIS Hresult: 0x80004005 Consider using the WITH RESULT SETS clause to explicitly describe the result set.SSIS Hresult: 0x80004005
How to install SQL Server Reporting Services (SSRS) 2022
A new version of Reporting Services came out last month, read on how to install!Continue reading How to install SQL Server Reporting Services (SSRS) 2022
Installing SQL Server 2022 Developer Edition
It is finally out! SQL Server 2022 was released on 11/16/2022 and there are a bunch of new features and enhancements. Today we are going to install the developer edition so you can see the new install screens. Lots of screenshots today!Continue reading Installing SQL Server 2022 Developer Edition
Another feature I wish SQL Server had: as of timestamp
If you are using Oracle 10g or greater, you can query the database tables as of a certain time using their Flashback technology. This is great if you had some data deleted and you do not want or cannot restore a full backup to retrieve the lost data.Continue reading Another feature I wish SQL Server had: as of timestamp
DBATOOLS: Get-DbaLogin Find Database logins
For a quick way to search for specific database logins across your data estate, the easiest way is to use the dbatools command: Get-DbaLogin.Continue reading DBATOOLS: Get-DbaLogin Find Database logins
SSRS – Matrix Report
Often when you create a SSRS report you choose to display your data in a Table, which means the rows are repeated straight down each column. For certain reports, a way to improve readability is to use a Matrix report. This pivots one of the rows into a column moves the rows into the appropriate column, sort of like a Pivot Table in Excel. Sound confusing? It is not, just look at the example below.Continue reading SSRS – Matrix Report
SQL Server Like operator
I have been using SQL Server for almost 10 years, and I just learned something new using the LIKE operator. You can search any single character within a specified range by using a bracket [ ]. Lets look below to see what I mean.Continue reading SQL Server Like operator