Modify the datatype in SQL

Question:

Modify the datatype

Write a query to change the type of field Ac_Available in the buses table to varchar(5)

Code:

ddl4.sql

alter table buses MODIFY Ac_Available varchar(5);

Recommended:

1 thought on “Modify the datatype in SQL”

  1. Hi there! I just would like to give you a big thumbs up for the excellent
    information you have right here on this post. I’ll be returning to your blog for
    more soon.

Leave a Comment

Your email address will not be published. Required fields are marked *