|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Field Aliases
I don't know if that is the correct term or not but here is what I want to do:
I have a table in a sql server db that has generic field names (form1, form2, etc). I want the users to be able to define specific names for each field unique to them. Then when the 'table' is displayed to them(via a web page and asp/ado), I want them to see 'their' names for each field rather than the generic ones. Any ideas? Thanks!! |
|
#2
|
||||
|
||||
|
You're better off dynamically changing the table headers than the actual field name, but if you wanted to alias field names, here's how:
SELECT myField AS myAlias, myField2 AS myAlias2, etc... -Dave |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Field Aliases |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|