I guess you have the free Express Edition of SQL Server, here the max database size is limited to 10 GB.
so how should I buy a standard sql license?
Contact a Microsoft sales partner or purchase Online in a shop like
https://www.microsoft.com/en-us/d/sql-server-standard-2022/dg7gmgf0m80j?activetab=pivot:overviewtab