Skip to content

Syntax error on comma #1383

Open
Open
@Komala1991

Description

@Komala1991

Hi,

I am trying to change datatype for two columns at a time, but receiving error stating - Incorrect syntax near ','. Syntax is given below.

Alter Table Trail14
Alter Column ID Int,
Alter column Weight Decimal;

Please let me know can Datatype, or alter column or constraint can be changed for multiple columns at a time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions