I have inserted 5000 records using datatype varchar but now,
I want to Change Datatype varchar to Date?
can I change this datatype?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Feb 26, 2021, 6:30 PM
ALTER TABLE dbo.tablename ADD newcol DATETIME;Amira BedhiafiPosted Feb 26, 2021, 10:18 AM
Ajay GohilPosted Feb 26, 2021, 4:18 AM
Jignesh KumarPosted Mar 5, 2020, 4:13 AM
Jaimin ShethiyaPosted Mar 5, 2020, 2:40 AM
Yes you have to change that
first you have to convert varchar value to datetime value and update that is same property and after converted all the data then you have to update that column datatype to datetime.
Thanks
YaminiKumar BoyapatiPosted Mar 3, 2020, 10:30 PM
Bhawna TutejaPosted Feb 11, 2020, 10:39 PM
Amit GuptaPosted Jan 30, 2020, 10:59 AM
Piyush PansuriyaPosted Jan 30, 2020, 10:19 AM