alter database <dbname> on <devicename> = <size>
<size> is a quoted value of a number and a unit specifies, so might be (including quotes) "100M" for 100 megabytes or "2G" for two gigabytes, etc.
alter database <dbname> on <devicename> = <size>
<size> is a quoted value of a number and a unit specifies, so might be (including quotes) "100M" for 100 megabytes or "2G" for two gigabytes, etc.