Viewing 15 posts - 106 through 120 (of 2,610 total)
Alternatively:
;WITH CTE AS
(
SELECT h1.hist_id,
'NEW' history,
...
April 2, 2024 at 4:45 pm
Thank you everyone.
This is very interesting. Is this a bug within SS that you cannot drop a #temp table inside a SP using the DROP TABLE command? Or is...
April 2, 2024 at 3:26 pm
Jonathan AC Roberts wrote:You need to add a
GO
before the second insert.and how will that work within a Stored Proc?
If the script is within a stored procedure it won't work,...
April 2, 2024 at 12:28 pm
You need to add a GO
before the second insert.
April 2, 2024 at 10:49 am
After reading again. I think this is what you want:
SELECT FP.UNDERLYING_SYMBOL,
FP.QUOTE_DATE ...
April 1, 2024 at 8:16 pm
I think OUTER APPLY should work. I don't think this is quite correct as I'm not too sure about your specifications for what happens if nothing is found on the...
April 1, 2024 at 4:30 pm
Are you expecting at most one row back for each UNDERLYING_SYMBOL, QUOTE_DATE?
April 1, 2024 at 4:07 pm
From ChatGPT:
It seems like there's a formatting issue with your latitude and longitude values. The error message indicates that it's expecting a number but encountered something else at position 12...
March 28, 2024 at 12:51 pm
You can download and install SQL Server Developer edition for free. Also, SSMS is free.
You can access the XML for an execution plan from the display of the plan. I...
March 28, 2024 at 12:46 pm
I would guess that it would give the same recommendation in your scenario of moving it to a local machine compressing the tables.
If you just run the query with the...
March 27, 2024 at 11:14 am
;with cte as
(
select FacultyID,
FacultyName,
...
March 26, 2024 at 4:55 pm
You could insert them all as text columns then run another SQL process to convert them to your required format into a different table.
March 25, 2024 at 2:18 pm
From ChatGPT:
Based on the provided XML deadlock graph, there are two victim processes (process4d93468
and process4cfdc28
) involved in the deadlock. The deadlock occurred between two DELETE operations on the dbo.Logs_Epass
...
March 25, 2024 at 12:29 pm
Sometimes, a rise in CPU usage may occur due to table fragmentation. It might be beneficial to consider rebuilding the clustered indexes on those tables to assess whether it will...
March 25, 2024 at 12:07 pm
Viewing 15 posts - 106 through 120 (of 2,610 total)