Forum Replies Created

Viewing 9 posts - 241 through 249 (of 249 total)

  • RE: MSSQL 2012 versus 2008...2000

    I have verified this works in SQL 2008 R2 as well. Seems strange that this was allowed as an option within TSQL. The command clearly states the correct...

  • RE: Deadlock

    Sorry to be pedantic on this but the answer to the question as written is 1. The DBA can only specify a single deadlock priority at a time. ...

  • RE: need help with a query and 'GROUPING SETS'

    It seems that you want to have a total not matching the underlying (preceding) rows ie having 3 staff members in CompanyA and DivisionA then showing 4 at the division...

  • RE: Sins of SQL: The Time Table

    Just a brief note.

    This would be ok until you look at the "special" cases we find everyday with clients such as :

    - wanting weekday/nonworking day (including national holidays) per country,...

  • RE: SSMS - feature

    On a fresh install of SQL 2008 SSMS with the exact code given no message appears for me. Holding CTRL and click does as described, but the non-CTRL behaviour...

  • RE: Is there a faster way to do this?

    This is adapted from a project I worked on a while ago using PIVOT.

    create table correlate(

     ID char(2) not null,

     ColID1 int,

     ColID2 int,

     ColID3 int,

     ColID4 int 

    )

    create table vals(

     ID char(2) not null,

     ColID int not null,

     ColValue char(5)

    )

    alter...

  • RE: CTE recursive expression

    I have done this for a customer requiring all routes through a network.  The outer query then decides the rows to show.  You can have two possible start (stub) queries...

  • RE: question on how to create 1 new sp to call 2 other sp''''s?

    Have a look at the script below.  It works for additions, deletions and updates.

    ------------------------------------- Two sample tables

    create table Sep2005(

     lineID int,

     linedata1 varchar(20),

     linedata2 varchar(20),

    )

    create table Sep2006(

     lineID int,

     linedata1 varchar(20),

     linedata2 varchar(20),

    )

  • RE: Mirror question (with MS CRM 3)

    If the principal and mirror server are still able to see each other the loss of the witness will not affect the principal server availability.

Viewing 9 posts - 241 through 249 (of 249 total)