Connecting Tech Pros Worldwide Help | Site Map

Re: Best practice on nullability and default value

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 14th, 2008, 03:15 PM
--CELKO--
Guest
 
Posts: n/a
Default Re: Best practice on nullability and default value

The decision about defaults, constraints and NULL-ability should be
made on the basis of a good data model and not like this. Trying to
patch up things after an upload is going to eventually fail. Think of
the old Ford Motors slogan: "The Quality goes in BEFORE the Name goes
on!"


  #2  
Old July 15th, 2008, 02:45 AM
DL
Guest
 
Posts: n/a
Default Re: Best practice on nullability and default value

On Jul 14, 11:06*am, --CELKO-- <jcelko...@earthlink.netwrote:
Quote:
The decision about defaults, constraints and NULL-ability should be
made on the basis of a good data model and not like this. *Trying to
patch up things after an upload is going to eventually fail. *Think of
the old Ford Motors slogan: "The Quality goes in BEFORE the Name goes
on!"
Thank you all. Sorry, my initial posting was too sketchy, also I was
fairly new to the environment, less than two weeks, with a monstrous
'master' sql script exceeding 10,000 lines of schema creation, view
creation, sp creation, UDF creation and trigger creation etc. etc...
with very poor comments or minimal comments associating technicality
with business functions, separate documentation is more like user
manual than a real Design Document for a piece of software for the
medical community.

On all columns except key columns being nullable with default values,
my boss told me today because of replication requirement, I've little
knowledge of replication (tried once got people scared, wrongly
thought I might stealing data something...). What's your thought on
the replication thing?


  #3  
Old July 15th, 2008, 08:45 AM
Erland Sommarskog
Guest
 
Posts: n/a
Default Re: Best practice on nullability and default value

DL (tatata9999@gmail.com) writes:
Quote:
Thank you all. Sorry, my initial posting was too sketchy, also I was
fairly new to the environment, less than two weeks, with a monstrous
'master' sql script exceeding 10,000 lines of schema creation, view
creation, sp creation, UDF creation and trigger creation etc. etc...
Could benefit from being broken down in pieces...
Quote:
On all columns except key columns being nullable with default values,
my boss told me today because of replication requirement, I've little
knowledge of replication (tried once got people scared, wrongly
thought I might stealing data something...). What's your thought on
the replication thing?
I have very little experience of replication, but the argumnent sounds funny
to me. You may want to ask the friendly people in
microsoft.sqlserver.public.replication to have this confirmed.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.