Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

I have a view in SQL Server that's taking 120+ minutes to execute, and I'm trying to understand if this is an indexing issue or a fundamental design problem. Schema Overview Table_A (base table): ~...
Arya Singh's user avatar
0 votes
1 answer
72 views

I have the following query generated by EF: SELECT [t].[Id], [t].[ActiveStateLicenseId], [t].[AvailableDate], [t].[City], [t].[CreatedBy], [t].[CreatedOn], [t].[DateOfBirth], [t].[Email], ...
TheIronCheek's user avatar
  • 1,249
0 votes
1 answer
129 views

I have a query set that determines the amount of phone numbers that should be included into a count. The problem is that it is currently counting the user IDs but many user IDs have the same number. ...
Scott Dettling's user avatar
0 votes
0 answers
94 views

I currently have a stored procedure that takes about 11 to 15 minutes to complete. I've put in timestamps to see which section is taking the longest and have narrowed it down to a cross-apply which ...
FlyFish's user avatar
  • 581
Best practices
0 votes
3 replies
66 views

I am doing Union All in multiple sub query and then on the final result doing distinct of whole record. Since data is huge, is this safe in terms of performance? Eg: select distinct idn from ( sq1 ...
ADITYA GUPTA's user avatar
3 votes
1 answer
134 views

I have recently investigated an audit table that had a wee bit of a bug with events that led to its data population, which I identified and fixed. Now there is the issue of past data that has ...
Steve Py's user avatar
  • 36.5k
-4 votes
1 answer
79 views

In SQL Server Management Studio, I want to create a job to run every 90 seconds. Using the UI to create a job, you can create a scheduled task to run every x hours/minutes/seconds. But the UI forces ...
James L.'s user avatar
  • 9,529
0 votes
0 answers
65 views

I have a very odd problem that I can't get to the bottom of. I have an Angular application that uses node-mssql. It runs a lot of different queries and stored procedures where the result is used to ...
FlyFish's user avatar
  • 581
0 votes
0 answers
44 views

I'm trying to build a stored proc for a JSON payload file for a table for further work in that stored proc. I would like to parameterise the exec to something like @MyJsonFile SQL Server gives me an ...
Koko's user avatar
  • 115
Advice
0 votes
5 replies
82 views

I'm using SQL Server 2022 and I used a CTE to create a new column with all the dates formatted correctly. I'd like to turn this into a permanent column in my data set using the CTE to auto fill the ...
Frxst-Sudo's user avatar
-4 votes
0 answers
50 views

I am currently trying to find way, maybe an ETL that is suited for very big amount of data migrations to cloud (specifically Azure). I am aware that Azure has their own services but unfortunately we'...
Paula Crainic's user avatar
Best practices
0 votes
0 replies
38 views

My test project references my main project, which is a Windows application. So if I want to compile the main solution, I need to use a Windows image for my Azure pipeline: pool: vmImage: windows-...
Julien Ferraro's user avatar
0 votes
1 answer
76 views

I am using Rebus.SqlServer outbox functionality to ensure message are delivered properly. However I get an error message stating OPENJSON is not found. I am using SQL Server 2012. Is there any ...
Amour Rashid's user avatar
0 votes
2 answers
152 views

Is there any difference (maybe in performance) between INNER SELECT filter and OUTER SELECT filtering: Situation 1 - INNER SELECT filtering: SELECT FROM ( SELECT ColA, ColB FROM myTable1 ...
sbrbot's user avatar
  • 6,573
-2 votes
0 answers
46 views

I’m attempting to connect ZKTeco Attendance Management 2011 (32-bit) to SQL Server 2014 using SQL Server Authentication with the 'sa' account. When I test the connection, it works fine, but when I ...
AMINE DZ's user avatar

15 30 50 per page
1
2 3 4 5
22441