Forum Replies Created

Viewing 15 posts - 5,326 through 5,340 (of 8,761 total)

  • RE: Today's Random Word!

    DonlSimpson (5/11/2015)


    Ed Wagner (5/11/2015)


    Revenant (5/11/2015)


    Eirikur Eiriksson (5/11/2015)


    SQLRNNR (5/11/2015)


    Ed Wagner (5/11/2015)


    Eirikur Eiriksson (5/11/2015)


    crookj (5/11/2015)


    Ed Wagner (5/11/2015)


    SQLRNNR (5/11/2015)


    rose

    Name

    Alias

    Ambiguity

    Dangerous

    sore

    Breakable

    Breakaway

    Session

    Court

    establishment

  • RE: Run block in stored procedure only during specific timeframe

    skilly2 (5/11/2015)


    I have a stored procedure that runs every 5 minutes. I have one block in the procedure that will only run if there are records in a temp...

  • RE: Index on calculated field with UDF?

    Lynn Pettis (5/11/2015)


    Raymond van Laake (5/11/2015)


    Hmm, yes was considering using a trigger... thanks for all your inputs

    When you use the GUI to make some changes to a table, SSMS will...

  • RE: where is sql server TVF return type stored in system tables

    Bill Talada (5/11/2015)


    Regular functions store the return value as parameter zero in sys.parameters but I can't find the TVF table definition for the following sample function. Is the function's...

  • RE: Calculate age - Most easiest way

    Iwas Bornready (5/11/2015)


    Wow, who knew age would generate so many responses.

    It is a sensitive subject:-D

    😎

  • RE: Index on calculated field with UDF?

    Raymond van Laake (5/11/2015)


    Sounds like it should work, however when I change my formula to:

    RTRIM(([dbo].[fx_formatTelnr]([project],[user_tel])))

    I still get the error.

    What strikes me is the following:I am trying to persist the field...

  • RE: Today's Random Word!

    SQLRNNR (5/11/2015)


    Ed Wagner (5/11/2015)


    Eirikur Eiriksson (5/11/2015)


    crookj (5/11/2015)


    Ed Wagner (5/11/2015)


    SQLRNNR (5/11/2015)


    rose

    Name

    Alias

    Ambiguity

    Dangerous

    sore

    Breakable

  • RE: Index on calculated field with UDF?

    Further on Jeff's post, simpler logic can be wrapped in SQL deterministic functions.

    😎

    This function is not deterministic although it is only a simple subtraction of two columns

    CREATE FUNCTION dbo.SVF_SUBTRACT_TAX_FROM_TOTAL

    (

    ...

  • RE: Today's Random Word!

    crookj (5/11/2015)


    Ed Wagner (5/11/2015)


    SQLRNNR (5/11/2015)


    rose

    Name

    Alias

    Ambiguity

  • RE: Space needed for clustered index rebuild

    Jeff Moden (5/10/2015)


    Have you actually ever done a measurement on this subject? I could be wrong in some instances but it would appear the space savings are not true when...

  • RE: Space needed for clustered index rebuild

    GilaMonster (5/10/2015)


    That said, I'm not sure why one would CREATE ... WITH DROP_EXISTING a clustered index without intending to change keys, sort order or the like.

    Most common use I see...

  • RE: Space needed for clustered index rebuild

    GilaMonster (5/10/2015)


    Eirikur Eiriksson (5/10/2015)


    Ken Davis (5/9/2015)


    I have a large table in a large database. The DB = 1.2TB and the big table is 70% of the DB or 840GB....

  • RE: SELECT on column name from query's result set in same query?

    zogher (5/9/2015)


    mister.magoo (5/9/2015)

    If the real situation is more complex, then please let us know.

    Hi,

    Thanks for the reply.

    Couple of things to note (yes, my example is rather simplified), I will try...

  • RE: Merge Replication problems

    rkrpat (5/10/2015)


    Hi,

    We are working in a Merge replication environment where we have SQL Server 2005, 11 publications and 2 subscribers.

    We used to get lot of incidents from the Application...

  • RE: Stored Procedure -Question-

    Quick suggestion, use OUTPUT parameter for the procedure

    😎

    /* Procedure #1 */

    CREATE PROCEDURE [dbo].[GetUserIDbyUserName]

    @UserName nvarchar(100)

    ,@UserID uniqueidentifier = NULL OUTPUT

    AS

    SELECT

    @user-id...

Viewing 15 posts - 5,326 through 5,340 (of 8,761 total)