I'm looking to set up a Entity-Attribute-Value table model, where I want the table to handle various data. I'd like to use nvarchar(max), but I'm worried that it may affect database performance (even though most data will be under 50 chars).
I have the query:
Select
Location, date, total_cases, total_deaths,
(total_deaths / total_cases) * 100 as DeathPercentage
From
PortfolioProject.dbo.CovidDeaths$
Order By
1, 2
But when I run it I get this error:
Msg 8117,…