Field Captions

This is a discussion on Field Captions within the MySQL Database forums, part of the Database Forums category; Is it possible in MySQL to have a caption for a field, in the same manner that Access uses? For ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-15-2008
Someone
 
Posts: n/a
Default Field Captions

Is it possible in MySQL to have a caption for a field, in the same manner
that Access uses? For example, the field is named 'f_name', and when the
fieldname is referenced in code, would output as 'First Name'.

Thanks,
James


Reply With Quote
  #2 (permalink)  
Old 01-15-2008
Andreas
 
Posts: n/a
Default Re: Field Captions

Someone wrote:
> Is it possible in MySQL to have a caption for a field, in the same manner
> that Access uses? For example, the field is named 'f_name', and when the
> fieldname is referenced in code, would output as 'First Name'.


SELECT f_name AS `First Name` FROM ...
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0