Oct 2, 2003 #1 SIDSHU Programmer Joined Nov 7, 2002 Messages 9 Location US How can give an alias name to a column. like select FirstName AS F_Name from table1 in db2 sql query. I tried select FirstName AS F_Name from table1 , did not work Thanks.
How can give an alias name to a column. like select FirstName AS F_Name from table1 in db2 sql query. I tried select FirstName AS F_Name from table1 , did not work Thanks.
Oct 3, 2003 #2 PruSQLer Technical User Joined Nov 6, 2001 Messages 221 Location US When you say "did not work", exactly what was the result? Did you get an error message or did the alias just not look like you wanted? Upvote 0 Downvote
When you say "did not work", exactly what was the result? Did you get an error message or did the alias just not look like you wanted?
Oct 3, 2003 #3 vtj MIS Joined May 24, 2001 Messages 31 Location US Is it possible the "_" is a reserved character on your system? If so you may have to enclose the name in qoutes. VTJ Upvote 0 Downvote
Is it possible the "_" is a reserved character on your system? If so you may have to enclose the name in qoutes. VTJ