Forum Replies Created

Viewing 15 posts - 4,711 through 4,725 (of 8,753 total)

  • RE: Are the posted questions getting worse?

    Sometimes one wonders what drives the responds when one points out that the posted solutions are not optimal.

    😎

  • RE: Unable to link data from data pulled from XML

    drew.allen (8/14/2015)


    Eirikur Eiriksson (8/14/2015)


    The text() is faster than without it, here are results from two versions of non-traversing XQueries from my previous post, one with and on without the text().

    First,...

  • RE: Database in Recovery

    Chris.Hubbard4U (8/14/2015)


    Eirikur Eiriksson (8/14/2015)


    Chris.Hubbard4U (8/14/2015)


    I have a database In Recovery.

    Where do I check the completion status of the recovery?

    Quick thought, query sys.dm_exec_requests and check for command='RECOVERY'

    😎

    I queried that table but...

  • RE: Today's Random Word!

    SQLRNNR (8/14/2015)


    Eirikur Eiriksson (8/14/2015)


    SQLRNNR (8/14/2015)


    chinchilla

    Endangered

    tasty treat

    Fast food

  • RE: Seeking guidance regarding a tSQL Script

    Quick alteration to Lynn's good solution, handles values both higher and lower than the target value

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.TBL_TEST_SET_20150814001') IS NOT NULL DROP TABLE dbo.TBL_TEST_SET_20150814001;

    CREATE TABLE dbo.TBL_TEST_SET_20150814001

    (

    ...

  • RE: Seeking guidance regarding a tSQL Script

    Alvin Ramard (8/14/2015)


    Lynn Pettis (8/14/2015)


    Something like this:

    declare @TestTable table(

    EEID int,

    Name varchar(64),

    AnnualizingFactor int,

    PercentFullTime decimal(3,2));

    insert into...

  • RE: Today's Random Word!

    SQLRNNR (8/14/2015)


    chinchilla

    Endangered

  • RE: Execution Plan "table Spool"

    Further on Chris's reply, this is a high level representation of what goes on behind the scene when a query is executed, it can be good, bad or ugly but...

  • RE: Database in Recovery

    Chris.Hubbard4U (8/14/2015)


    I have a database In Recovery.

    Where do I check the completion status of the recovery?

    Quick thought, query sys.dm_exec_requests and check for command='RECOVERY'

    😎

  • RE: Today's Random Word!

    Luis Cazares (8/14/2015)


    Ed Wagner (8/14/2015)


    crookj (8/14/2015)


    BL0B_EATER (8/14/2015)


    Ed Wagner (8/14/2015)


    SQLRNNR (8/13/2015)


    Ed Wagner (8/13/2015)


    DonlSimpson (8/12/2015)


    SQLRNNR (8/12/2015)


    Luis Cazares (8/12/2015)


    WayneS (8/12/2015)


    Ed Wagner (8/12/2015)


    Ed Wagner (8/12/2015)


    SQLRNNR (8/12/2015)


    whereisSQL? (8/12/2015)


    Ed Wagner (8/12/2015)


    Eirikur Eiriksson (8/12/2015)


    Ed Wagner (8/12/2015)


    Steve Jones...

  • RE: Nesting Case When Statements?

    kevin.ellis86 (8/14/2015)


    These results look like how to create the tables which I don't need help with. Suppose these two tables had no relationship between them built yet and I wanted...

  • RE: Unable to link data from data pulled from XML

    drew.allen (8/14/2015)


    Alan.B (8/13/2015)


    drew.allen (8/13/2015)


    Alan.B (8/13/2015)


    Just to add to Drew's excellent solution, not only would you want to use the value() method over the query method here, you should include the...

  • RE: Dynamic SQL

    odeddror (8/14/2015)


    All I want is to count actual column count per all tables (and schema too)

    row count is sometime can be misleading (nulls, 0's or ' ' spaces)

    Your sproc...

  • RE: Filtering on multiple input pairs

    pietlinden (8/12/2015)


    (See, told ya Eirikur could do it... even if I can't remember how to spell his name!)

    He he, if I had a penny for every mis-spelling of my name...

  • RE: Dynamic SQL

    Here is a simple profiling procedure I've used for years, nothing fancy but often quite helpful.

    😎

    NOTE: By the nature of the profiling, it can and will place considerable stress on...

Viewing 15 posts - 4,711 through 4,725 (of 8,753 total)