Tony wrote:
I was trying to copy a MS Sql server database to a Sqlite database
(with SA 5.8),
How? What code were you using?
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are
Ok. Submitted as ticket #1770
On 14 abr, 17:06, Michael Bayer mike...@zzzcomputing.com wrote:
ogg...@gmail.com wrote:
Hi,
I'm just testing version 0.6 beta 3 with mssql and I've discovered
that reflecting tables with indexes that contains fields with blank
spaces raises a KeyError.
Ok. Submitted as ticket #1770
On 14 abr, 17:06, Michael Bayer mike...@zzzcomputing.com wrote:
ogg...@gmail.com wrote:
Hi,
I'm just testing version 0.6 beta 3 with mssql and I've discovered
that reflecting tables with indexes that contains fields with blank
spaces raises a KeyError.
jo wrote:
Hi all,
I cannot find anymore the attribute _state :
if (not cls._state or not cls._state.get('original') or
(cls._state['original'].data.get(k) != data.get(k:
Could someone please help me?
thank you
j
To explain better my problem, in version 0.3 my models have the
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of jose soares
Sent: 16 April 2010 11:03
To: sqlalchemy@googlegroups.com
Subject: Re: [sqlalchemy] cls._state /
cls._state.get('original') class
King Simon-NFHD78 wrote:
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of jose soares
Sent: 16 April 2010 11:03
To: sqlalchemy@googlegroups.com
Subject: Re: [sqlalchemy] cls._state /
cls._state.get('original') class
I am sorry Michael,
Maybe the problem is not in the column_prefix,
The thing that I don't understand in this query is why sa tries to change the
primary key of this row.
I changed in my form only the value of id_operator,
thus I expected a query like:
UPDATE anagrafica SET id_operatore=1695
here is the code:
engine_src= create_engine('mssql://blah_blah_blah)
engine_dst= create_engine('sqlite:///new.sqlite')
metadata_src = MetaData(bind=engine_src,reflect=True)
metadata_dst= MetaData(bind=engine_dst)
for table in metadata_src.sorted_tables:
dest_table =
here is the code I am using to copy the database:
engine_src = create_engine('mssql://blah_blah_blah)
engine_dst = create_engine('sqlite:///new.sqlite')
metadata_src = MetaData(bind=engine_src,reflect=True)
metadata_dst = MetaData(bind=engine_dst)
for table in metadata_src.sorted_tables:
Given a largish file with a lot of table definitions in it, and
SQLAlchemy 0.5.7, how can I see what SQL would be generated to create
one specific table on a PostgreSQL database without actually attempting
to create the table?
--
Kirk Strauser
--
You received this message because you are
FAQ:
http://www.sqlalchemy.org/trac/wiki/FAQ#HowcanIgettheCREATETABLEDROPTABLEoutputasastring
On Apr 16, 11:04 am, Kirk Strauser k...@strauser.com wrote:
Given a largish file with a lot of table definitions in it, and
SQLAlchemy 0.5.7, how can I see what SQL would be generated to create
one
Yes, it works, :-)
Thank you Simon,
j
King Simon-NFHD78 wrote:
Jo wrote:
Thank you for replay my question, Simon,
but I can't find the 'original' state there.
j
Here's an example that shows the results of the get_history function:
#
import sqlalchemy as sa
import
Here's the issue, boiled down to one file. On import, the last statement
fails, mapping the Connections object. I just need to map two relations on an
association object (Connections) to a polymorphic union (NetworkNode). Is
there a way to do this?
sqlalchemy.exc.ArgumentError: Column
w...@nobleenergyinc.com wrote:
Here's the issue, boiled down to one file. On import, the last statement
fails, mapping the Connections object. I just need to map two relations on
an association object (Connections) to a polymorphic union (NetworkNode).
Is there a way to do this?
your
Michael Bayer wrote:
w...@nobleenergyinc.com wrote:
Here's the issue, boiled down to one file. On import, the last
statement
fails, mapping the Connections object. I just need to map two relations
on
an association object (Connections) to a polymorphic union
(NetworkNode).
Is there a way
Hi,
I was just trying to load a relation ( obj.predecessor) for obj.
obj was created in a session, which has been committed, and closed afterwards.
I merged obj to the session using
session.merge(obj, load=False)
but doing so yields this exception:
Parent instance obj at 0x18817d0 is not
-sqlalch...@googlegroups.com wrote: -
To: sqlalchemy@googlegroups.com
From: Michael Bayer mike...@zzzcomputing.com
Sent by: sqlalchemy@googlegroups.com
Date: 04/16/2010 02:57PM
Subject: Re: [sqlalchemy] Concrete table inheritance without a master table
w...@nobleenergyinc.com wrote:
My Fault,
session.merge(obj, load=False) should be
obj=session.merge(obj, load=False)
2010/4/17 Paul Balomiri paulbalom...@gmail.com:
Hi,
I was just trying to load a relation ( obj.predecessor) for obj.
obj was created in a session, which has been committed, and closed afterwards.
I
18 matches
Mail list logo