Re: [cx-oracle-users] Error Expecting numeric Data
Brought to you by:
atuining
From: Roger D. <rog...@gm...> - 2013-01-26 22:17:55
|
Hi, It would be helpful if you were to give more context to your code. What is 'L' for example? cursor.executemany() expects as its second argument a sequence. The elements of the sequence should either be sequences or parameter mappings as described in the documentation. The error you are getting could mean that you are trying to insert non-numeric data into a column which has been specified as numeric. Cheers, Roger On 25 January 2013 18:19, Ivanelson Nunes <iva...@gm...> wrote: > What kind of error is this? > > cursor.executemany (sql_insert, L) >> TypeError: expecting numeric data > > > I am reading a csv file with 2000 lines and 115 columns. > > Any idea? > > Thanks, > > Ivan - Brazil > @ivanelson > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |