🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #890

Insert / Update to Array Field

#890
From: Imam Chalimi
Date: Thu, 21 Jun 2007 06:26
17 lines
1292 bytes
I create table as following :

create table test_array
(
  id integer not null,
 data varchar(25) [1:3]
);

select id,data[1],data[2] from test_array => ok

but

insert into test_array(id,data[1]) values (1,'test') => error

how to insert or update to array field using sql command ? (not using App)

Thanks
Technical Details
Message-ID: <467a1a9c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,27db24532422845f,start
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Imam Chalimi" <prodata_mlg@telkom.net>
From: "Imam Chalimi" <prodata_mlg@telkom.net>
Newsgroups: borland.public.interbase.sql
Subject: Insert / Update to Array Field
Date: Thu, 21 Jun 2007 13:26:48 +0700
Lines: 19
Organization: Prodata Software Corp
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4947.1900
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4952.2800
NNTP-Posting-Host: 61.94.218.216
Message-ID: <467a1a9c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182407324 61.94.218.216 (20 Jun 2007 23:28:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail