Page 1 of 1

Get the Fields Original Name // Alias

Posted: Wed 03 Jun 2009 23:15
by dschuch
Hy Devart,

is there is a way to get the fields original name?

SELECT
a AS b

-> i want to know in my code if the field is renamed and if possible i need the original name (in this example "a")

thanx.

Posted: Thu 04 Jun 2009 07:11
by Plash
You can use the following code:

Code: Select all

  PgQuery1.GetFieldDesc('Field1').ActualName;