VBscript not running on windows server 2019
Hi All, Our VB Script has been integrated with SSIS package as script task and it work in fine in visual studio IDE . However, it is getting failed to run same VB script block in windows server 2019 environment inside SSISB as a SSIS Package. Please…
Retrieve an SQL standard license for in place upgrade
We are running a SQL virtual machine SQL server under a developer license that needs to be upgraded to a standard SQL license. The payment for the SQL license is done through Azure so no license keys in our control. Now with the upgrade through the…
TFS: Checking in SSIS Packages and removing credentials
Our team use TFS for source control, for various objects, including SSIS packages. Those SSIS packages will often contain personally-issued credentials used for configured DB connections, etc. which (at least) the UserId is saved, if not the password.…
sp_send_dbmail do not send query result on body when executed in contained Availability group
msdb.dbo.sp_send_dbmail does not send the query resut when executed in the contained availability group." When the same query is executed on the principal instance, the email was sent correctly: EXEC msdb.dbo.sp_send_dbmail …
OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')
Hi, I am encountering an issue while trying to connect to an SQL database using a Python script in my Jupyter notebook. The connection attempt results in the following error message: OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL…
CSP header
We are using SSRS via the standard Web Portal URL. The security department is particular about the CSP header. What is the minimum CSP SSRS Web Portal needs to have? Can we remove 'unsafe-inline' 'unsafe-eval' from the CSP header?
Is it good to use single database connection for all database operations in one API request?
In general, I know the best practice while handling database connections in C#/ADO.NET is to open Db connection just before querying the Db & close the connection immediately after query execution, so that connection gets back to pool. My question…
TLS 1.0 and TLS 1.1 deprecation ,Will it Stop Azure VM internal servers communication
Hi, We have two servers running on Azure. Both servers are running on Windows Server 2008 R2. One server is configured as an IIS server, and the other is a legacy SQL Server. Both servers communicate with each other using TLS 1.0 and 1.1. My question is:…
Setting up multiple instance read-only routing
Hi All, I have googled this but unfortunately could not find any answer because everyone has a document that shows only 1 AG/Instance example and none for multiple instances/AG groups an a same server. I have 3 instances on one server (Always On with 2…
Max value of each column in a table
Hi there, I have 500+ Azure SQL tables with total of 25000+ columns. Most of the tables have varchar (max), or nvarchar(max) but to contain a value which could only be 3 , 5 or 20 characters long. --for characters select max(**len(**columnname)) from…
System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'
When I try to add new data into the SQL table I get this error message. System.ArgumentException: 'Keyword not supported: 'trust server certificate'.' SqlConnection con = new SqlConnection("Data Source=JERRY-P720\JW_SQLEXPRESS;Initial…
Error creating SQL user accounts from external provider with Azure Arc
When trying to create user accounts that use Azure login in Azure Arc, we receive the error shown in the user's image. How can we resolve this issue?
Issue with sending emails from contained availability group SQL 2022
Hi, We're having issues with sending out emails from the contained availability group in SQL 2022 The setup consists of 3 servers 2 sync and 1 async. All accounts/profiles are setup on availability group and also all the individual servers (which i…
SSMA for Oracle error ROW-00001 Unable to Allocate Memory
Hi, I am migrating from Oracle to Azure SQL Server Managed Instance. Some of my tables have 100+ million rows so I have partitioned those tables in the source Oracle database so I am only migrating smaller tables to Managed Instance (typically between 3M…
Is my Resource Governor set up correctly?
Greetings. I have a particular server configured as follows: DB1 -- this guy is the Subscriber of a transaction replication topology. DB2 -- this guy is a Data Warehouse (using that term loosely). If queries data from DB1, as well as other sources…
EF Core 8 Shadow Properties incur a 255 limit on columns
We have an EF based WebApi, and the business logic includes the ability for end users to add user defined fields To get that in EF, we engaged Shadow Properties, and that is working well Unfortunately we found Shadow Properties incur a limit of 255…
SQL Server on Azure VM Backup minimizing data duplication
A while back, a Microsoft support engineer recommended using SQL on VM backups. The suggestion was to create an SQL DB in an Azure VM job and an Azure VM job, excluding the disks that host the SQL files, to avoid data duplication. If the VM is deleted…
better query for select results based on date.
What is the best way to write this code to get the date results? I have the time throughout the day in the datetime field. SELECT * FROM Reconciliation.Documents D Inner Join Reconciliation.DocumentsTransaction T ON D.DocumentPKey = T.DocumentPKey WHERE…
better query for select results based on date.
What is the best way to write this code to get the date results? I have the time throughout the day in the datetime field. SELECT * FROM Reconciliation.Documents D Inner Join Reconciliation.DocumentsTransaction T ON D.DocumentPKey = T.DocumentPKey WHERE…
sql server install not properly
TITLE: Microsoft SQL Server 2014 Setup The following error has occurred: SQL Server Setup has encountered an error when running a Windows Installer file. Windows Installer error message: An error occurred during the installation of assembly…