Viewing 15 posts - 8,776 through 8,790 (of 59,067 total)
This is one reason I dislike many natural keys as PKs.
I don't understand how this follows from the discussion.. First, there's not a whole lot of cases where there...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2019 at 1:25 pm
I'm just waiting for Jeff to chime in on this one ...
I've not done an Oracle to SQL Server migration since 2002 and that was a "one time" transfer.
Since...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2019 at 12:54 pm
Hi,
i am trying to export a table into csv, and it should be comma delimited with doublequotes around each value like this:
"value1","value2","value3"
this works fine, but one of the columns...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2019 at 12:30 pm
Knuth once wrote the parable of "Premature optimization is the root of all evil". That has been interpreted (actually, improperly warped) by many as leaving in place NUMERIC(18,0) for integers...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2019 at 12:27 pm
Nice function, Jonathan. Well done!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2019 at 11:50 am
Look at the progress we've got in SQL over the years!
what used to be 13 years ago a short inline formula using system functions and integer arithmetic is now...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:14 pm
Thanks for all of the information. It was very helpful because some things I read swear by adding an identity column for the primary key regardless of what type...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:06 pm
OH is actually an alfa surrogate for Ohio.
Not by definition. Part of the definition of a surrogate key is that you should be able to derive NO information by...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 6:59 am
Don't get distracted by the arbitrary idea that one key or other has to be primary key. In practical terms it doesn't matter which of the keys in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 6:56 am
BWWWAAAAA-HAAAAAA-HAAAAA-HAAAA!!!! HOOOOIIIEEEE! Man, I laughed 'til my sides hurt.
Like many of you, I get a lot of notifications from various groups I've signed up for. Here's a snippet of one...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 1:19 am
Upon a quick google I think I should be looking for a Tasks entry on the right click menu, however I don't see that as an option when I...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:47 am
And here is the DDL (I think)
With one exception, all of the VARCHAR columns in that table are VARCHAR(MAX), which is a LOB datatype. That's the first...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:38 am
Thanks Jeff,
How did you convert 4 million reads to 31 GB of IO ?
A logical read is an 8K page. Divide the reads by 128 to get the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:17 am
Jeff, which ones are VARCHAR(MAX)? Are those the fields with length -1?
Yes. You can verify that by right clicking on the table in the Explorer window of SSMS and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2019 at 12:12 am
I totally agree with Scott on this one... the IDENTITY column is not needed, occupies space on each page (which is also reflected in memory and disk), and is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2019 at 11:07 pm
Viewing 15 posts - 8,776 through 8,790 (of 59,067 total)