I have a script like below that when I run, the result output separates the two Select statements into 2 result sets. How do I run so that the output of the second Select statement is appended onto the bottom of the first? I've checked this post and this post but they're for Oracle and don't seem to work for me with Sybase-ASE.
SELECT " ", BizDate, " ", getdate(), "North America"
FROM #BizDateTemp
Select *
From SalesTable
Where BizDate = getdate()
Desired result:
-----------------------------------------------------
| | 12/13/2016| | 12/13/2016 | North America |
-----------------------------------------------------
-----------------------------------------------------
| Sale Item | QTY | PRICE | BizDate |
-----------------------------------------------------
| plankton | 1,000 | $60,000 | 12/13/2016 |
What happens now:
-----------------------------------------------------
| | 12/13/2016| | 12/13/2016 | North America |
-----------------------------------------------------
separated from :
-----------------------------------------------------
| Sale Item | QTY | PRICE | BizDate |
-----------------------------------------------------
| plankton | 1,000 | $60,000 | 12/13/2016 |