I am new sql server and I need a little help.
How Do you assign a variable to Create Database statement

ex.
declare @DbName varchar(20)

select @DbName = 'NewDatabase'

Create Database @DbName (This wouldn't work) why?

Thanks!