Actually, all integer type data should be customizable. For example the
DBAs where I work will seek vengance from me if I use the wrong types of
ints. They only want me to use numeric(18,0) on truly huge data types,
so perhaps there should be a generic solution whereby any col that has
an integer value can have an attribute:
Class foo(sqlobject.SQLObject):
class sqlmeta:
keyIntType = sqlobject.intType("numeric", 12, 0)
bar = sqlobject.intCol( sqlobject.intType("numeric", 12, 0),
dbName="myValue" )
baz = sqlobject.intCol() # Makes a default integer
Now I don't even know what precicely the Sybase type called
Numeric(12,0) actually means, but it's what the DBAs insist on, so who
am I to argue!
:-)
--------------------------------------------------------
This is not an offer (or solicitation of an offer) to buy/sell the
securities/instruments mentioned or an official confirmation. Morgan Stanley
may deal as principal in or own or act as market maker for
securities/instruments mentioned or may advise the issuers. This is not
research and is not from MS Research but it may refer to a research
analyst/research report. Unless indicated, these views are the author's and
may differ from those of Morgan Stanley research or others in the Firm. We do
not represent this is accurate or complete and we may not update this. Past
performance is not indicative of future returns. For additional information,
research reports and important disclosures, contact me or see
https://secure.ms.com/servlet/cls. You should not use e-mail to request,
authorize or effect the purchase or sale of any security or instrument, to send
transfer instructions, or to effect any other transactions. We cannot
guarantee that any such requests received via e-mail will be processed in a
timely manner. This communication is solely for the addressee(s) and may
contain confidential information. We do not waive confidentiality by
mistransmission. Contact me if you do not wish to receive these
communications. In the UK, this communication is directed in the UK to those
persons who are market counterparties or intermediate customers (as defined in
the UK Financial Services Authority's rules).
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss