Viewing 15 posts - 391 through 405 (of 2,648 total)
and how is sproc_ValidateUser getting executed?
and were are transactions being set on the full chain - starting with the top level code that executes sproc_ValidateUser.
a possible way of changing the...
October 12, 2023 at 1:36 pm
and on this case I would nearly bet that the 2 procs involved on the deadlock are called in a loop with an outside transaction
process 1
exec dbo.sproc_ValidateUser
...
October 12, 2023 at 12:36 pm
on my case the issues we had was not on the data retrieval but on rendering and processing - which is done after all data has been loaded.
the OP didn't...
October 12, 2023 at 12:01 pm
had lots of those as well - even after increasing the timeout significantly they were getting similar errors after 90 min - as we were only using SSRS to generate...
October 11, 2023 at 7:04 pm
have a look at this example - based on something I do for dynamic reports
drop table if exists #data
CREATE TABLE #data
( RecordID int identity(1, 1) --...
October 11, 2023 at 1:57 pm
yes you will need to either change the code and have multiple conditions or use dynamic sql to build the output if your final output should have each "string" placed...
October 11, 2023 at 12:13 pm
PARSENAME won't work for more than 4 "parts".
and instead of trying to invent the wheel again look at already made functions
https://www.sqlservercentral.com/articles/reaping-the-benefits-of-the-window-functions-in-t-sql-2 -- use this one as it is faster than...
October 11, 2023 at 8:28 am
unless changed the deploy process and/or schema compare will disable all triggers (both DML and database) - make sure you change that setting.
October 5, 2023 at 1:49 pm
I would say that your left outer join to PersuKetsi results in you having more rows being processed than on the query you get the count(*) from.
change your first query...
October 5, 2023 at 10:45 am
are you sure its the designer? I've never seen it to make that.
but the script generation is another story - the defaults remove lots of things, and this is a...
October 5, 2023 at 8:14 am
Thanks for that. We use synonyms to refer to other databases so hopefully that shouldn't cause too many issues.
I'll give it a go with a test database...
October 4, 2023 at 8:08 pm
Thanks for that. We use synonyms to refer to other databases so hopefully that shouldn't cause too many issues.
I'll give it a go with a test database and see...
October 4, 2023 at 1:59 pm
create an extended event session and log all the code being issued by the pc where you execute that app - that will give you full list of sql statements...
October 4, 2023 at 12:28 pm
search for the content instead of the object id
SELECT *
FROM sys.sql_modules
WHERE definition like '%usp_drop_temp_ingenix_codes%'
and see what you get.
I would also recreate the SP just in...
October 3, 2023 at 12:33 pm
most of the code looks like someone used to Oracle that was moved to work with SQL Server - in Oracle world majority of things are case sensitive - and...
October 3, 2023 at 10:51 am
Viewing 15 posts - 391 through 405 (of 2,648 total)