Advertisement
Advertisement
| 11.25.2007 at 06:01PM PST, ID: 22981598 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: |
spTestRPT1.sql
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spTestRPT1]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spTestRPT1]
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
CREATE Procedure spTestRPT1
(
@p_LoginContactId_IN integer,
@p_DateFrom_IN datetime,
@p_DateTo_IN datetime,
@p_StateID_IN integer,
@p_NetworkID_IN integer
)
AS
SET @p_DateTo_IN = DATEADD(hh,23,@p_DateTo_IN)
SET @p_DateTo_IN = DATEADD(mi,59,@p_DateTo_IN)
SET @p_DateTo_IN = DATEADD(ss,59,@p_DateTo_IN)
---> Continues
spTestRPT2.sql
USE TEST
Go
-----
IF EXISTS (SELECT '*'
FROM sysobjects
WHERE ID = object_id('[dbo].[spTestRPT2]')
and OBJECTPROPERTY(ID, 'IsProcedure') = 1)
DROP PROCEDURE [dbo].[spTestRPT2]
GO
CREATE PROCEDURE spTestRPT2
(
@p_LoginContactId_IN integer,
@p_StatusID_IN as smallint, ---4
@p_DateFrom_IN as datetime, ---8
@p_DateTo_IN as datetime ---9
)
AS
SET @p_DateTo_IN = DATEADD("hh",23,@p_DateTo_IN)
SET @p_DateTo_IN = DATEADD("mi",59,@p_DateTo_IN)
SET @p_DateTo_IN = DATEADD("ss",59,@p_DateTo_IN)
---> continues
|