Viewing 15 posts - 406 through 420 (of 2,658 total)
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
check if someone had DENY'ed create tables in TEMPDB- or even deny'ed other permissions that could cause the issue.
October 3, 2023 at 5:28 am
common man!! IA is Spanish for AI
It is the Portuguese for AI
October 2, 2023 at 6:49 pm
how many rows of tbl A (18900000 total) have the ReferenceNum = 0 ?
and why aren't you filtering them when doing the insert into the temp table?
October 2, 2023 at 1:01 pm
I also see, dev team is using DISTINCT operator as a common practice. Is there any proper ways to re-write to the queries to avoid the usage of distinct...
October 2, 2023 at 12:06 pm
You said in your narrative in your original post that "it reads last 30 mins of data from the tables involved" and yet ALL of your...
October 2, 2023 at 11:56 am
Viewing 15 posts - 406 through 420 (of 2,658 total)