Incorrect syntax near the keyword 'as'. Incorrect syntax near 'scripturl'.