Rick Root wrote:
> Jochem van Dieten wrote:
>>> 
>>> ABSTRACT text not null default ''
>> 
>> What is the function of DEFAULT ''?
> 
> It's a simple and common option that assigns a default value upon INSERT 
> if the field is not included.

But why is that better then just inserting a NULL?


> I can't force all users of my application to use JDBC.  I can't imagine 
> that many hosting providers would say "Sure, I'll install the postgresql 
> JDBC driver for you".

I can't imagine any hosting provider offering PostgreSQL not 
offering the JDBC driver.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192596
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to