Date format in Synapse Analytics Issue

Rohit Kulkarni 731 Reputation points
2022-09-01T14:10:43.533+00:00

Hello Team,

I have created a external table in synapse spool and run the script and found the date column is not appearing in date format ;

TABLE DDL:
CREATE EXTERNAL TABLE [Salesforce].[Location] (
[Id] nvarchar(4000),
[OwnerId] nvarchar(4000),
[IsDeleted] bit,
[Name] nvarchar(4000),
[CurrencyIsoCode] nvarchar(4000),
[CreatedDate] bigint,
[CreatedById] nvarchar(4000),
[LastModifiedDate] bigint,
[LastModifiedById] nvarchar(4000),
[SystemModstamp] bigint,
[LocationType] nvarchar(4000),
[Description] nvarchar(4000),
);

The output for the table :

236996-image.png

The date column [LastModifiedDate] as to appear in 'DD-MM-YYYY' format. please advise how it can be done in synapse analytics

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,377 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.