Oct 2, 2003 #1 SIDSHU Programmer Nov 7, 2002 9 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 Nov 6, 2001 221 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 May 24, 2001 31 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