I am on SQL Server 2008 R2 Management Studio and I was trying to export a table to SQL file as INSERT INTO... but in that table I have also a smalldatetime field which is gonna exported as CAST(0x9E7501E0 AS SmallDateTime) for example... is there a way to export that smalldatetime to .sql where smalldatetime would be represented as '2014-02-05 11:10:34' ?
thanks in advance to everyone!! Cheers, Luigi