Viewing 15 posts - 3,211 through 3,225 (of 59,067 total)
ok, that's not what I thought you meant. I thought you meant flip all the bits.
This works for 0 and 1:
DECLARE @smallint smallint = 0
select...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2022 at 11:13 pm
What are the datatypes for the two columns in Question #1?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2022 at 10:32 pm
Probably so he can get away from having to run two separate queries and then merge the results with a distinct UNION. That may or may not be faster, though. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2022 at 2:41 am
I wonder if it is because in our dreams our minds are more focused on one thing at a time and it is easier without so many distractions.
I would...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2022 at 2:39 am
Perhaps more important than the DISTINCT keyword is the AVG() function's handling of NULL values.
NULLs behave similarly to DISTINCT - regardless of how AVG() is called. That is, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 5:52 pm
Heh... there is an EXCEPT, though... same "class" of method.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 5:09 pm
Just in case you're still around, the reason I'm asking is because, if the ultimate use is to import the data into another SQL Server, using BCP Out in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 4:54 pm
In other words, please read and heed the article at the first link in my signature line below for one of many methods to provide some "Readily Consumable Test Data"...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 3:54 pm
Please go back and read the reply from Scott Pletcher and myself.
I agree that it sounds like you're trying to do a server to server transfer. With the exception of...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 3:48 pm
It might be possible but I'm not going through the code to figure out which columns are coming from which tables. Using table aliases in all columns when joins are...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 3:39 pm
Thanks for the feedback on what it turned out to be, Jonas.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 3:33 pm
I got this,...
What did you end up doing? I know this would help others in the future.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 3:27 pm
Here's the query to cover your first request.
SELECT MontaguOwner ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 4, 2022 at 1:07 am
Hi Jeff,
Using the same test data I provided I wonder if you could help me build on your code to achieve an additional outcome.
So, on the test data, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2022 at 10:21 pm
Jeff,
I'm going to have to be become very proficient with Pivot (CROSS TABS) with my company.
Thanks for the links
See my post on the other thread. I've also just updated...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2022 at 6:07 pm
Viewing 15 posts - 3,211 through 3,225 (of 59,067 total)