Viewing 15 posts - 8,251 through 8,265 (of 59,072 total)
PLEASE don't duplicate posts. All does is split up the answers others make.
Please, no more answers on this thread folks. Instead, post them on the following thread.
https://www.sqlservercentral.com/forums/topic/master-and-detail-table
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2019 at 2:52 pm
i have an application that creates sql tables that ends pat xxxxx_bulk and i must automated the synchronization process
Synchronization process? Why wouldn't "replication" work for you?
I've also found the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2019 at 2:48 pm
>> IDENTITY() is a piece of automation that solves a set of tricky problems for you. <<
Actually, IDENTITY creates problems rather than solve them. Essentially, you've decided to throw...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2019 at 9:11 pm
While I agree that there have been some pretty cool successful attempts at making things "better" which, as you say, means "go faster", in this case, all is not without...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2019 at 8:55 pm
sys.dm_exec_sessions has no "history". It only shows "active" sessions.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 2:17 pm
Darnit Jeff
Where does you mind go to come up with such perlers?
Dark corner of the room, fetal position in a blanket, suck thumb, twiddle hair, beer popsicle, converse with...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 2:00 pm
I will try it next week and see how it goes
Awesome. Thank you and looking forward to feedback. This could easily be turned into a high performance "iSF"...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 1:51 pm
Please learn the difference between a row and a record. It's very important for RDBMS.
I also wish you would learn to read the posting netiquette for this forum....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 1:35 pm
Ok... here's the code to create and populate the test table. This is what Joe Celko was talking about. Please see the article at the first link in my signature...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 3:46 am
Hi all,
I need to calculate average rates across days. I do not have records for all days, but I need to consider the days without the rates as carrying...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 1:38 am
you need to use a table of dates (possibly a recursive CTE) and figure out how to put the last working day's value in to the table.
I think you...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2019 at 1:31 am
Hello, i have a large set of data and i need to copy the Path ( folder) for every line, for example first path it's for one .mdb, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2019 at 10:12 pm
Using LEAD instead of LAG.....
WITH FolderCTE AS
(
SELECT
LEAD(id, 1, null) OVER (ORDER BY id) [next_folder]
, id
, folder
FROM #sampledata
WHERE folder is not null
)
SELECT
sd.id
...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2019 at 10:11 pm
This actually sounds like a pretty cool interview question for anyone that claims to have "years of performance tuning expertise" on their resume.
First, I'd have to explain how the code...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2019 at 9:49 pm
Hoo boy... This has the propensity to rival the robust rhetoric between bombastic blatherskites on bankers rounding or nulls.
Well, you placed this poetic perfection like a placard to polarize...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2019 at 11:10 pm
Viewing 15 posts - 8,251 through 8,265 (of 59,072 total)