Forum Replies Created

Viewing 15 posts - 5,356 through 5,370 (of 8,753 total)

  • RE: NEED IMMEDIATE HELP with Scripting

    Quick thought, open all scripts in SSMS and do Find and Replace in All open documents

    😎

  • RE: Today's Random Word!

    Ed Wagner (5/7/2015)


    Revenant (5/6/2015)


    whereisSQL? (5/6/2015)


    DonlSimpson (5/6/2015)


    Ed Wagner (5/6/2015)


    Eirikur Eiriksson (5/5/2015)


    Ed Wagner (5/5/2015)


    DonlSimpson (5/5/2015)


    SQLRNNR (5/5/2015)


    Revenant (5/5/2015)


    Ed Wagner (5/5/2015)


    TomThomson (5/5/2015)


    SQLRNNR (5/5/2015)


    skaar

    hulk

    Hogan

    Champ

    CHUMP

    Chimp

    Zoo

    Smell

    Code

    Bug

    Fix

    Coordinates

    Schedules

    Overruns

  • RE: script help

    No worries, enjoy!

    😎

  • RE: script help

    charipg (5/6/2015)


    it returns 21 rows.

    Try copy the single row from the second query and paste it to a text editor, the full statement should be there.

    😎

  • RE: Determine manufactoring date

    Since you don't need historical quantities, you can just summarize the current status

    😎

    SELECT

    WM.ItemID

    ,SUM(WM.Quantity) AS CURRENT_QTY

    FROM @WhareHouseMovement WM

    GROUP BY WM.ItemID;

  • RE: script help

    charipg (5/5/2015)


    i tried with both scripts, both scripts returns only one grant statement, but it should return more grant statements.

    What does this query return?

    😎

    SELECT 'grant execute on ' +

    ...

  • RE: Master/Driver Package and Expression to Set Variable - Be Careful

    Came across this few years back, caused some strange behaviour and took some effort to find the cause. Workaround was to call T-SQL GETDATE() once at the start of the...

  • RE: Today's Random Word!

    Ed Wagner (5/5/2015)


    DonlSimpson (5/5/2015)


    SQLRNNR (5/5/2015)


    Revenant (5/5/2015)


    Ed Wagner (5/5/2015)


    TomThomson (5/5/2015)


    SQLRNNR (5/5/2015)


    skaar

    hulk

    Hogan

    Champ

    CHUMP

    Chimp

    Zoo

    Smell

  • RE: Get rows and sum in joined table

    petervdkerk (5/5/2015)


    Any idea already? 🙂

    Still cannot run the DDL and sample insert as the insert for the dbo.giftregistry is missing;-)

    😎

  • RE: help with exact match

    Quick thought, no need for a dynamic sql statement here.

    😎

    The query you are constructing looks like this

    SELECT

    N_image_number

    ,N_image_name

    ,N_image_desc

    ...

  • RE: SSIS Fails with buffer errors when run from a Job - SQL 2008 R2

    dmayley (5/4/2015)


    Eirikur Eiriksson (5/3/2015)


    Quick questions, is the server running SQL Server? Is AWE enabled on the server? What are the memory (min/max) config of the SQL Server? What is the...

  • RE: Decrypting encrypted fields from another database

    Quick question, why not create the symmetric key in the destination database?

    😎

  • RE: Trigger function help

    Lowell (5/5/2015)


    that code will update all rows, instead of just what was just inserted.

    Good point Lowell, without the restrictions this is a proper time bomb, down the line it will...

  • RE: Integers in Time field

    Quick question, could it be seconds after midnight UTC?

    😎

    To convert to a time value, use DATEADD(SECOND....

    DECLARE @TTIME TIME = CONVERT(TIME,'00:00:00');

    DECLARE @SECONDS_AFTER_MIDNIGHT FLOAT = 75644;

    SELECT DATEADD(SECOND,@SECONDS_AFTER_MIDNIGHT,@TTIME);

  • RE: Deadlocking under repeatable reads

    Further on Grant's post, recommend you have a look at Kalen Delaney's book SQL Server Concurrency:

    Locking, Blocking and Row Versioning

    😎

Viewing 15 posts - 5,356 through 5,370 (of 8,753 total)