Viewing 15 posts - 6,496 through 6,510 (of 59,101 total)
Actually, a single scan would be just fine:
SELECT ID
FROM Response r
GROUP BY ID
HAVING MAX(result) <> MIN(result);
You've just gotta love the old ways. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2020 at 4:14 pm
Ok... I have a question, especially seems to be coming up a lot lately.
To what end does someone need this type of information? What will the information ultimately be used...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 4:41 pm
The words might be strong, but apparently not strong enough, considering how the masses of developers mindlessly follow the pattern (by default from MS) and clustering everything by ID
True...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 4:29 pm
So if I were going to change the table's fields from Nvarchar to varchar as long as they are not executing
example: SELECT ... FROM ... WHERE...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:44 pm
Before you publish your project to Azure App Service, you must first upload your project's database to Azure SQL Database.
Heh... do tell... Just how would you accomplish such a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:31 pm
I want to read some competent answer too, just will wait here
Then go to the other post people have cited. 😉
Since your nondescript post strongly resembles a "test prelude"...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:24 pm
Just to add some clarification to this problem and "bump" it because it is an interesting issue...
Where are you copying the backups FROM? For example, are you copying from on-prem...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:14 pm
Jo
A query (or certainly one that doesn't involve a remote server) will never time out - it will be the application that kills it, not SQL Server.
John
I'm not sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:04 pm
Autoincremental bigint ID is never a good candidate for a clustered index.
"Never" is a pretty big word here. There are some exceptions. For example, you're using the Autoincremental ID...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 1:43 pm
You bet. Thank you for the feedback.
I use the code to find the worst performing queries even each execution is measured in milliseconds. Repetition means a lot. In other words,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 9:06 pm
In contract to @JeffModen's response - it is also possible that the client(s) are sending varchar parameters and all of those queries are using implicit conversions and full...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 8:56 pm
In contract to @JeffModen's response - it is also possible that the client(s) are sending varchar parameters and all of those queries are using implicit conversions and full index...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 8:55 pm
Steve Jones - SSC Editor wrote:As Jeff noted, include TRUNCATE in here.
I did include TRUNCATE in the trans, from the start. Not exactly sure how else you want the transaction structured.
Agreed... didn't see...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 8:51 pm
As you're finding out, Partitioned Tables don't make such changes easy. I drank the MS "Kool-aid" a couple of years back (only 1.2 TB total, though) and I'm in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 3:56 pm
I posted a reply and it was removed as spam. Please explain how my opinion was spam.
Marcus
Artificial "Intelligence" of the automatic SPAM removal code for this forum is the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 3:05 pm
Viewing 15 posts - 6,496 through 6,510 (of 59,101 total)