I blame San Andreas - it's his default...
-
ALTER TABLE [tablename] ADD DEFAULT (NULL) FOR [fieldname]
Well yes - that should make a huge difference....:confused:
-
ALTER TABLE [tablename] ADD DEFAULT (NULL) FOR [fieldname]
Well yes - that should make a huge difference....:confused:
-
Duncan Edwards Jones wrote:
that should make a huge difference
You can never be too clear. :-\
There are only 10 types of people in the world, those who understand binary and those who don't.
-
Eddy Vluggen wrote:
Then why is there no comment explaining the default?
Reminds me of some code I inherited.
DataManager dm = new DataManager();
// open the connection
dm.Open();Ya, thanks for the helpful comment. :rolleyes:
There are only 10 types of people in the world, those who understand binary and those who don't.
-
Eddy Vluggen wrote:
Then why is there no comment explaining the default?
Reminds me of some code I inherited.
DataManager dm = new DataManager();
// open the connection
dm.Open();Ya, thanks for the helpful comment. :rolleyes:
There are only 10 types of people in the world, those who understand binary and those who don't.
That is rather helpful; it explains that the DataManager is merely a wrapper round a connection, and that it probably should be deleted from the project and simply replaced by an IDbConnection and a factory :-\
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)