How to fix parse error which I get like this?

KEERTHANA JAYADEVAN 66 Reputation points
2023-02-24T07:19:15.8333333+00:00
I am getting error like 
ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Parse error at line: 14, column: 33: Incorrect syntax near 'ID'.

My schema is
create TABLE [dbo].[op]

(

	[P ID] [int] NULL,
	[col1] [varchar](700) NULL,
	[ID] [bigint] NULL,
	[Col2] [varchar](700) NULL,
	[Col3] [int] NULL,
	[col4] [varchar](700) NULL,
	[Col5] [varchar](700) NULL,
	[Col6] [varchar](700) NULL,
	[Col7] [varchar](700) NULL,
	[Col8] [varchar](700) NULL,
	[event_timestamp] [datetime2](7) NULL

)

WITH

(

	DISTRIBUTION = ROUND_ROBIN,
	CLUSTERED INDEX

	(

		[P ID] ASC

	)

)

GO

But i dont see any issues here.
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.
4,420 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247-1375 11,301 Reputation points
    2023-02-26T11:32:25.2366667+00:00

    Hi

    Thanks for reaching out to Microsoft Q&A.

    Error says its a syntax error.

    Change [P ID] as [P_ID] and try executing the query. Let me know if this worked.

    Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.

    0 comments No comments