Exit code (Decimal): -2068052377Error Invalid command line argument. Consult Windows Installer SDK..please help me fixing this
Log folder path C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220218_192800
whats the limit of nvarchar in SQL Server 2014?
I would like know how many characters can be saved in a nvarchar column in older sql server versions
report server service management pages not showing
I'm trying to get SSRS installed. Everything appears to be working, but I cannot browse to the Web Service URL. By contrast, I can access the Web Portal URL (though there are no reports published currently). Am I missing a setting?
What does ADF SSIS Error "Disk Full Exception Caught" mean
Hi, we are running an Azure-SSIS Type Integration Runtime in Azure Data Factory. This morning this IR suddenly got Unavailable for some reason. Fortunately we had the Diagnostic Settings ADFSSISIntegrationRuntimeLogs enabled and I found the following…
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…
why does my 7:45am ssrs subscription run twice - at 2am and 7:45am?
I have a data driven subscription set to run at 7:45 am, however, noticed that the report run at 2am and 7:45am. can't seem to know what the problem is. any help will be appreciated. here is my schedule.
Microsoft SQL Server Studio - Dark Mode
Is there any official method to use Microsoft SQL Server Management Studio Studio with Dark Mode?
how to export stored procedure data with headers into a xls file in sql server?
Hi every MS Sql server user . I have a stored procedure in my server that make a lot of join and in the result shows them. Now I want to make a job in the server and this job should run this SP and copy the results into a xls file.I have seen a lot of…
Powersehell command invoke-sqlcmd command is looking for an additional parameter TrustServerCertificate=True on Windows 2022 server
Hi there, We heavily use PowerShell scripts to query Microsoft SQL Server databases on Windows 2016 machines using a command invoke-sqlcmd -ServerInstance <servername> -Database <databasename> -Query <Query statement>; While testing…
SQL 2019 : Json Data in Resultset gets truncated
Hi, I am using SQL 2019. I have a table where I have a large number of rows (around 100K+). I want to leverage on SQL to return the data in JSON format. I have used both FOR JSON AUTO & for json path, Root('Data'), but my results are getting…
Executing parameterized query with spatial functions
We want to use SET PARAMETERIZATION FORCED on a DB due to unstable Plan Cache caused by third party applications like https://geoserver.org/ and https://mapserver.org/ We have tables with spatial data and when querying them with spatial functions then we…
Calculate time duration
I have a table with status_id and time column. Need to calculate time duration of status=1. Sample data like this: CREATE TABLE #Temp (Id int, status_id int, [Time] DateTime); INSERT INTO #Temp VALUES (1, 0, '2023-10-13 05:23:19.433'), (1, 1,…
Questions About Sorting
Suppose I have this table in an SQL Server database: CREATE TABLE Widgets ( WidgetID INT, .... ) and I use this stored procedurre to retrieve the data: SELECT WidgetID .... FROM Widgets ORDER BY WidgetID In my application I get the…
Sql backup into Azure Blob fails: 1117(The request could not be performed because of an I/0 device error.)
I am trying to run a backup from our sql server to a blob azure container. I went ahead and did the setup exactly as suggested by…
SQL query left Join
I have sample data like this DECLARE @TBL TABLE(col1 VARCHAR(100),col2 varchar(100)) INSERT INTO @TBL VALUES ('server-1','11111') INSERT INTO @TBL VALUES ('server-2','22222') INSERT INTO @TBL VALUES ('server-3','33333') INSERT INTO @TBL VALUES…
Suggest a way to replicate data from on premise sql server 2019 to azure synaspe analytics directly
Im using an sql server in my on premise with version 2019, I need to transfer or replicate real time data to azure synapse database, so which azure service will be more effective and flexible for large data transfer
How to add 100 plus source link in ADF pipeline to transfer data to single destintion.
I need to transfer data from multiple source sql servers( almost 100 plus) to a single destination using ADF, Is there is any way to add these much servers to ADF as source
Comparison of actual database schemas against each other (within one database)
Hi all, for a small project I created a database within Azure and one schema for dev and one for prod (to save run cost). I would like to compare these two schemas now with Azure Data Studio, but it looks like, that I can only compare databases with one…
Allocated vs. Used Memory in SQL Server Elastic Pool
Hello! I’m seeking help regarding the reduction of allocated space in databases within an SQL Server elastic pool. The allocated space in the elastic pool I'm using is significantly larger than the actual used space (due to recent deletions of deprecated…