Article View: pl.comp.lang.delphi.bazy-danych
Article #70182wartosc NULL poprzez ParamByName
From: Jacek
Date: Wed, 20 Jun 2007 10:52
Date: Wed, 20 Jun 2007 10:52
23 lines
1284 bytes
1284 bytes
Witam
Jak wprowadzić do bazy danych (w moim przypadki SQL Anywhere)
wartość NULL poprzez instrukcję: Query1.ParamByName('data'). ....
Bardziej szczegółowo:
Query1.SQL.Add('Insert into tabele (kod, data) values (:k, :d)');
.
.
.
Query1.ParamByName('kod').AsInteger := 1;
i teraz chcę aby poprzez parametr d wprowadzić wartość NULL czyli
chciałbym wpisać coś takiego:
Query1.ParamByName('kod'). .... := NULL
Pozdrawiam
Jacek
Technical Details
Message-ID:
<f5b12o$oga$1@atlantis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Jacek <sorry@nie.lubie.spamu> Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: wartosc NULL poprzez ParamByName Date: Wed, 20 Jun 2007 12:52:35 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 23 Message-ID: <f5b12o$oga$1@atlantis.news.tpi.pl> NNTP-Posting-Host: 80.54.123.217 Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1182336920 25098 80.54.123.217 (20 Jun 2007 10:55:20 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Wed, 20 Jun 2007 10:55:20 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit