Viewing 15 posts - 1,366 through 1,380 (of 2,701 total)
Thanks. Actually I have a JSON querying which is taking longer time for half million rows take approx. 15 mins to finish. However using query hints it runs faster....
October 29, 2020 at 9:41 pm
Frederico .... maybe you're onto something.
Your query has multiple references to ftbid01 which obviously should be to 01, 02, 03, ...
The outer apply could be a cross apply, or...
October 26, 2020 at 3:38 pm
if I got it correctly the dynamic requirement is that its not the content of the field that is being updated but rather that the field it is being used...
October 26, 2020 at 2:16 pm
Okay, I felt this would be more efficient and extensible ti done in SQL server, and I guess I thought it would be easier, but thanks I will do...
October 26, 2020 at 2:01 pm
in SSMS you need to use xp_cmdshell.
but on your original post you stated that this is to be executed from a vb.net program - that being the case the correct...
October 25, 2020 at 10:50 pm
how are you executing this? syntax is ok if executing on a command prompt but depending on how you are doing it you will require additional quotes.
for example if doing...
October 25, 2020 at 3:48 pm
That's great news Lynn - and awesome timing 🙂
October 24, 2020 at 1:39 pm
gMSA accounts are known to give errors when it comes to permissions on a network share. Do you think you could create a proxy account and use that instead
have...
October 22, 2020 at 5:15 pm
That's why I put the note: my EXISTS example does NOT reference an outer table. A rare situation perhaps, but not impossible, more likely:
WHERE EXISTS(SELECT 1 FROM sys.tables WHERE...
October 21, 2020 at 2:54 pm
Wouldn't that count every reference as a "join", including a select from a single table? And any other single select from a table.
SELECT ...
FROM dbo.table1
SELECT ...
FROM dbo.table1
WHERE EXISTS(SELECT 1...
October 21, 2020 at 1:54 pm
will you please stop creating new threads with same content just because you didn't understand the replies you got (or you didn't explain what you wanted correctly)
this has already been...
October 21, 2020 at 8:21 am
neither of the options above will capture cases where the "joins" are old style.
and why not use the system dependency tables for it?
SELECT schema_name(o.schema_id) as referencing_schema_name
...
October 20, 2020 at 10:58 pm
this has already been discussed on https://www.sqlservercentral.com/forums/topic/case-statement-46 - if you need more/different info do follow it up there
October 20, 2020 at 11:25 am
question is incorrect and as such answer is also incorrect - both settings are used for SQL 2019 - one for first 32 cpu's, second for the ones above.
2 answers...
October 19, 2020 at 1:29 am
and look at not using cursors at all - in majority of cases where developers think they need cursors that is not the case
October 18, 2020 at 12:35 pm
Viewing 15 posts - 1,366 through 1,380 (of 2,701 total)