Up Prev Next
From: Rafael Kitover <rkitover at io dot com>
Subject: Re: Converting text inserts to DBI calls
Date: Sep 29 2009 4:40PM
The DBIx::Class (an ORM) branch I've been working on that will soon be
released, has transparent support for blob inserts/updates, it's at:
Only issue is updates with LIKE conditions against blobs in where, that
doesn't work yet.
Of course it would be DBIC syntax not DBI syntax.
On Tue, Sep 29, 2009 at 10:59:16AM -0400, Wechsler, Steven wrote:
> I'm involved in a project where I need to replicate MySQL DML to Sybase
> What's the easiest method I can use when inserting or updating text
> columns? Since placeholders aren't supported, it seems like I will need
> to parse the schema for each table, insert the non-text data and then do
> a ct_send_data() for each text column. I see that I can do direct
> inserts, but that can become a quoting nightmare if both single and
> double quotes appear in a single field.
> Suggestions are welcomed.