How to add a calculated column to Access via SQL

前端 未结 3 1108
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-19 21:43

How do i add a calculated column to an Access table in SQL?

I know i can add a column with SQL like this:

ALTER TABLE Clients ADD COLUMN AccountDate          


        
3条回答
  •  失恋的感觉
    2021-01-19 21:54

    What do you want it to calculate? Have you tried something like:

    ALTER TABLE Clients 
    ADD COLUMN AccountDate AS (Column1 * Column2);
    

提交回复
热议问题