Aug 8, 2006 #1 bmc1234 Programmer Jul 21, 2005 50 US I have a UNION query grabbing information from two tables. Does anybody have any ideas on how to identify which rows came from which tables?
I have a UNION query grabbing information from two tables. Does anybody have any ideas on how to identify which rows came from which tables?
Aug 8, 2006 #2 Golom Programmer Sep 1, 2003 5,595 CA Code: Select 'tblA' As [TableName], tblA.* From tblA UNION ALL Select 'tblB', tblB.* From tblB Upvote 0 Downvote