Viewing 15 posts - 181 through 195 (of 771 total)
Thank you for the reply. How can we see if we have the same situation on our linked server drivers? Is there any special command to do this?
May 6, 2016 at 8:20 am
I have a proc running every day that reorg/rebuild indexes. If reorg then also updates the stats
April 27, 2016 at 11:36 pm
I have a proc running every day that reorg/rebuild indexes. If reorg then also updates the stats
April 27, 2016 at 11:34 pm
This impersonate needs to be grated where ? On AD side or sql?
March 31, 2016 at 3:05 am
Hello. Many thanks for that complete answer.
In this case I am searching performance
March 5, 2016 at 1:21 pm
Hello,
Thank you for the replies.
I would like to get the time that each job took per day to execute. This cam be done on a month analysis.
Suppose I...
February 4, 2016 at 1:36 pm
SQL Server 2005 does not recognise that command.
January 19, 2016 at 12:54 pm
It is not returning everything.
For example:
select distinct(referenced_object_name)
from
(
SELECT OBJECT_NAME(referenced_major_id) AS referenced_object_name
,COALESCE(COL_NAME(referenced_major_id, referenced_minor_id), '(n/a)') AS referenced_column_name
,*
FROM sys.sql_dependencies
WHERE object_id = OBJECT_ID('bmb_ms.usp_BMBBI_ft_cup_and_ingredient_consumption_worktable_insert')
--ORDER BY referenced_object_name, referenced_column_name
)r
Returns...
January 19, 2016 at 12:29 pm
But if I do like this:
sp_helptext '[bmb_ms].[usp_BMBBI_ft_estimated_sale_control_insertupdate]'
I can see the text inside the procedure
January 19, 2016 at 11:48 am
This way:
USE arf_etl
GO
SELECT OBJECT_NAME(object_id) AS referencing_object_name
,COALESCE(COL_NAME(object_id, column_id), '(n/a)') AS referencing_column_name
,*
FROM sys.sql_dependencies
WHERE referenced_major_id = OBJECT_ID('[bmb_ms].[usp_BMBBI_ft_estimated_sale_control_insertupdate]')
ORDER BY OBJECT_NAME(object_id), COL_NAME(object_id, column_id);
GO
January 19, 2016 at 11:47 am
USE arf_etl
GO
SELECT OBJECT_NAME(object_id) AS referencing_object_name
,COALESCE(COL_NAME(object_id, column_id), '(n/a)') AS referencing_column_name
,*
FROM sys.sql_dependencies
WHERE referenced_major_id = OBJECT_ID('dbo.bmb_ms.usp_BMBBI_ft_ingredient_consumption_direct_insert')
ORDER BY OBJECT_NAME(object_id), COL_NAME(object_id, column_id);
GO
January 19, 2016 at 11:46 am
Viewing 15 posts - 181 through 195 (of 771 total)