I am exporting data from an existing sql server 2012 table by using the ssms option database right click -> Tasks -> generate scripts. This works fine except for date columns.
Example output:
INSERT INTO Employees VALUES (1, 'Frank', ,CAST(0x16190B00 AS Date));
I Don' find a way to export date columns to a format like 2.10.2012. I can think about adding a string column and cast the date column values as a string, but this is just a work around.
Can someone help me out here?