Forum Replies Created

Viewing 15 posts - 4,681 through 4,695 (of 8,755 total)

  • RE: Are the posted questions getting worse?

    TomThomson (8/18/2015)


    Jeff Moden (8/14/2015)


    Eirikur Eiriksson (8/14/2015)


    Jeff Moden (8/14/2015)


    Heh... since it's for XML...

    Trying to put my finger on this, just cannot find which kind of XML phobia is plaguing you Jeff:Whistling:,...

  • RE: Snapshots -never used

    Does creating the snap create a full bak or full mdf and ldf files? Im concerned with space - it's a large DB

    No it initially creates a data file...

  • RE: Help Needed in Relational Logic

    Quick suggestion

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    declare @Process table(ProcessId int identity(1,1) primary key,ProcessName varchar(100),ParentStep int, ChildStep int);

    Insert into @Process(ProcessName,ParentStep,ChildStep)

    select 'Process1',1,2 union all

    select 'Process2',1,3 union all

    select 'Process3',1,6 union all

    select 'Process4',4,2 union all

    select 'Process5',4,5;...

  • RE: Snapshots -never used

    krypto69 (8/17/2015)


    Hi,

    Never had a need to use snapshots before.

    I have a dev SQL2014 server. My devs would like to take a DB snapshot then run there code, then use that...

  • RE: SELECT @@ServerName returns NULL

    Lynn Pettis (8/17/2015)


    Looks like someone ran sp_dropserver.

    Someone should then run sp_addserver

    😎

  • RE: Today's Random Word!

    Ed Wagner (8/17/2015)


    eccentricDBA (8/17/2015)


    whereisSQL? (8/17/2015)


    DonlSimpson (8/17/2015)


    Optimizer

    Cost-based

    low-cost provider strategy

    Low Quality

    WYPIWYG

  • RE: How do I fix this error?

    cory.bullard76 (8/17/2015)


    When I insert the following into my query...I get an error

    ,max(case when patins.rank = 1.0 then CLAIMS.[TOTALPAID] else '' end)

    TotalPaid is a field that contains, for example, 445.45

    The...

  • RE: Aggregation transformation or script task?

    ilovedata (8/16/2015)


    I have a source from which I select the AccountID, StatusID, and value. I am using an aggregation Transform to find the SUM(Value) GROUP BY AccountID, StatusID.

    I will have...

  • RE: SQL Joins Question

    Jeff Moden (8/16/2015)


    Eirikur Eiriksson (8/16/2015)


    Jeff Moden (8/16/2015)


    Gosh, I'd be real careful here, Eirikur. While your good code certainly does what was asked, it will fail if table SampleData2 is...

  • RE: SQL Joins Question

    Jeff Moden (8/16/2015)


    Gosh, I'd be real careful here, Eirikur. While your good code certainly does what was asked, it will fail if table SampleData2 is ever correctly used for...

  • RE: SQL Joins Question

    DiabloZA (8/16/2015)


    Hi Eirikur Eiriksson,

    Yes, this is what I needed.

    You are awesome and thank you very much for the quick help.

    Regards,

    DZA

    Thanks for the feedback and you are most welcome.

    😎

  • RE: LIKE, [ ] and empty string

    ErikMN (8/14/2015)


    I'm trying to find a specific string (a name) and replace it with another inside of a VARCHAR(7000) field. Unfortunately, there are names like Ted and Ken that I'm...

  • RE: Need Help on SQL Insert Query

    ManiDBLover (8/15/2015)


    Hi Guys,

    I have a requirement to Insert Column 1 and Column 2 based on below condition only. Looking for a Store procedure or query

    Condition : Allow Insert when...

  • RE: SQL Joins Question

    Quick suggestion

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    GO

    ;WITH SampleData (PERSON, STARTDATE, ENDDATE, INPUNCH, OUTPUNCH, HOURS,PAYCODE) AS

    (

    SELECT 1125,'08/11/2015','08/11/2015','08:00', '12:00',4.0, 'REGULAR'

    UNION ALL SELECT 1125,'08/11/2015','08/11/2015','13:00', '17:00',4.0, 'SICK'

    ...

  • RE: FOR XML PATH with two root nodes

    mtlsql (8/14/2015)


    I have to generate an XML document that matches the following customer specification.... This is our customer's specification, so I have no control over it.

    Do you have a schema...

Viewing 15 posts - 4,681 through 4,695 (of 8,755 total)