Viewing 15 posts - 511 through 525 (of 2,694 total)
first thing is to fix the logic - NEVER EVER use FORMAT and then compare its output with something else, especially if it is not a equality compare.
on your first...
July 4, 2023 at 3:41 pm
5.3 million rows is the estimated - the actual is 37k rows
Statistics on columnstore can be a bit tricky as they don't quite work as other tables - but I...
July 4, 2023 at 11:06 am
maybe this but not guaranteed.
drop table if exists #TEMP1;
drop table if exists #TEMP2;
drop table if exists #TEMP3;
select distinct T1.QUOTE_DATE
into #TEMP1
from dbo.OptionsEOD T1
CREATE CLUSTERED INDEX #CI_TEMP1 ON #TEMP1
(QUOTE_DATE
);
select...
July 3, 2023 at 9:27 pm
try the following code.
and then give us the actual explain plan for both this code and your code.
drop table if exists #TEMP1;
drop table if exists #TEMP2;
select distinct...
July 3, 2023 at 4:23 pm
Using a sequence, can a process get a set of 5000 values and then use those values as the PK? WHILE another process performing the same task in parallel...
June 30, 2023 at 7:28 pm
you can use a sequence for that instead of an identity.
June 30, 2023 at 5:26 pm
loopback? have a look at https://blog.sqlauthority.com/2017/04/18/sql-server-login-failed-login-untrusted-domain-cannot-used-windows-authentication/
and... probably not but worth looking at.
https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-security-configure-encryption-types-allowed-for-kerberos - if a new server it is likely that RC4_HMAC_MD5 is disabled - if so try enabling...
June 30, 2023 at 5:23 pm
is this still using the same formula you had on your original thread (https://www.sqlservercentral.com/forums/topic/round-or-convert-the-output-of-the-power-function) - or are you now trying to use the correct IRR
June 29, 2023 at 9:21 pm
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
Viewing 15 posts - 511 through 525 (of 2,694 total)