Quantcast
Channel: Questions in topic: "sql-server-2005"
Viewing all articles
Browse latest Browse all 415

how to get the value used in SP or Views or Functions or SQL Jobs?

$
0
0
Hi, Another Challenge/New things to learn i have scenario like **I want to list the stored procedures,view,Function ,SQL jobs if used the IP address inside the stored procedure/views/Function/ SQL jobs**. Is it possible to get? I have one sample below for understanding the concept sample function: CREATE FUNCTION [dbo].[GetclientIP] () RETURNS varchar(255) AS BEGIN DECLARE @IP_Address varchar(255); SELECT @IP_Address = client_ip_address FROM clientaddress---sample table WHERE Session_id = 192.168.1.78 Return @IP_Address; END The above Function used the ip address '192.168.1.78'. so I want to list out **if Any of IP Address SP/Views/function/sql jobs used means I want to list out**

Viewing all articles
Browse latest Browse all 415

Latest Images

Trending Articles



Latest Images