Viewing 15 posts - 5,056 through 5,070 (of 59,089 total)
I want to design a database for an OLTP app where it mainly involves customer and transaction. I know we have up to 1024 columns in a table, but...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2021 at 12:39 pm
I guess I don't understand two things...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2021 at 12:29 pm
None of that actually has anything to do with the OP's table except that you've done the same unnecessary expansion of a column like you claim he did with the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 8:12 pm
Some good but with little to no experience??? Dude, suck them up and train them before someone corrupts them. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 7:53 pm
Totally Awesome!!!!
Many Thanks!!!!
Ok... so let's see your final output as an attached file, please.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 4:38 pm
Brent Ozar wrote an article about how they can force you query to go single threaded even if you're query is absolutely perfect in every other way and even when...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 3:57 am
(inmate_nbr CHAR(18) NOT NULL PRIMARY KEY, -- required, not optional.
Man... talk about a worse practice ever. If you're going to do something this silly, use a GUID... at least...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 2:58 am
@jeff When I ran your code and seeing what @sql has in it, that's exactly what I was trying to achieve. How to you get that into an email...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 2:52 am
Thanks to you BOTH for taking the time posting the code, lot to digest...
I just have a question, would it be possible to also include a row total for...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2021 at 2:49 am
>> I have a query that produce a table where I have a list of columns. Then I choose check what columns are on the table excluding the column...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2021 at 11:01 pm
Do I still need to run sp_updatestats if I execute DBCC DBREINDEX(tablename) for tables in database?
I think you should still use to run sp_updatestats as dbcc dbreindex doesn't the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2021 at 10:57 pm
First, here's a shorter way to provide the data in a readily consumable format. It's also better to do it in a temp table than a real table in most...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2021 at 10:08 pm
@JeffModen - that would be great, except most don't even know what character 7 let alone 28 through 31 are or how they were used. Or why we used...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2021 at 7:34 pm
I figured. You can tell that's "never" happened to me before, right? 😀 Thanks for the feedback. Long live the command line! 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2021 at 6:48 pm
It's a funny thing how people crab about the way Excel handles data that has a comma in a "field". It actually works exactly the way the CSV standards say...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2021 at 8:08 pm
Viewing 15 posts - 5,056 through 5,070 (of 59,089 total)