September 29, 2017 at 11:18 am
Steve Jones - SSC Editor - Friday, September 29, 2017 9:47 AMTo be fair, plenty of people use tools (ErWin, Er/Studio, Visio, SSMS, etc.) to design:
create table customer
( CustomerId int
, Customername varchar(1000)
, Address varchar(1000)
, City varchar(1000)
, State varchar(1000)
, Country varchar(1000)
, NonUSProvince varchar(1000)
, PrimaryContact varchar(1000)
, PrimaryContactEmail varchar(1000)
, SecondaryContact varchar(1000)
...
)It's not the tools, it's not the framework, it's not the job description. It's the knowledge.
What kind of fool would design this? We should clearly use varchar(max) to avoid truncation. :hehe:
September 29, 2017 at 12:57 pm
Luis Cazares - Friday, September 29, 2017 11:18 AMSteve Jones - SSC Editor - Friday, September 29, 2017 9:47 AMTo be fair, plenty of people use tools (ErWin, Er/Studio, Visio, SSMS, etc.) to design:
create table customer
( CustomerId int
, Customername varchar(1000)
, Address varchar(1000)
, City varchar(1000)
, State varchar(1000)
, Country varchar(1000)
, NonUSProvince varchar(1000)
, PrimaryContact varchar(1000)
, PrimaryContactEmail varchar(1000)
, SecondaryContact varchar(1000)
...
)It's not the tools, it's not the framework, it's not the job description. It's the knowledge.
What kind of fool would design this? We should clearly use varchar(max) to avoid truncation. :hehe:
Wouldn't it be varchar(255) instead?!? I still see a lot of that believe it or not, usually when the developer is in his 60s or older. 😀
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 29, 2017 at 1:28 pm
I've seen both. Max, a "magic" number, and 255 from some frameworks.
October 2, 2017 at 9:58 pm
TheSQLGuru - Friday, September 29, 2017 12:57 PMLuis Cazares - Friday, September 29, 2017 11:18 AMSteve Jones - SSC Editor - Friday, September 29, 2017 9:47 AMTo be fair, plenty of people use tools (ErWin, Er/Studio, Visio, SSMS, etc.) to design:
create table customer
( CustomerId int
, Customername varchar(1000)
, Address varchar(1000)
, City varchar(1000)
, State varchar(1000)
, Country varchar(1000)
, NonUSProvince varchar(1000)
, PrimaryContact varchar(1000)
, PrimaryContactEmail varchar(1000)
, SecondaryContact varchar(1000)
...
)It's not the tools, it's not the framework, it's not the job description. It's the knowledge.
What kind of fool would design this? We should clearly use varchar(max) to avoid truncation. :hehe:
Wouldn't it be varchar(255) instead?!? I still see a lot of that believe it or not, usually when the developer is in his 60s or older. 😀
I saw one example where EF had created everything with NVARCHAR(MAX)...
October 3, 2017 at 6:05 am
Steve Jones - SSC Editor - Friday, September 29, 2017 9:47 AMTo be fair, plenty of people use tools (ErWin, Er/Studio, Visio, SSMS, etc.) to design:
create table customer
( CustomerId int
, Customername varchar(1000)
, Address varchar(1000)
, City varchar(1000)
, State varchar(1000)
, Country varchar(1000)
, NonUSProvince varchar(1000)
, PrimaryContact varchar(1000)
, PrimaryContactEmail varchar(1000)
, SecondaryContact varchar(1000)
...
)It's not the tools, it's not the framework, it's not the job description. It's the knowledge.
+ 1 Billion to that!
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 31 through 36 (of 36 total)
You must be logged in to reply to this topic. Login to reply