Re: [SQL] Parsing a Calculation from a field

2005-01-11 Thread Jeff Eckermann
How are you getting the data from Excel? Perhaps you could use Excel's own methods to evaluate the cell contents? You may still need to do something for literal text values (e.g. 'NULL'), though. "Kieran Ashley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Apologies if th

Re: [SQL] Parsing a Calculation from a field

2005-01-11 Thread Kieran Ashley
[SQL] Parsing a Calculation from a field Kieran Ashley wrote: > > Some of our data comes in in a format which provides us with extra > information, but which we currently don't need to use; specifically > we sometimes receive information in the form of calculations, for >

Re: [SQL] Parsing a Calculation from a field

2005-01-11 Thread Richard Huxton
Kieran Ashley wrote: Some of our data comes in in a format which provides us with extra information, but which we currently don't need to use; specifically we sometimes receive information in the form of calculations, for example a column which needs to be transformed to an integer is initially of

[SQL] Parsing a Calculation from a field

2005-01-11 Thread Kieran Ashley
Hi,   Apologies if this is the wrong list for this question, I hope it’s not.   I’m porting an application to PostgreSQL, and rewriting a number of transforms used to convert incoming Excel data into a final Postgres table schema for an application.  Most of it’s gone okay, but there’s