To create database Alfresco in my SQL Server… i try to use the script that comes with alfresco…. /extras/databases/db_setup.sql
create database alfresco; grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option; grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;
Yes, that sql is specifically for MySQL, so it's won't work with SQL Server.
By far the easiest option is to use either of Microsoft's tools: Enterprise Manager or Query Analyser, that came with your SQL Server installation. If they're not installed by default, check your installation CD/DVD - they may be under "client tools".