Sql Server Create View Declare Variable Php