🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #82701

FireDAC, TField.Origin

#82701
From: Trawnik
Date: Thu, 04 Aug 2016 10:45
15 lines
1521 bytes
Cześć,
Delphi 10.1 Berlin
FDQuery, takie samo zapytanie do wszystkich baz:
select nazwisko_osoby as "Nazwisko osoby" from osoby;

Dla utworzonego obiektu takiej kolumny property TField.Origin przyjmuje 
różne wartości w zależności od silnika bazy:
dla Firebird 2.5.5 TField.Origin = nazwisko_osoby  <-- OK
dla Oracle 11.2.0.4 TField.Origin = "Nazwisko osoby"  <-- ŹLE
dla MS SQL 2005 TField.Origin = [Nazwisko osoby]  <-- ŹLE

Zgodnie z dokumentacją "TField.Origin indicates the name of the field in its 
original database table".
Jakieś sugestie? Wszystkie mile widziane.
Pozdrawiam, 
Technical Details
Message-ID: <57a31d68$0$639$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
From: "Trawnik" <ab@ok.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: FireDAC, TField.Origin
Date: Thu, 4 Aug 2016 12:45:39 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Lines: 16
Message-ID: <57a31d68$0$639$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: firewall-exatel.famet.com.pl
X-Trace: 1470307688 unt-rea-b-01.news.neostrada.pl 639 88.220.37.110:2740
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit