Re: how to define stored procedures within django

2007-06-24 Thread Tim Chase
>> However, I did notice that the regexp for pruning out comments is >> a bit lax, as it misses the event where a comment-marker is in a >> string: >> >> insert into app_tbl (column_name) values ('has--dashes'); >> >> chokes. Granted, it's a tad pathological and fairly obvious to >> catch that

Re: how to define stored procedures within django

2007-06-24 Thread Malcolm Tredinnick
On Sun, 2007-06-24 at 07:49 -0500, Tim Chase wrote: > > Be aware, though, that there are lots of SQL constructs > > (including a lot that crop up in stored procedures) that are > > not handled correctly in the initial SQL parsing. For > > backend-specific stuff, that's a small bug. For the more >

Re: how to define stored procedures within django

2007-06-24 Thread Tim Chase
> Be aware, though, that there are lots of SQL constructs > (including a lot that crop up in stored procedures) that are > not handled correctly in the initial SQL parsing. For > backend-specific stuff, that's a small bug. For the more > general initial SQL, it's an unsolvable problem. Where woul

Re: how to define stored procedures within django

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 13:05 -0500, Tim Chase wrote: > > I want to use some stored procedures. I am mySql. Is there > > some way I can define stored procedures from withing django? > > (We can call already defined procedures, > > http://www.djangosnippets.org/snippets/118/ discusses how, but > > c

Re: how to define stored procedures within django

2007-06-21 Thread shabda
thanks, That solves my problem. On Jun 21, 11:05 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > I want to use some stored procedures. I am mySql. Is there > > some way I can define stored procedures from withing django? > > (We can call already defined procedures, > >http://www.djangosnippets.org/s

Re: how to define stored procedures within django

2007-06-21 Thread Tim Chase
> I want to use some stored procedures. I am mySql. Is there > some way I can define stored procedures from withing django? > (We can call already defined procedures, > http://www.djangosnippets.org/snippets/118/ discusses how, but > can we also define stored procedures from within django?) I do

how to define stored procedures within django

2007-06-21 Thread shabda
Hi, I want to use some stored procedures. I am mySql. Is there some way I can define stored procedures from withing django? (We can call already defined procedures, http://www.djangosnippets.org/snippets/118/ discusses how, but can we also define stored procedures from within django?) --~--~--