Viewing 15 posts - 1 through 15 (of 3,507 total)
CROSS APPLY is analogous to INNER JOIN,
OUTER APPLY is analogous to OUTER JOIN
there, fixed it for you
August 12, 2026 at 12:56 am
I checked the obvious way -- through my profile, but there's no way to filter them for keywords etc. =(
Use Google. LOL.
August 11, 2026 at 1:12 am
If you can create a stored procedure that returns the data that you need, then you can use that as the source of your report/table in your model.
Just in case...
July 20, 2026 at 7:36 pm
Two things:
July 15, 2026 at 1:11 am
One way is to insert the result of the stored procedure into a temporary table, and then join that table to your other table in a query.
/*...
July 10, 2026 at 10:04 pm
What was the solution? Can you post it?
June 25, 2026 at 8:10 pm
without some tables it's impossible to diagnose or help.
Sounds like a job for ROW_NUMBER() but it's hard to say for sure.
June 17, 2026 at 5:54 pm
just playing the contrarian...
one thing to keep in mind if you do ever have to validate any of the address stuff, it would be easier if it were broken up,...
April 29, 2026 at 3:45 am
I think it was Brandie Tarvin that wrote about this? TBH, I can't remember anymore.... Someone on here used to break SQL Server one setting at a time and writing...
April 16, 2026 at 8:29 pm
Sorry, wrong function. you want STContains.
Remarks
STContains() always returns null if the spatial reference IDs (SRIDs) of the geometry instances do not match.
Examples
The following example uses STContains() to test two geometry instances to see if the first instance...
April 4, 2026 at 12:37 am
You use the (longitude, latitude) to create/define a @Point. and then you use STDistance to calculate the distance between them.
STDistance (geography Data Type) - SQL Server | Microsoft Learn
April 2, 2026 at 12:46 am
Day late probably, but one thing to remember is that
<Aggregate> OVER (PARTITION BY <columnName>)
is the windowing version of
<Aggregate> FROM... GROUP BY <columnName>
and windowing functions do not reduce the number of...
March 30, 2026 at 4:38 pm
Something like this?
SELECT c.CustomerID, MAX(c.CallDate), STRING_AGG(c.Notes,' | ')
FROM (VALUES
(433, '2018-11-06 11:08:12.793', 'Customer called'),
(433, '2018-11-06 11:08:12.793', 'Customer left...
March 24, 2026 at 6:03 pm
Dave,
Got some more data? Enough to weed out the false positives etc?
March 23, 2026 at 11:28 pm
Like this?
SELECT c.CustomerID, c.CallDate, STRING_AGG(c.Notes,'|')
FROM (VALUES
(433, '2018-11-06 11:08:12.793', 'Customer called'),
(433, '2018-11-06 11:08:12.793', 'Customer left message')
) c(CustomerID, CallDate, Notes)
GROUP...
March 23, 2026 at 9:17 pm
Viewing 15 posts - 1 through 15 (of 3,507 total)