🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Learning Interbase "style"

#10994
From: Bill Todd
Date: Sat, 21 Dec 2002 14:38
39 lines
2431 bytes
What is it about SQL syntax that you cannot find in the InterBase
manuals?

In IB if an index is unique then you cannot insert a row with the same
value as an existing row. For rows that exist you must use an UPDATE.

On Sat, 21 Dec 2002 01:39:55 -0600, "Bradley J. Bell"
<bradleyjbell@attb3i.c1o2m> wrote:

>I currently use Sybase at work and I am use to its SQL syntax. I've recently
>decided to do some "brushing up" with Delphi and have decided to try
>Interbase as the database.
>
>I'm having one heck of a time trying to learn Interabase's SQL syntax,
>Interbase's "way" of doing things. I have been unable to find one Interbase
>programming book. What little I've learned is from searching Deja.com, but
>it takes a long time just to learn how to do simple things.
>
>Can anyone point me to a good book or website that teaches Interbase
>"style"?
>
>TIA
>
>Bradley
>
>p.s. Just as a second question; in Sybase I can insert new records into a
>database with a unique key and not worry about duplicates by including "with
>ignore dups" when defining the index. Does Interbase have a similar option.
>Right now what I've been doing is to take all the possible new entries from
>my source table and deleting any entries that already exisit in the
>destination table. There has to be a better way (I hope).
>
>Again, TIA
>


--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Technical Details
Message-ID: <82v80v8k2rn4e05smr4pgqi56bi4lu37so@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e041ac9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,8dcbdc28ad264e66
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-21 06:40:05 PST
From: Bill Todd <bill@notthis.dbginc.com>
Newsgroups: borland.public.interbase.sql
Subject: Re: Learning Interbase "style"
Date: Sat, 21 Dec 2002 07:38:33 -0700
Message-ID: <82v80v8k2rn4e05smr4pgqi56bi4lu37so@4ax.com>
References: <3e041ac9$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 216.207.211.126
X-Trace: newsgroups.borland.com 1040481511 216.207.211.126 (21 Dec 2002 06:38:31 -0800)
Lines: 39
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail