Oct 16, 2009 #1 Sleidia Technical User May 4, 2001 1,284 FR Hello, Is it possible to avoid listing all the columns when you use UNION? I'm looking for a way to use ' * ' ... something that would look like this : Code: SELECT * FROM my_table UNION SELECT '' as * FROM my_table Thanks!
Hello, Is it possible to avoid listing all the columns when you use UNION? I'm looking for a way to use ' * ' ... something that would look like this : Code: SELECT * FROM my_table UNION SELECT '' as * FROM my_table Thanks!
Oct 16, 2009 #2 r937 Technical User Jun 30, 2002 8,847 CA could you explain why you are trying to do that? obviously what you wrote won't work you seem to want to return all columns of all rows and then something else? what's the something else for? r937.com | rudy.ca Buy my new book Simply SQL from Amazon Upvote 0 Downvote
could you explain why you are trying to do that? obviously what you wrote won't work you seem to want to return all columns of all rows and then something else? what's the something else for? r937.com | rudy.ca Buy my new book Simply SQL from Amazon