How can I convert from SQL Server ORDER BY [Date] ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW to LinQ Query?
I have a SQL query and want to convert it to LINQ. It would be great if some experienced people could help. CREATE TABLE [dbo].[tbl_payment]( [Id] [int] IDENTITY(1,1) NOT NULL, [Companyid] [int] NULL, [Date] [datetime] NULL, [PaymentAmount]…
SQL Server Filestream error message The system cannot find the path specified
Using SQL Server 2022 Standard Edition. SQL Server runs on Windows Server SRVSQL. The software client runs Windows Server SRVAPP. When i run our software client on Windows Server SRVSQL the Filestream Documents can be saved in the SQL Server. If i run…
SSRS Subscription issue - fail with permission issue
HI, I am facing issue with SSRS subscription, it use to work for different user but I have changed the user/owner and it is not working. It is giving below error and the new user has same role as old user. The user used for shared…
Geo Replication,Failover Group and DB Copy, DB backup and restore
Hello Everyone, As I and my team already know that, When you re-enable geo-replication between DB1 (the primary) and DB2 (the secondary), the replication process begins asynchronously. The time it takes for DB1 to replicate changes from DB2 after…
ssis is missing
I can not find the SSIS toolbox option on my ssis project. Tried restarting VS and machine many times, pls help
SQL sort varchar
i have table contain of ip address, how we can sort the ip address from .1 to .254? If i sort by asc then the result is not sequence like below pic. After .1 then jump to .102 not to .2 The field using varchar,
What is MARS commection
Hi, ALL, I thought that MARS connection is for the following scenario: SELECT field1 FROM table1 WHERE SELECT field2 FROM table2 WHERE table2.field1 = table1.field1_value As you can see there are 2 open statements for which MARS is a solution, Apparently…
How to migrate from SQL Server 2016 to Azure SQL DB
I plan to migrate 1.2 TB Database from SQL 2016 (on Proem) to Azure SQL DB. What is the best way to migrate from on-prem to Azure DB? Can I take a full backup and restore it on Azure SQL DB?
Content of directory on path 'https://stsxxxxxwus01.dfs.core.windows.net/stsexxxxxxxc/production/xxxx xxxxx/xxxxxxx/d_xxxxx/_delta_log/*.*' cannot be listed.
I receive this error message intermittently when I run a query against a storage account from SSMS. It works most of the time but at certain times, it fails. I find it's been failing a lot more now than before and I know it's not a permissions-related…
Restoring backups from a Standard tier DTU based Azure SQL Database
I am testing an environment. I have SQL server (serverless) and database using standard DTU model in UK south region, as it's a very small database. I set the backup storage to globally redundant. It seems that when I try to create a database in UK…
Best practices for joining tables of different collation property database
Hi, I am trying to join two tables of databases present on same server but with different collation property and getting following error: What are the best practices to join tables of different databases present on same server but with different…
How can I get any Registry Entry for SSMS 21 where I can modify any plugins.
For all the versions till SSMS v20, there is registry entry as follows: Computer\HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\<SSMS.Version>.0_IsoShell_Config\ where we can configure customized items like menu, toolwindow,…
How can I get any Registry Entry for SSMS 21 where I can modify any plugins.
For all the versions till SSMS v20, there is registry entry as follows: Computer\HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\<SSMS.Version>.0_IsoShell_Config\ where we can configure customized items like menu, toolwindow,…
self join in ssis
HI Expert, If i want to run pipeline for table1 which has self join with same table and updating flag on created and updated on target table... how this this can be done in ssis
Why is retrieving data on the new server slower than on the old one?
I have customer with Application and Data Servers. Users access the Application Server which obtains the data from the Data Server. Recently, a new Application Server was introduced to replace the original. The old Server was a Windows Server 2008 R2…
Microsoft Report Builder - Full width summary row in a child group
I have an SSRS report containing a parent and child row group. At present, this displays as: I want to add a summary row to the "Child Group" but have it span the entire row. For example: I also want the data for the "Parent Group" to…
How to list all features installed without run SQL Server setup?
How to check which feature are installed without run the SQL Server setup? I mean, how can I list what was marked to install when running the SQL Server setup inside apkzity? That include Instance features and Shared Features.
Where can I obtain tracefmt.exe?
I need tracefmt.exe to look at MSDTC logs. I've tried the Windows SDK and WDK but no joy. Anyone tell me exactly where I can find this tool please?
Configure SSIS Catalog task is failing in deployment pipeline with file not found error
Hi I have built a deployment pipeline in Azure DevOps that deploys an SSIS project to a SQL Server 2019 instance using an Azure Pipelines agent running on the same server. The pipeline has two tasks: Deploy the SSIS project using the SSIS Deploy task…
How can I get all the failure SQL queries logs o
I want to track all the failure SQL in the log metrics, how can i get the output