Viewing 15 posts - 676 through 690 (of 1,193 total)
Eirikur Eiriksson (1/19/2016)
aaron.reese (1/19/2016)
SSRS is not my natural home 😀 so I was not aware that IIF(x AND y) is a bitwise operation. Maybe I wasn't asking...
January 19, 2016 at 3:35 pm
Eirikur Eiriksson (1/19/2016)
GilaMonster (1/19/2016)
January 19, 2016 at 3:10 pm
Throwing in the CASE using Eirikur's wonderful setup yielded this on one million rows on my machine (tangentially, I'm embarrassed that Eirikur's laptop is faster than my test server :blush:):
T_TEXT...
January 19, 2016 at 2:36 pm
This sounds less like FREEPROCCACHE didn't work and more like you just had some queries get compiled with poor plans. After a subsequent clearing of the cache, they happened to...
January 19, 2016 at 12:19 pm
curious_sqldba (1/19/2016)
I am using listener to connect through SSMS, i do have ApplicationIntent = ReadOnly, still it connects to primary? Am i missing something here?
You have to actually configure the...
January 19, 2016 at 12:14 pm
If you're wanting to see the objects that are referenced by that stored procedure, then you're checking the wrong thing in the WHERE clause.
As written, that query is looking for...
January 19, 2016 at 11:51 am
river1 (1/19/2016)
When I try to use that I get empty back. No records returned
Also keep in mind the database context. If you're running this without specifying your database, and your...
January 19, 2016 at 11:41 am
Just a cautionary note on the CASE version: be aware of how your implementation handles ties. If you're not careful with the CASE, then you can get incorrect results, as...
January 19, 2016 at 8:50 am
Jeff Moden (1/18/2016)
Jacob Wilkins (1/13/2016)
January 19, 2016 at 7:46 am
Eric M Russell (1/18/2016)
https://msdn.microsoft.com/en-us/library/ms174965.aspx
For example:
3 & 0 = 0
3 & 1 = 1
3 & 2 = 2
3 & 4 = 0
123456 & 1 =...
January 18, 2016 at 2:26 pm
That's not quite what that does. 🙂
AND is bitwise AND there.
So it takes 2 to the power of 1 less than the bit to validate (so, if validating the first...
January 18, 2016 at 2:25 pm
It doesn't matter that there are no matching rows in the postal table.
If that query returns 126 rows, that means there are 126 ZipCodes in the Import table that occur...
January 14, 2016 at 2:24 pm
Alas, I was almost going to go to Nashville, but transportation's easier to Chicago, so I'm aiming for that one.
January 14, 2016 at 2:13 pm
Welsh Corgi (1/14/2016)
INSERT INTO POSTAL (ID,Latitude, ID.Longitude, CityTownshipID, CountyRegionID,StateProvinceID,CountryID)
SELECT ZipCode, Latitude, Longitude,CityTownshipID , CountyRegionID, StateProvinceID, CountryID
FROM Postal_Codes_Import
WHERE NOT EXISTS (SELECT *
...
January 14, 2016 at 1:55 pm
I seem to recall that with SSAS you have to use the form A-(INT(A/B)*B) as a substitute for A%B, since SSAS lacks a modulo operator.
That would work out to something...
January 13, 2016 at 5:08 pm
Viewing 15 posts - 676 through 690 (of 1,193 total)