Viewing 15 posts - 421 through 435 (of 2,648 total)
Try inserting the rows that need to be deleted into a temporary table then another step to delete the rows:
SELECT DEM.NUM_DEM
INTO #RESULTS_TO_DELETE
FROM...
April 12, 2023 at 2:37 pm
vsamantha35 wrote:Can anyone explain what this mean?
![]()
ChatGPT is really good at explaining things like that. Just paste the error message into it.
This isn't...
April 8, 2023 at 6:26 pm
I think the first thing to do is to try to optimise the query to make it run faster as frederico suggested.
April 8, 2023 at 6:25 pm
Can anyone explain what this mean?
ChatGPT is really good at explaining things like that. Just paste the error message into it.
April 8, 2023 at 6:15 pm
If the index doesn't already exist you need to remove DROP_EXISTING = ON from the index creation or set it to OFF.
April 8, 2023 at 3:41 pm
That would happen if you did not have ord.Amount wrapped in the aggregate SUM function.
It should work w/ the query listed.
It can't... there's no ORDER_ID column in the...
April 4, 2023 at 7:17 pm
I would guess one or maybe both of these indexes would fix your problem:
CREATE INDEX IX_c_b_party_comm_1
ON dbo.c_b_party_comm(ROWID_OBJECT, COMM_TYP_CD)
INCLUDE (COMM_TYP_CD,...
April 4, 2023 at 11:11 am
Okay I am not understanding your comment "I have a feeling it is taking it literally as a string" -- how else should it take it? I mean you...
April 3, 2023 at 5:31 pm
So it it the case that there is an AD account that you can remotely connect but the SQL login cannot remotely connect?
April 3, 2023 at 1:54 pm
and yet: "The SQL login works when I remote to the SQL host and log in locally"
So probably not locked out.
If it works when they remote to the host...
April 3, 2023 at 12:38 pm
I've got no idea but ChatGPT suggested:
Error 18456 is a common error in Microsoft SQL Server, indicating that a login attempt has failed due to invalid login credentials or insufficient...
April 3, 2023 at 12:27 pm
You can print the SQL statement instead of executing it and then run it manually.
April 2, 2023 at 10:33 pm
Why does creating and inserting data into a table with insert into cause blocking but inserting into an existing table not cause blocking?
Someone like Paul White could answer...
April 2, 2023 at 9:47 pm
Why does creating and inserting data into a table with insert into cause blocking but inserting into an existing table not cause blocking?
April 2, 2023 at 8:07 pm
Viewing 15 posts - 421 through 435 (of 2,648 total)