Hi, I'd like to insert a single integer value from tables on multiple databases into a single table row that includes the date. Any ideas on how to structure this query? (Each value represent a distinct count of user names that have used an application for a given day. The log tables are located on multiple databases).
Right now I have an INSERT INTO statement that inserts the date and a count from a single source into a row, but I'm having trouble understanding how to insert the values from all sources into a single row with one query? UNION? Not sure...
Any advice would be greatly appreciated.
View Complete Post