Configuration Mode Commands : SteelHead Configuration Commands : MS-SQL Blade Support Commands : protocol ms-sql rpc-arg-act rule-id arg-offset expr
  
protocol ms-sql rpc-arg-act rule-id arg-offset expr
Specifies an RPC argument used to determine if the RPC request matches a rule.
Syntax
[no] protocol ms-sql rpc-arg-act rule-id <rule-id> arg-offset <arg-offset> expr <expr>
Parameters
<rule-id>
Rule identification number that uniquely identifies the rule.
<arg-offset>
RPC argument parameter.
expr <expr>
Regular expression for the RPC value.
Usage
The no command option disables the RPC argument.
Example
amnesiac (config) # protocol ms-sql rpc-arg-act rule-id 2 arg-offset 1 arg-offset 0 expr "replace select PROJ_READ_COUNT, PROJ_LOCKED, PROJ_READ_WRITE,PROJ_READ_ONLY, PROJ_ID, PROJ_MACHINE_ID, PROJ_DATA_SOURCE from MSP_PROJECTS where PROJ_NAME = '$1' "
amnesiac (config) # service restart
Product
SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
show protocol ms-sql