Forum Replies Created

Viewing 15 posts - 406 through 420 (of 1,246 total)

  • RE: Find the brackets

    Jeff Moden (11/16/2016)

    IMHO, cleaner code if you take the shortcut.

    SELECT mychar FROM mydata WHERE mychar LIKE '[[]%'

    That's how I went about doing it and then had to take a closer...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    kevin.obrien 66193 (11/16/2016)


    The question to the OP is ... are CounterpartyAccountKey and GenevaAccountKey mutualy exclusive? It appears to me from the reading that they may very well be (normally a...

    ----------------------------------------------------

  • RE: How can automate report from sqlserver to be sent on email everyday.

    Jeff Moden (11/16/2016)


    tnnelzo (6/20/2013)


    Hello!

    Everyday i run a querry in sqlserver 2008 to get a report to sent to my boss, but i want to automate this, so that the...

    ----------------------------------------------------

  • RE: How can automate report from sqlserver to be sent on email everyday.

    Luis Cazares (11/15/2016)


    I wonder why an SSRS subscription wasn't considered. Too late for that, I suppose.

    This would be the approach I would take. It is simple to set up Subscriptions...

    ----------------------------------------------------

  • RE: Deleted

    chocthree (11/14/2016)


    Thanks for all your replies. Really appreciated.

    I have installed the 2016 version of the SQL Server software (as stated in previous posts). I am having trouble finding training videos...

    ----------------------------------------------------

  • RE: Temp tables in transaction

    Good QotD. Someone not knowing this could introduce a serious bug into their work.

    ----------------------------------------------------

  • RE: SSIS- fetch the identity value generated in Destination INSERT

    glebih (10/17/2016)


    Assuming that an UPDATE statement effectively DELETEs and INSERTs a record, can the values not be retreived via OUTPUT ?

    IE

    UPDATE table

    SET Col1 = Val1

    OUTPUT inserted.Col1 (should be Val1),...

    ----------------------------------------------------

  • RE: check if record exists then update else insert

    >> I have to check if this exists in table, if it does not exist only then insert. <<

    No, another alternative is to try to insert a row and see...

    ----------------------------------------------------

  • RE: Insert into table

    Just to note, for the answer that you marked as correct ... the second instance where col1=2 has col5 = 'ewqq' and not 'kjhg' as you specified. Eirikur's solution however...

    ----------------------------------------------------

  • RE: SSIS : Cannot open the datafile

    bheema.ece12 (11/14/2016)


    Hi Martin,

    The file is stored on my machine and both DB and SSIS packages are running in my local machine itself.

    You'll have to provide some more information like the...

    ----------------------------------------------------

  • RE: check if record exists then update else insert

    Building on Lynn's good example here:: I added a couple of audit fields that you may readily see , 'created on' and 'updated on' dates. It is not difficult...

    ----------------------------------------------------

  • RE: Good to have Multiple Data Warehouses?

    I believe in the one source of truth, as the ideal. From many sources one place to store. It also keeps enforcement on data standards easy since you are working...

    ----------------------------------------------------

  • RE: SSIS : Cannot open the datafile

    bheema.ece12 (11/13/2016)


    Have given all types of permissions, but no luck. Can someone help in resolving the error?

    Error: [SSIS.Pipeline] Error: Read From CSV failed the pre-execute phase and returned error code...

    ----------------------------------------------------

  • RE: Give database to customers, how would you want to receive it?

    I'm sure you already know this but its worth mentioning. In your source control dont forget to create a tag for your releases so that you know what version of...

    ----------------------------------------------------

  • RE: Reporting Services From a Data warehouse - Bottleneck On Every Month

    Now we have 2000+ SSRS reports for many clients and we scheduled those reports as subscriptions in those report servers.

    This would have given me the indication right away that there...

    ----------------------------------------------------

Viewing 15 posts - 406 through 420 (of 1,246 total)