Viewing 15 posts - 2,311 through 2,325 (of 59,067 total)
LOL! Ok.
The LPKCX are Cranes. The date and times are the location of the cranes as indicated by the Lat/Long. Calculating the distance between the given LPKCX location and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 7:02 pm
DROP TABLE IF EXISTS #T;
SELECT *
INTO #T
FROM (VALUES ('1A','E'),('1A','IR'),('1A','N'),('1A','SC'),('1A','SCIR'),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 3:12 am
Post withdrawn. Found something odd.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2022 at 1:41 am
So do you have another column that would enforce the order of the data you posted or doesn't the order in the resulting rows matter?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 11:20 pm
Awesome info, Grant. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 11:11 pm
Post withdrawn. Found something odd.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 6:35 pm
From the original results posted for sys.db_db_index_physical_stats, I think it's pretty clear that ghost rows are an issue. The fast inserts "feature" may also be an issue.
You first need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 2:47 pm
Neither a Pivot nor a nasty fast CROSSTAB can be done without an aggregate. The good new for you is, MAX() is an aggregate. Do the Pivot using MAX(). You'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 2:32 pm
If you want to post a query plan use something like:
https://www.brentozar.com/pastetheplan/
Would you download a unknown file from the internet?
The trouble with that is that can go away and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 2:29 pm
It sounds like there are multiple years (maybe 6 or so?) stored in the table. Column Store or not , I'd split it up into multiple tables, at least by...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2022 at 2:18 pm
If you search for interview questions for DBAs, you'll find a wealth of questions. I also want you to be aware that, while the questions can be pretty good, some...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2022 at 10:35 pm
Please look into the database ROLES for MSDB. There a 3 that are totally different than they are in any other database. They'll be obvious to you. Then, look them...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2022 at 10:12 pm
For this example I would probably use ISNULL(airport_city, '') not in
That would make sure that you don't ever have to worry about the query using an index to seek....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2022 at 10:03 pm
Lucky but logical guess on my part.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2022 at 12:54 am
Lordy... my apologies. Really bad day or two, apparently. I totally missed the fact that this was for SSRS 2016. I don't even know how to spell SSRS.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2022 at 2:52 am
Viewing 15 posts - 2,311 through 2,325 (of 59,067 total)