05-11-2020 04:16 AM
After reading many threads and Cisco documents. i succesfully connected to the UCCX databases and able to run the predefiined stored procedures and select queries from the table.
but how do i see the query behind the Cisco UCCX stored procedure for example sp_ccdr. i tried AGS Tools >> Stored Procedure Debugger
but when i run, i get error as
Details used
UCCX : 12.0
user id used : uccxhruser
Press YEs and then above error.
Am i doing it wrong ?
Regards,
Solved! Go to Solution.
05-11-2020 04:43 AM
From the CLI run this command to list the stored procedures.
run uccx sql db_cra select sysprocedures.procname,sysprocedures.procid from sysprocedures
To list the stored procedure you need the procid from above
run uccx sql db_cra select data from sysprocbody where procid = 843 and datakey = 'T'
I have only listed the SP from the CLI using putty and captured the output
Graham
05-11-2020 04:43 AM
From the CLI run this command to list the stored procedures.
run uccx sql db_cra select sysprocedures.procname,sysprocedures.procid from sysprocedures
To list the stored procedure you need the procid from above
run uccx sql db_cra select data from sysprocbody where procid = 843 and datakey = 'T'
I have only listed the SP from the CLI using putty and captured the output
Graham
05-11-2020 04:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide