Viewing 15 posts - 481 through 495 (of 2,658 total)
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
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
June 4, 2023 at 9:22 pm
SSIS has behind the scenes to retrieve the table metadata - this error seems to indicate a mismatch between the server and the client driver - or some parameters need...
June 2, 2023 at 10:53 am
Viewing 15 posts - 481 through 495 (of 2,658 total)