Forum Replies Created

Viewing 15 posts - 91 through 105 (of 134 total)

  • RE: CASE WHEN Statement when creating a VIEW

    anthony.green (12/3/2012)


    It hits the first true condition then terminates the case statement.

    Thank you - I did feel this was the case but the data does not reflect the logic!?

    Will now...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: CASE WHEN Statement when creating a VIEW

    Eugene Elutin (12/3/2012)


    ... does it do one condition and then drop to the CASE...END statement after satisfying one of the conditions?

    That is correct.

    Sorry;

    My question is;

    Do I understand...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: SQL 2008 BI vs SQL 2012 BI

    Hi Guys,

    3 days to go ..... for the 2012 BI training ....

    Is there any reference material ( Free PDF ) on BI basics for 2012 or reference sites that...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Creating a view from 2 joined tables - inserting multiple lines

    Sorry - just read the article.

    Will have a go at setting this up and testing the data retreival against expected.

    Many Thanks

    Steve

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Creating a view from 2 joined tables - inserting multiple lines

    Thanks - I see what you are doing and agree. But unclear about the "Tally" table and how that would be derived ?

    Regards

    Steve

    J Livingston SQL (9/29/2012)


    something along these lines......??

    --===...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Creating a view from 2 joined tables - inserting multiple lines

    Unfortunately the tables are already defined in our ERP system -

    we have - WIPMaster and WIPMaterials

    The Master is the header and contains WOrksOrder, Parent and Qty2Make

    The Materials contains the...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Creating a view from 2 joined tables - inserting multiple lines

    Sorry - the question is ;

    How can I create a view inserting repeated records based on the calculation of two fields;

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Where To Put the MCTS Logo on Resume?

    Congratulations -

    When you go to the mcp.microsoft.com site - you will see the Logo's that are relevant to your qualifications. You can build up Virtual Business Cards and...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Recursive CTE for BOM Structures

    Brilliant - that is exactly what I was after.

    Thank you for your assistance

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Recursive CTE for BOM Structures

    Ok - sorry about this ....

    data to be populated - Master table - InvSteve, link to BomSteve

    drop table InvSteve

    go

    drop table BomSteve

    go

    create table InvSteve

    (

    StockCode [char] (30) NULL,

    Rev ...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Recursive CTE for BOM Structures

    .

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: SQL 2008 BI vs SQL 2012 BI

    Thanks for your reply -

    Just a couple of things ... Yes I totally agree that it will look good on the CV - but at the moment not looking...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: SQl 2008 change collation of all columns

    When you first install sql you specify the collation to use as the default.

    you are able to create views and at that time specify the translated collation to use if...

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: problem with log backup

    .

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

  • RE: Backup/Maintenance Plans have stopped working

    Looks like this is the cause of it !

    Message

    Non-SysAdmins have been denied permission to run DTS Execution job steps without a proxy account. The step failed.

    ________________________________________________________________________________________________
    Regards
    Steve
    SQL 2008 DBA/DBD - MCTS/MCITP

    Please don't trust me, test the solutions I give you before using them.

Viewing 15 posts - 91 through 105 (of 134 total)