Forum Replies Created

Viewing 15 posts - 4,516 through 4,530 (of 8,761 total)

  • RE: Painful datetime conversion

    Kristen-173977 (9/18/2015)


    The front runners were neck-and-neck in Luis's script?

    http://www.sqlservercentral.com/Forums/FindPost1720510.aspx

    I've found the method I use for timing more accurate than the time statistics

    😎

  • RE: Today's Random Word!

    SQLRNNR (9/17/2015)


    DTA

    distrust

  • RE: Painful datetime conversion

    Using my normal test harness, Kristen's DATETIMEFROMPARTS solution is a clear winner, more than twice faster than the next one. Note that the slowest solutions and those generating conversion errors...

  • RE: get week numbers from dates, saturday being start of the week,

    Nomvula (9/17/2015)


    i have the following table I need to select dates grouping them by weeks, my week start is Saturday to Friday

    CREATE TABLE weekdays

    (

    datevalue ...

  • RE: Today's Random Word!

    anthony.green (9/17/2015)


    Eirikur Eiriksson (9/16/2015)


    Revenant (9/16/2015)


    Ed Wagner (9/16/2015)


    SQLRNNR (9/16/2015)


    venom

    Snake

    Eden

    Utopia

    Dystopia

    Inferno

  • RE: Get max of non-unique rows

    Two quick suggestions

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    DECLARE @SAMPLE_DATA TABLE

    (

    Store CHAR(1) NOT NULL

    ,Sales ...

  • RE: Painful datetime conversion

    Jeff Moden (9/16/2015)


    Sean Lange (9/16/2015)


    drew.allen (9/16/2015)


    Try the FORMAT function. It was added in SQL 2012.

    SELECT FORMAT(vhrgdt, '0000-00-00') + ' ' + FORMAT(vhrgtm, '00:00:00.000'), *

    FROM #Something s

    Drew

    Thanks Drew. I don't use...

  • RE: The checksum

    A more common scenario would be something like this, given the facts that:

    a) Inserts and update are relatively inexpensive

    b) Data comparison is relatively expensive

    c) Good enough algorithms...

  • RE: Are the posted questions getting worse?

    jasona.work (9/16/2015)


    Ed Wagner (9/16/2015)


    jasona.work (9/16/2015)


    Hmm...

    The server is a *little* bit loud...

    Like, sitting on the workbench, basement door closed, can still hear the fans roaring on the main floor loud...

    This...

    Could be...

  • RE: Today's Random Word!

    Revenant (9/16/2015)


    Ed Wagner (9/16/2015)


    SQLRNNR (9/16/2015)


    venom

    Snake

    Eden

    Utopia

  • RE: Painful datetime conversion

    Sean Lange (9/16/2015)


    I have a very awful table structure that I have to deal with. This is in an ERP and I can't change the tables...yes I know how completely...

  • RE: I cannot finish COUNT (*) query on a table with more than billion records.

    tauseef.jan (9/15/2015)


    hi,

    I have a table in PRODUCTION server with more than a billion records. I am running the below query to check the exact number of records in it.

    select count...

  • RE: Alter Database

    Minnu (9/16/2015)


    Hi Team,

    I have a database with Name 'Marketing' and i have created another database 'Marketing1' in same instance.

    i want to bring the 'Marketing' database offline and alter 'Marketing1' to...

  • RE: PowerView... is it just me?

    pietlinden (9/15/2015)


    Anybody using (and like) PowerView? Are there any good resources on it? I kinda like PowerPivot (just having a hard time getting my head around it)... but PowerView...

  • RE: Today's Random Word!

    Ed Wagner (9/15/2015)


    whereisSQL? (9/15/2015)


    Ed Wagner (9/15/2015)


    djj (9/15/2015)


    Ed Wagner (9/15/2015)


    BL0B_EATER (9/15/2015)


    BWFC (9/15/2015)


    whereisSQL? (9/15/2015)


    Ray K (9/15/2015)


    Ed Wagner (9/15/2015)


    Eirikur Eiriksson (9/15/2015)


    djj (9/15/2015)


    Ed Wagner (9/15/2015)


    anthony.green (9/15/2015)


    Ed Wagner (9/14/2015)


    Inspire

    Eureka

    Vacuum

    tube

    Commute

    Traffic

    Jam

    Jelly

    Roll

    UP

    Town

    Saturday

    Training

    Wheels

    Muscle Car

    Rumble

Viewing 15 posts - 4,516 through 4,530 (of 8,761 total)