Viewing 10 posts - 1 through 10 (of 10 total)
Yes, I think that is smart solution.
But I already altered all SPs and Views :-).
I'll do that, if I have same problem like this.
Thanks
February 3, 2011 at 5:59 pm
Thank you it works..
but the problem is..
I have a function (other function, not CalculateNumber) that have been used in many View and SP,
then I need to add a new...
November 4, 2008 at 10:16 pm
Thank you... it works..
but when I execute
:connect MyServer
use MyDB
sp_help customer
go
OR
:connect MyServer
use MyDB
sp_helptext spGetCustomer
go
notes:
customer is a table
spGetCustomer is an SP
I've error like this
Connecting to MyServer...
Msg 102, Level 15, State...
December 10, 2007 at 6:18 pm
Hi..
You can use sp_tracexxx
There's an article about this SPs
"Using SQL Trace to Audit Database Access"[/url]
Or
Auditing Store Procedure Execution
for eventID, EventName and Description : please see SQL Server Books Online, search...
December 2, 2007 at 11:54 pm
sorry ... should be
select top 10 s2.text ,s4.* --login_name,nt_user_name,nt_domain,program_name,host_name
FROM sys.dm_exec_query_stats AS s1
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS s2
JOIN sys.dm_exec_requests as s3 ON s1.sql_handle = s1.sql_handle
JOIN sys.dm_exec_sessions as s4...
November 29, 2007 at 11:34 pm
Hi... here is query to track who & when sp is executed
SELECT distinct so.name, s2.text
FROM sys.dm_exec_query_stats AS s1
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS s2
left join sys.objects so on s2.objectid =...
November 29, 2007 at 10:07 pm
Sorry...
I missed the 'trigger' word 🙂
I re-write my post :
Hello..
I have restore problem.
In my production server there's a DB that have DDL Trigger
This DDL insert to another DB on linkedserver.
I...
November 29, 2007 at 7:40 pm
My purpose is.. I want to create a table from the record returned by SP. The SP is containing dynamic SQL, so it execute different SQL depends on the parameter.
example:
exec SPExecSQL...
November 27, 2006 at 6:11 pm
Viewing 10 posts - 1 through 10 (of 10 total)