Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table alias 1

Status
Not open for further replies.
May 20, 2011
1
US
I know how to alias a field name in a select. Is there any way to alias a table ? (needed for my Access and SQL tables)
 
SELECT * FROM TableName tn WHERE ....

or

SELECT * FROM TableName AS tn WHERE ....

--------------------------------------------------
“Crash programs fail because they are based on the theory that, with nine women pregnant, you can get a baby a month.” --Wernher von Braun
--------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top