Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 6,401 total)

  • RE: Migrating logins to another server

    Pretty much hit the nail on the head with that link.

    sp_help_revlogin is probably the best tool out to do what you need to do.

  • RE: Table sysfiles out of date

    The catalog is filegroup agnostic, its the FTI which is stored on the filegroup, you could have 1 FTC with 20 FTI's and 10 of the FTI's in one filegroup...

  • RE: select string between two ',' symbols

    Richie T (11/17/2015)


    Same as above but slightly different approach

    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 *

    ,charindex(',',reverse(hid)) as last_comma

    ,LEN(HID) as string_length

    ,SUBSTRING(reverse(hid),charindex(',',reverse(hid))+1,999) as new_String

    ,charindex(',',SUBSTRING(reverse(hid),charindex(',',reverse(hid))+1,999)) as new_string_next_Comma

    ,SUBSTRING(reverse(hid),charindex(',',reverse(hid))+1,charindex(',',SUBSTRING(reverse(hid),charindex(',',reverse(hid))+1,999))-1) As endResult

    FROm #test

    You need...

  • RE: Backup file logical Names

    Sounds like someone at the source of the chain who provide you with the zip file of the database backup has changed the logical file names.

  • RE: Today's Random Word!

    whereisSQL? (11/17/2015)


    anthony.green (11/17/2015)


    Ed Wagner (11/17/2015)


    Lei

    Steve Jones

    editor

    Chief

  • RE: Create identity column in an already populated table

    sandy-808981 (11/17/2015)


    Okay ... I think I figured it out. Thank you everybody for your input. I found a tutorial online on how to copy data from one table...

  • RE: Create identity column in an already populated table

    If the current column has none unique values in the range then it can't become the identity unless you manually force the identity_insert value to on.

    I would create the table...

  • RE: Nested loop join operator estimate rows is 10000 in compatibility level 2014.

    From the CE document

    Page 39

    Stale Statistics

    You may determine that the statistics are outdated. This is not necessarily an issue if the data distribution within the statistics object histogram and density...

  • RE: Create identity column in an already populated table

    Can the identity be inserted randomly against the existing data? Or does the data have to follow an existing order for the identity?

    If the existing column denotes the order,...

  • RE: Today's Random Word!

    Ed Wagner (11/17/2015)


    Lei

    Steve Jones

  • RE: Nested loop join operator estimate rows is 10000 in compatibility level 2014.

    Issue seems to be down to stale statistics on t1.

    The cardinality estimator had its first rewrite since SQL 2000 in the 2014 version.

    The following document may help, especially the troubleshooting...

  • RE: Table sysfiles out of date

    Might be a case of waiting for the ghost cleanup task to kick in, but I wouldn't of thought it would take to long to start the cleanup but depends...

  • RE: Table sysfiles out of date

    Sorry I meant your script for the FTC drop and recreate.

    Did you add in a new filegroup&file when you recreated the FTC or did you use the existing filegroup&files already...

  • RE: Today's Random Word!

    Ed Wagner (11/17/2015)


    anthony.green (11/17/2015)


    Ed Wagner (11/17/2015)


    anthony.green (11/17/2015)


    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

    Equation

    Complex

    Calculation

    Lau

  • RE: Table sysfiles out of date

    Can you provide your scripts used?

Viewing 15 posts - 1,711 through 1,725 (of 6,401 total)