Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 6,395 total)

  • RE: select string between two ',' symbols

    Number of ways to do it

    create table #test(HID varchar (50))

    insert into #test values

    ('12,3,16'),

    ('16,10,256'),

    ('2,150,110,200'),

    ('5,70,4'),

    ('2,100,110,150,200,123,159602,1568')

    select

    hid,

    charindex(',',reverse(hid)) AS RightMostCommaPosition,

    left(hid,len(hid)-charindex(',',reverse(hid))) AS NewHID,

    charindex(',',reverse(left(hid,len(hid)-charindex(',',reverse(hid))))) AS NowRightMostCommaPosition,

    right(left(hid,len(hid)-charindex(',',reverse(hid))),charindex(',',reverse(left(hid,len(hid)-charindex(',',reverse(hid)))))-1) AS Result

    from #test

    ;with cte as

    (

    select * from #test

    cross...

  • RE: select string between two ',' symbols

    Just in relation to this value

    '2,150,110,200'

    Why 110 and not 150,110?

    If you had '2,100,110,150,200,123,159602,1568'

    What would the correct answer be?

  • RE: Sync Tables

    Sounds like merge replication may be the best option

  • RE: Sync Tables

    How often does the tables need to be merged?

  • RE: Services failed start in cluster

    Has the SSL certificate expired?

    Are you even using SSL to encrypt the connections to the server? If not remove it from Config Manager

  • RE: Today's Random Word!

    Ed Wagner (11/16/2015)


    eccentricDBA (11/16/2015)


    crookj (11/16/2015)


    Ed Wagner (11/16/2015)


    ZZartin (11/16/2015)


    Luis Cazares (11/16/2015)


    DonlSimpson (11/16/2015)


    Ed Wagner (11/16/2015)


    anthony.green (11/16/2015)


    djj (11/16/2015)


    anthony.green (11/16/2015)


    Ed Wagner (11/16/2015)


    Sith

    Dark

    Chocolate

    Bean

    Coffee

    Java

    Jabba

    Slave

    Drive

    Zip

    tar

    Compression

    algorithm

  • RE: How does SQL Server host communicate with Client - what ports on both machines?

    The client uses the RPC port range, so anything between TCP 1024 and 65535 to communicate to SQL on, its random as it depends what ports are already in use...

  • RE: Today's Random Word!

    djj (11/16/2015)


    anthony.green (11/16/2015)


    Ed Wagner (11/16/2015)


    Sith

    Dark

    Chocolate

    Bean

  • RE: Today's Random Word!

    Ed Wagner (11/16/2015)


    Sith

    Dark

  • RE: Today's Random Word!

    Ed Wagner (11/16/2015)


    anthony.green (11/16/2015)


    Ed Wagner (11/16/2015)


    anthony.green (11/16/2015)


    crookj (11/13/2015)


    Ed Wagner (11/13/2015)


    anthony.green (11/13/2015)


    DonlSimpson (11/13/2015)


    anthony.green (11/13/2015)


    Ed Wagner (11/12/2015)


    DonlSimpson (11/12/2015)


    anthony.green (11/12/2015)


    Ed Wagner (11/12/2015)


    Bill

    Overbeck

    Sadler

    Sandler

    Pixels

    Pixies

    Debaser

    Acidity

    Tartness

    Pungency

    Strong

    The Force

    Jedi

    Light

  • RE: Today's Random Word!

    Ed Wagner (11/16/2015)


    anthony.green (11/16/2015)


    crookj (11/13/2015)


    Ed Wagner (11/13/2015)


    anthony.green (11/13/2015)


    DonlSimpson (11/13/2015)


    anthony.green (11/13/2015)


    Ed Wagner (11/12/2015)


    DonlSimpson (11/12/2015)


    anthony.green (11/12/2015)


    Ed Wagner (11/12/2015)


    Bill

    Overbeck

    Sadler

    Sandler

    Pixels

    Pixies

    Debaser

    Acidity

    Tartness

    Pungency

    Strong

    The Force

  • RE: Today's Random Word!

    crookj (11/13/2015)


    Ed Wagner (11/13/2015)


    anthony.green (11/13/2015)


    DonlSimpson (11/13/2015)


    anthony.green (11/13/2015)


    Ed Wagner (11/12/2015)


    DonlSimpson (11/12/2015)


    anthony.green (11/12/2015)


    Ed Wagner (11/12/2015)


    Bill

    Overbeck

    Sadler

    Sandler

    Pixels

    Pixies

    Debaser

    Acidity

    Tartness

    Pungency

  • RE: SQL JOB Status history is showing failed

    Check the exit commands of the job steps.

    Is the last one's on success action, quit job reporting failure by any chance?

  • RE: Today's Random Word!

    DonlSimpson (11/13/2015)


    anthony.green (11/13/2015)


    Ed Wagner (11/12/2015)


    DonlSimpson (11/12/2015)


    anthony.green (11/12/2015)


    Ed Wagner (11/12/2015)


    Bill

    Overbeck

    Sadler

    Sandler

    Pixels

    Pixies

    Debaser

Viewing 15 posts - 1,726 through 1,740 (of 6,395 total)