DatabaseProcApplicationCreatedLinks
sybsystemprocssp_jdbc_set_client_info  14 déc. 14Defects Propagation Dependencies

1     
2     /*
3     ** sp_jdbc_set_client_info
4     */
5     create or replace procedure sp_jdbc_set_client_info(
6         @prop_name varchar(15),
7         @value varchar(30))
8     as
9         if @prop_name = 'clientname'
10            set clientname @value
11        else if @prop_name = 'clienthostname'
12            set clienthostname @value
13        else
14            set clientapplname @value
15    


exec sp_procxmode 'sp_jdbc_set_client_info', 'AnyMode'
go

Grant Execute on sp_jdbc_set_client_info to public
go
DEFECTS
 MGTP 3 Grant to public sybsystemprocs..sp_jdbc_set_client_info  
 MUCO 3 Useless Code Useless Brackets in create proc 5
 MTR1 2 Metrics: Comments Ratio Comments: 5% 5
 MTR2 2 Metrics: Cyclomatic Complexity Cyclo: 4 = 3dec - 1exi + 2 5
 MTR3 2 Metrics: Query Complexity Complexity: 8 5

DEPENDENCIES