Forum Replies Created

Viewing 15 posts - 5,476 through 5,490 (of 7,164 total)

  • RE: Filtered OUTPUT Clause

    SQLkiwi (7/16/2011)


    Yes, you can filter an OUTPUT clause

    Can you? This would seem like Option (i.e. workaround) #3. The filtering is not technically part of the OUTPUT clause but it will...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS: What's New in Denali

    Welsh Corgi (7/16/2011)


    DON'T CLINK ON THE LINK UNLESS YOU WANT TO H*(&^ YOUR COMPUTER!

    Welsh, what the H*(&^ are you talking about? 😛

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Filtered OUTPUT Clause

    krushkoder (7/16/2011)


    Thanks again! And I really do feel like I'm one of the nanos gigantium humeris insidentes!

    Me too, every day mate...happy you got it sorted 😎

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Filtered OUTPUT Clause

    That's not how the OUTPUT clause works: http://technet.microsoft.com/en-us/library/ms177564.aspx

    To achieve the behavior I see a couple options:

    Option 1: issue two inserts

    - Insert 1: insert into tblProduction WHERE col3 <> 0...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS - Run a query for multiple servers and stored resultset in local database/table?!

    WebTechie38 (7/16/2011)


    Thanks for the outline.

    I was wondering how if you had an example or knew of an example for number 3.

    I haven't done that before. I would...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Question on moving content across databases

    I would recommend you have a look into Synonyms and Views.

    Both can perform cross-database operations and can be dropped and recreated in the context of a transaction so you could...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS - Run a query for multiple servers and stored resultset in local database/table?!

    No worries. Please refer all comments to the other thread going forward. I think the comment I made on the other thread will help you solve the issue without using...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grouping based on the common Time Frame

    naveen0905 (7/16/2011)


    Hi Guys,

    I have sample data like mentioned below.

    Student IDattendancefrom_dateto_date

    1 20 1/1/20102/1/2010

    1...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS - Run a query for multiple servers and stored resultset in local database/table?!

    Is this the same issue as this or am I missing the nuance?

    http://www.sqlservercentral.com/Forums/Topic1142962-391-1.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS - Run a query for multiple servers and stored resultset in local database/table?!

    Here is a rough sketch of an SSIS package that will do what you want:

    1. Load the list of instances you want to iterate over into SSIS however you're doing...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: LoadLibrary in SQLCLR can't find the library

    I was able to get something going. The issue changed for me when I reworked the DllImport for LoadLibrary (Reference).

    Pre-reqs I had to satisfy to deploy UNSAFE assemblies:

    1. Alter...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Recursion Problem

    You're welcome Hawaiian! I am happy it will work for you...enjoy the weekend 🙂

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Preventing Repeated Results in Query

    Jeff Moden (7/15/2011)


    opc.three (7/15/2011)


    Very nice job posting usable DDL, DML and what you have tried! Provide your desired output relative to the same test data please and we'll see if...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: HierarchyID.GetDescendantOf with a subquery

    villychilly (7/15/2011)


    Hi again, and thank you both very much for your replies. I was obviously having a bit of a bad morning and Welsh Corgi, your reply kickstarted my brain...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Preventing Repeated Results in Query

    Very nice job posting usable DDL, DML and what you have tried! Provide your desired output relative to the same test data please and we'll see if we can assist.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 5,476 through 5,490 (of 7,164 total)