Re: [SQL] date array

2006-04-24 Thread A. R. Van Hook
While down loading 8.1.3, I tried the following: update pf_inspectionsBld set insdate[0] = current_date update pf_inspectionsBld set insdate[1] = current_date update pf_inspectionsBld set insdate[2] = current_date update pf_inspectionsBld set insdate[3] = current_date update pf_inspectionsBld set

Re: [SQL] date array

2006-04-23 Thread Bruno Wolff III
Please keep responses copied to the list. This both helps other people with similar questions by getting the discussion in the archives and helps you by letting other people see your additional questions. On Sun, Apr 23, 2006 at 13:21:49 -0500, "A. R. Van Hook" <[EMAIL PROTECTED]> wrote: > I am

Re: [SQL] date array

2006-04-23 Thread Bruno Wolff III
On Sun, Apr 23, 2006 at 07:55:54 -0500, "A. R. Van Hook" <[EMAIL PROTECTED]> wrote: > How do you add null values to a date array? > > update dattable set insDate= '{04/12/2006,null}' <-- doesn't work That is the correct format. However, I think that only works in HEAD (what will become 8.2

[SQL] date array

2006-04-23 Thread A. R. Van Hook
How do you add null values to a date array? update dattable set insDate = '{04/12/2006,'null'}<-- doesn't work update dattable set insDate= '{04/12/2006,null}' <-- doesn't work update dattable set insDate= '{04/12/2006,''}' <-- doesn't work the table field is defined as insDate d