Answers for "how to update column datatime in sql"

SQL
0

how to update date value in sql

UPDATE TABLE
   SET EndDate = CAST('2009-05-25' AS DATETIME)
 WHERE Id = 1
Posted by: Guest on March-09-2020
0

updating column values

mapping_dict = {
    'Android': 'Android',
    'Chrome OS': 'Chrome OS',
    'Linux': 'Linux',
    'Mac OS': 'macOS',
    'No OS': 'No OS',
    'Windows': 'Windows',
    'macOS': 'macOS'
}

df['col'] = df['col'].map(mapping_dict)
print(my_series)
Posted by: Guest on July-29-2021

Code answers related to "how to update column datatime in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language