Viewing 15 posts - 196 through 210 (of 375 total)
adding further indexes on this case likely not the best - the underlying table is a columnstore table.
the thing that would speed up the most is to have a...
June 5, 2023 at 1:53 am
This is an equivalent query
SELECT T4.UNDERLYING_SYMBOL,
T4.QUOTE_DATE,
T4.EXPIRATION,
...
June 5, 2023 at 12:22 am
Are you attempting to restore over the top of another database? (Did you change the name of the database you're restoring? You should have). Once you do that, you...
June 4, 2023 at 11:26 pm
a image of the plans don't help much - please post the real explain plan - actual if possible.
use https://www.brentozar.com/pastetheplan/ for it
thanks for that link. here you go
https://www.brentozar.com/pastetheplan/?id=SJTjb9cIh
June 4, 2023 at 10:35 pm
Why settle a tie using query logic, what about a unique index? Some or one of those could be helpful. A table containing holidays to exclude could be useful...
June 4, 2023 at 9:12 pm
I have attached the execution plan if that helps.
June 4, 2023 at 9:10 pm
i wasn't able to delete the original attachment. use test-data-1.csv and ignore other one.
June 4, 2023 at 5:46 am
Are your packages deployed to SSISDB?
No they are not. I never did that before and the logging was working then. No clue what happened that cause it stop logging. ...
May 7, 2023 at 12:38 am
thank you for that!
The source table had a different level of precision. Once I matched the destination so it matched the source it worked.
May 3, 2023 at 12:05 am
thank you everyone for the reply. There is no error message on why it failed so that is why it is so puzzling. I am continuing to investigate to see...
May 2, 2023 at 3:45 pm
Or where you do this
DECLARE @RECORD_ADD_DT datetime
SET @RECORD_ADD_DT = @RECORD_ADD_DATEdo this instead
DECLARE @RECORD_ADD_DT varchar(26)
SET @RECORD_ADD_DT = convert(varchar(26),@RECORD_ADD_DATE,121)
it works now. I am seeing seconds!! ...
April 24, 2023 at 9:01 pm
Still think it’s part of the insert in the proc as the convert to char needs to be outside of the dynamic SQL, as for why it was giving...
April 24, 2023 at 8:38 pm
I would say that you have a trigger on that table that is removing seconds from the column.
and I also assume you are clearing that table in order to...
April 24, 2023 at 8:16 pm
np
here you go:
stored proc:
ALTER PROCEDURE [dbo].[UpdateOptionsEOD] (@FILENAME varchar(200), @RECORD_ADD_DATE datetime)
AS
DECLARE @FILEPATH VARCHAR(200)
SET @FILEPATH = @FILENAME
--DECLARE @RECORD_ADD_DT datetime
--SET @RECORD_ADD_DT = @RECORD_ADD_DATE
DROP TABLE IF EXISTS #TEMP_TABLE;
CREATE TABLE #TEMP_TABLE
(
[UNDERLYING_SYMBOL] [nvarchar](10)...
April 24, 2023 at 6:32 pm
Viewing 15 posts - 196 through 210 (of 375 total)