I am working on a sql querry where I want the appointment scheduled for two days from today to be pulled and exported to a file. I can use the Appt_date field. The format for this field is 20130830.
I need to use the getdate() + 2 statement so I don't have to keep entering the date in this above format.
I am also using SQL 2008. Is there a comand to automatically export the results of this querry to an xls file?
Any help would be appreciated.