Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)

  • RE: Cross Apply

    Thank you to everyone who replied. I will definitely look into creating a calendar table and rewok the functions to be inline. I was building on some previously...

  • RE: Cross Apply

    GSquared,

    Here they are:)

    CREATE FUNCTION [Perf].[udf_GenerateTimeSeries](

    @periodStart SMALLDATETIME,

    @periodEnd SMALLDATETIME,

    @interval VARCHAR(2)

    )

    RETURNS @tbl TABLE

    (

    ID INT IDENTITY(1,1) PRIMARY KEY CLUSTERED,

    Begin_Date SMALLDATETIME,

    End_Date SMALLDATETIME

    )

    AS

    BEGIN

    DECLARE @start SMALLDATETIME,

    @end SMALLDATETIME

    IF @interval ='d'

    BEGIN

    INSERT INTO @tbl

    SELECT a.dte Begin_Date,...

  • RE: Cross Apply

    Thanks for the reply Grant,

    udf_GenerateTimeSeries is a multi-statement function, and udf_Portfolio_Indicators is an inline function that has nested function calls. There doesn't seem to be anything out of...

  • RE: Processes goes in hung state

    np 😎

  • RE: Moving to a new Server in a SAN Environment.

    Thank you, you've been very helpful.

    ~Jeff

  • RE: Moving to a new Server in a SAN Environment.

    Awesome! And you had no problems running 2 servers connected to the same data and log files? Did you restore and detach/attach the system db's? ...

  • RE: Processes goes in hung state

    If its possible in your situation, restart the server and everything should clear up. I've run into instances where restarting the SQL Server Service has cleared things up and...

  • RE: Moving to a new Server in a SAN Environment.

    Thanks!

    That all seems perfectly reasonable as well. I'm assuming that you didn't run into any significant problems?

    ~Jeff:D

  • RE: Processes goes in hung state

    Hi,

    Is the process showing up as in a KILLED/ROLLBACK state?

    First thing you want to do is check the status of the process you killed by running KILL {spid...

  • RE: Schedule SSIS Package as a Job

    Great! Thanks for your help.

  • RE: service pack???

    Alternatively, use EM.  Right click the server instance, select Properties.  Look at "Product version" on the General Tab.

    ~Jeff

  • RE: SP4

    Cool, Thanks for the help.

  • RE: SP4

    We are using Transactional Replication with push subscriptions, not updateable by the subscibers.

    Thanks!

Viewing 13 posts - 1 through 13 (of 13 total)