您的位置:首页 > 其它

retrieve the stored procedure or script execte time and cost source

2009-01-22 16:19 661 查看
USE [Brunei-eCustomsDEV]
GO

dbcc freeproccache
go--clear the cache in sql server
set statistics profile on
set statistics time on
set statistics io on

go
DECLARE @return_value int,
@p_total_count int

EXEC @return_value = [dbo].[P_BC_LIS_LIQUOR_INFOR_S]
@p_liq_import_ref_no = NULL,
@p_passenger_name = 'xiong1',
@p_passenger_dob = NULL,
@p_passport_no = NULL,
@p_location = NULL,
@p_date_arri_from = NULL,
@p_date_arri_to = NULL,
@p_start_row_index = NULL,
@p_maximum_rows = NULL,
@p_total_count = @p_total_count OUTPUT,
@p_sort_expression = NULL

SELECT @p_total_count as N'@p_total_count'

SELECT 'Return Value' = @return_value

GO
set statistics profile off
set statistics time off
set statistics io off
go
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐