Re: Non-standard SQL generated in column definition for nullable columns in create table DDL

2008-12-17 Thread Ambrish Bhargava
Hi Ian, I have opened a ticket for the same. Please follow the link for the same: http://code.djangoproject.com/ticket/9862. Regards, Ambrish Bhargava --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django develope

Re: Non-standard SQL generated in column definition for nullable columns in create table DDL

2008-12-15 Thread Ian Kelly
On Mon, Dec 15, 2008 at 4:23 AM, Ambrish Bhargava wrote: > Hi, > > While working on the new backend support for DB2, I found that in > CREATE TABLE DDL generation, it contains some non-standard SQL syntax. > > Here is one example of model. > > class User(models.Model): >first_name = models.Ch

Non-standard SQL generated in column definition for nullable columns in create table DDL

2008-12-15 Thread Ambrish Bhargava
- http://developer.mimer.com/validator/parser200x/index.tml Needless to say, this will fail in DB2 and so too in Oracle. Note: We faced a similar issue in Rails, and raised a defects, which was accpeted - http://rails.lighthouseapp.com/projects/8994/tickets/398-non-standard-sql-generated-in-column-definit