Re: [GENERAL] "oracle to postgresql" conversion

2007-03-09 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/07 14:53, Chris Fischer wrote: > All of Oracle's (non-float) number types are variable size > numbers with an ordinal and a mantissa. This makes Oracle number > very efficient for smaller values as compared to fixed size > integers, but less

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-09 Thread Chris Fischer
EMAIL PROTECTED] On Behalf Of Scott Marlowe Sent: Friday, March 09, 2007 1:58 PM To: Devrim GÜNDÜZ Cc: Shane Ambler; Kevin Hunter; [EMAIL PROTECTED]; PostgreSQL General List Subject: Re: [GENERAL] "oracle to postgresql" conversion On Thu, 2007-03-08 at 16:05, Devrim GÜNDÜZ wrote: > Hi, >

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-09 Thread Scott Marlowe
On Thu, 2007-03-08 at 16:05, Devrim GÜNDÜZ wrote: > Hi, > > On Fri, 2007-03-09 at 05:21 +1030, Shane Ambler wrote: > > NUMBER is Oracle's version of NUMERIC - Oracle will use both but > > probably only Oracle will use NUMBER. > > Really? I thought Oracle's NUMBER ~ PostgreSQL's (BIG)INT? Not s

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread Devrim GÜNDÜZ
Hi, On Fri, 2007-03-09 at 05:21 +1030, Shane Ambler wrote: > NUMBER is Oracle's version of NUMERIC - Oracle will use both but > probably only Oracle will use NUMBER. Really? I thought Oracle's NUMBER ~ PostgreSQL's (BIG)INT? /me looks at Oracle docs again. -- Devrim GÜNDÜZ PostgreSQL Replic

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread Scott Marlowe
On Tue, 2007-03-06 at 11:01, [EMAIL PROTECTED] wrote: > I'm a newbie in Oracle and postgreSQL, > i'm need to translate the following script (in Oracle) to postgreSQL : > > rem Autorisation des lignes vides : > set sqlbl on You don't need this, postgresql doesn't choke on extra lines. > rem Initi

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread Shane Ambler
Kevin Hunter wrote: On 06 Mar 2007 at 9:01a -0800, g.c[ altudela ] wrote: I'm a newbie in Oracle and postgreSQL, i'm need to translate the following script (in Oracle) to postgreSQL : rem Autorisation des lignes vides : set sqlbl on rem Initialisation du timer : set timing on rem Creation de

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread Jan de Visser
On Thursday 08 March 2007 11:40:21 am Kevin Hunter wrote: > I do not know what the setting 'sqlbl' does in Oracle. SET SQLBLANKLINES ON makes sqlplus not choke on empty lines in your input. Don't get me started. jan -- -- Jan de Vis

Re: [GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread Kevin Hunter
On 06 Mar 2007 at 9:01a -0800, g.c[ altudela ] wrote: I'm a newbie in Oracle and postgreSQL, i'm need to translate the following script (in Oracle) to postgreSQL : rem Autorisation des lignes vides : set sqlbl on rem Initialisation du timer : set timing on rem Creation de la table : CREATE TA

[GENERAL] "oracle to postgresql" conversion

2007-03-08 Thread altudela
I'm a newbie in Oracle and postgreSQL, i'm need to translate the following script (in Oracle) to postgreSQL : rem Autorisation des lignes vides : set sqlbl on rem Initialisation du timer : set timing on rem Creation de la table : CREATE TABLE "LEPAPE"."EXPERIENCE"( "EXP_ID" VARCHAR2(16