Identifiers are symbolic names for objects—databases, tables, replication definitions, publications, subscriptions, functions, parameters, function string variables, and so on.
Functions – as part of function replication definition or internal functions
The create function, alter function, and drop function commands do not support long identifiers. The name of the function and the parameters of these commands cannot exceed 30 bytes.
Replication definitions – including table replication definitions, function replication definitions, and database replication definitions
If an identifier is not enclosed in quotes, its first character must be an ASCII letter. Subsequent characters can be ASCII letters, digits, or the $ or _ character. Embedded spaces are not allowed.
Identifiers that begin with the characters “rs_” are reserved for Replication Server. See “Reserved Words” for a list of other reserved words.
Replication Server function parameter names can be up to 256 bytes including the @ character.
Adaptive Server stored procedure parameter names can be up to 255 bytes including the @ character.
check subscription "publishers_sub" for "publishers_rep" with replicate at "SYDNEY_DS"."pubs2"
Adaptive Server allows you to place identifiers within quotes when you set quoted_identifier to on. This lets you use reserved words for Adaptive Server object names. However, Replication Server does not recognize identifiers in quotes in the commands that it sends to Adaptive Server, so you cannot use Transact-SQL keywords as names for replicated Adaptive Server objects. If necessary, you can alter function strings to place quotes around identifiers for replicated objects.