Viewing 15 posts - 526 through 540 (of 2,701 total)
when using the NT Service account the SPN's are created under the COMPUTER account.
setspn -L "computername$" will give the specific SPN's that were set.
but... if you already changed the account...
June 28, 2023 at 6:13 am
the question is WHY - I fail to see any reason why using temp tables would be an issue. that is what TEMPDB is for, and there are no special...
June 26, 2023 at 5:53 am
did you follow the steps here https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/replication-two-instances-and-sql-server-configure-tutorial?view=azuresql
SQL MI to onprem does not follow standard way of doing it between 2 onprem servers.
June 23, 2023 at 1:20 pm
as far as I remember the latest version of SQL BPA is for 2012 - https://www.microsoft.com/en-in/download/details.aspx?id=29302
nothing seems to have been done (or will be done ) on that tool so...
June 18, 2023 at 7:45 am
not much you can do about that query (which is the version I gave you) - the nature of the query does not really allow for pre-filtering or use of...
June 18, 2023 at 7:28 am
did you do the steps highlighted at https://cloudblogs.microsoft.com/sqlserver/2022/07/28/azure-active-directory-authentication-for-sql-server-2022/
June 14, 2023 at 3:20 pm
times on a I7 6 core laptop
according to explan plan query cost (relative to batch= are 0, 0, 100% respectively - so DEFINITELY NOT something to use.
- with while loop...
June 13, 2023 at 8:31 pm
option 1 is incorrect - just discard it.
can you give the plan for the second? was expecting it to be a bit faster than that.
June 6, 2023 at 5:15 pm
regarding your last query (from the second plan). two options below
option 1 is just a adjustment of your original query - does same thing but with 1 less join. may...
June 6, 2023 at 6:43 am
can you try this slight variation of my second example and give runtime and plan as well.
drop table if exists #weeklastday;
drop table if exists #temp1;
select distinct t1.EXPIRATION
into...
June 5, 2023 at 6:41 am
that plan is from you version of the change e.g. where you still keep the dateadd and your temp table does not filter or change the expiration date.
can you give...
June 5, 2023 at 4:49 am
how much faster? can can you also put new explain plan.
June 5, 2023 at 4:09 am
small error on my original code - the temp table was referring an non existing alias (t1)- easy to fix I think.
another attempt at simplifying it assuming that I correctly...
June 5, 2023 at 2:39 am
no difference.
your code was only looking for the the friday date on a particular situation e.g. when the EXPIRATION = Thursday
so by determining all the FRIDAY dates in advance, subtracting...
June 5, 2023 at 2:07 am
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 computed...
June 5, 2023 at 1:47 am
Viewing 15 posts - 526 through 540 (of 2,701 total)