I'm trying to create a table from an existing table. I want the new column to be a percentage column with data type "Number". The code below changes column data type to "Text". I tried to use Format(num,"Percent")
, it does the same.
SELECT
Format([DB].[Number1]/DB.[Number2],"0.00%") AS [New Column Name]
INTO newTable
FROM [OldTable] as DB;
Remove the "%", it forces the result to include it, which can only be stored in text type field.
to get a percentage multiply the value by 100