We are creating a query of the OINV table to be copied to a tab-delineated table. One of the columns will be the DocDate field and it needs to written in YYYYMMDD intsead of YYYY-MM-DD format. The dashes must be removed.
Tried concatenating ( + ) using DATEPARTs for Year, Month and Day but no records are returned.
What should the SELECT statement look like?
Example:
If the DocDate in OINV is 2013-08-20, the column should read 20130820.
Thank you,
Ron