Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Field Alias Alt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3445 of 3596
Post > Topic >>

Field Alias Alternative

by Bart.Degryse@[EMAIL PROTECTED] ("Bart Degryse") Apr 29, 2008 at 09:20 AM

--=__PartA980FA53.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Is there another way to quote a field alias (containing spaces) than with
=
double quotes?
=20
This works:
SELECT actions.addresstypes.addresstype AS "Address Type" FROM
actions.addr=
esstypes
=20
I would like something like this
SELECT actions.addresstypes.addresstype AS [Address Type] FROM
actions.addr=
esstypes
=20
Is that possible?
Thanks for any ideas.

--=__PartA980FA53.0__=
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Is there another way to quote&nbsp;a field alias (containing spaces)
=
than with double quotes?</DIV>
<DIV>&nbsp;</DIV>
<DIV>This works:</DIV>
<DIV>SELECT actions.addresstypes.addresstype AS "Address Type" FROM =
actions.addresstypes</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would like something like this</DIV>
<DIV>
<DIV>SELECT actions.addresstypes.addresstype AS [Address Type] FROM =
actions.addresstypes</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is that possible?</DIV>
<DIV>Thanks for any ideas.</DIV></DIV></BODY></HTML>

--=__PartA980FA53.0__=--
 




 1 Posts in Topic:
Field Alias Alternative
Bart.Degryse@[EMAIL PROTE  2008-04-29 09:20:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:28:05 CDT 2008.