Forum Replies Created

Viewing 15 posts - 10,171 through 10,185 (of 19,560 total)

  • RE: update value with lookup on every row

    I would use this update statement instead

    UPDATE ADDRESS

    SET ADDRESS_STATE_ID = s.STATE_ID

    FROM ADDRESS a

    INNER JOIN zipcode z

    ON a.ADDRESS_ZIPCODE_TXT = z.ZIP_CD

    INNER JOIN state_ref s

    ON s.STATE_ABBREV = z.STATE_CD

    WHERE ADDRESS_STATE_ID IS...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (5/5/2011)


    Craig Farrell (5/4/2011)


    I work for a living, dangit, they meet rarely and at a really bad time for me. I don't usually leave the...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Assistance with SQL

    DSR0308 (5/5/2011)


    thank you everyone for their help, GSquared solution did it for me.

    Good to know. Congrats on getting it working.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    Daniel Bowlin (5/5/2011)


    crookj (5/5/2011)


    Brandie Tarvin (5/5/2011)


    WOTD: Invariably

    WOTD - Habitually

    Joe

    monotonous

    polyotonous

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Login faield for user 'sa'

    Lowell (5/5/2011)


    change it again. if you typed in the password in a config file, it's in clear text in that file and a security risk of the highest order.

    create...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Login faield for user 'sa'

    That's good to hear. Glad you found and fixed it. I would recommend getting that application off of using the sa account.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    habitually

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Generate login account scripts for a specific database

    See if this article helps.

    http://sqlblog.com/blogs/eric_johnson/archive/2008/09/30/scripting-sql-server-logins.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Tally OH! An Improved SQL 8K “CSV Splitter” Function

    WayneS (5/4/2011)


    Jeff Moden (5/4/2011)


    Nicely done, Nadrek!

    Yes indeed, very nice!

    The cool part about all of this is if you run into a DBA that won't allow auxiliary tables such as...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Tally OH! An Improved SQL 8K “CSV Splitter” Function

    WayneS (5/4/2011)


    Jeff Moden (5/3/2011)


    What I find really strange is why do people wait until I write an article to bring these wonders forward? 😛

    To go along with this... where...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Replication DR

    I like it too. I also like that the R2 doc seems better written on this topic than the SQL 2008 doc

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Replication DR

    Excellent question.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: What or Yes

    Dan.Humphries (5/4/2011)


    I would take the opportunity to work "What" into every conversation, e-mail, and interaction I could. I would then put "What" posters all over my cubicle. That...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Version Control for SQL Server

    You can connect visual studio to mercurial / svn

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Assistance with SQL

    ColdCoffee (5/4/2011)


    Try this:

    DECLARE @Today DATETIME = DATEADD( DD , DATEDIFF(DD,0,GETDATE()),0),

    @ThisDayLastYR DATETIME

    SELECT @ThisDayLastYR = DATEADD( YEAR , -1,@Today)

    select @Today , @ThisDayLastYR

    SELECT

    DimGeography.GeographyKey,...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 10,171 through 10,185 (of 19,560 total)