addalias

The add alias option is used to create an alias representing a database name.

Syntax

sp_webservices 'addalias' alias_name , database_name

Parameters

Usage

An alias provides greater control in specifying the portion of the URL representing the database name. Used with the userpath option of the create service command, an alias provides complete control over the URL used to access a user-defined Web service.