July 31, 2019 at 5:10 pm
Then again, with properly normalized tables, I can't imagine ever needing more than 10 (if that many?) max-length columns in one row.
I cannot give that comment enough good points! Absolutely and totally agreed!
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2019 at 8:19 pm
Agreed. Be nice if MS added the option to the CREATE TABLE statement, so that SQL would "know" that the variable length bytes are not needed at all for the forced-off-row columns, something like:
CREATE TABLE ... ( ... ) WITH ( LARGE_VALUE_TYPES_OUT_OF_ROW = ON );
What would be even nicer is if MS hadn't reversed the defaults to begin with (defaults on the old LOB datatypes was "out of row"). I don't know who came up with the dim idea of defaulting LOBs to "In row (if it fits)".
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply