Re: [ADMIN] Triggers... Questions... Yes.

2002-06-13 Thread Tom Lane
Tim Ellis <[EMAIL PROTECTED]> writes: > Yeh. Good question. I would assume their generator MEANT > (max(autonum,0)+1) supposing that a "ANSI Level 2"-compliant server's > max function might return the second value if the first is NULL. But no > matter how you slice it, that looks syntactically wro

Re: [ADMIN] Triggers... Questions... Yes.

2002-06-13 Thread Tim Ellis
> > I just used Dezign for Databases and created a simple table in what it > > claimed was "ANSI Level 2" compliance with a one-up "autonum" column. > > There is no such animal as "ANSI Level 2" SQL. That explains a lot of things. About this DDL problem and Dezign for Databases both. > > set (

Re: [ADMIN] Triggers... Questions... Yes.

2002-06-13 Thread Tom Lane
Tim Ellis <[EMAIL PROTECTED]> writes: > I just used Dezign for Databases and created a simple table in what it > claimed was "ANSI Level 2" compliance with a one-up "autonum" column. There is no such animal as "ANSI Level 2" SQL. > create trigger transaction_autonum_inc > before insert on tran

Re: [ADMIN] Triggers... Questions... Yes.

2002-06-13 Thread Stephan Szabo
On Thu, 13 Jun 2002, Tim Ellis wrote: > I just used Dezign for Databases and created a simple table in what it > claimed was "ANSI Level 2" compliance with a one-up "autonum" column. > > It spewed forth the following code: > > -- file generated by "dezign for databases" > -- create-date:6/1

[ADMIN] Triggers... Questions... Yes.

2002-06-13 Thread Tim Ellis
I just used Dezign for Databases and created a simple table in what it claimed was "ANSI Level 2" compliance with a one-up "autonum" column. It spewed forth the following code: -- file generated by "dezign for databases" -- create-date:6/13/2002