Forum Replies Created

Viewing 15 posts - 11,971 through 11,985 (of 26,486 total)

  • RE: How to load a temp table with the result set of a sproc

    Eugene Elutin (5/15/2012)


    Transactions that involve table variables last only for the duration of an update on the table variable. Therefore, table variables require less locking and logging resources. Because table...

  • RE: Problems with negative numbers using SWITCH function

    ByronOne (5/15/2012)


    Sorry for being stupid but do you mean like the following:

    =Switch(sum(Fields!YTDBudget.Value)/sum(Fields!YTDActual.Value) -1 <-2.5, "Green", sum(Fields!YTDBudget.Value)/sum(Fields!YTDActual.Value) -1 <=-5.0, "Yellow", sum(Fields!YTDBudget.Value)/sum(Fields!YTDActual.Value) -1 <-5, "Red")

    I've tried this but it seems to confuse...

  • RE: How to load a temp table with the result set of a sproc

    Jeff Moden (5/14/2012)


    Here's an example that serves me very well for some of the larger ETL projects I work on. Do note that you have to change "yourseverinstancenamehere" appropriately.

    ...

  • RE: primary keys

    I am going to just say we are going to have to agree to disagree. I am not going to say that the Primary Key should most of the...

  • RE: Getting Rid of ISNULL

    chandan_jha18 (5/15/2012)


    Hi,

    I had a procedure where there was a condition in where clause:

    where ISNULL(d.[RejectReason], 0) IN (240,241,300,301)

    The column RejectReason is int,null.

    After going through several posts in this forum, I started...

  • RE: primary keys

    Eugene Elutin (5/15/2012)


    ...

    Now, for whatever reason, Microsoft by default makes it the clustered index. This is 99% of the time wrong.

    The clustered index should be on a better choice,...

  • RE: performance tunning

    Sean Lange (5/15/2012)


    If you want some real help please read the following article. How to Post Performance Problems[/url]

    Without some details there is <0% chance that anybody will be offer any...

  • RE: Oracle Developer backspace key not working

    You might want to try posting this on an Oracle site. Most of us here are using Microsoft tools to support MS SQL Server.

  • RE: Difference between Informatica & SSIS.

    Been a while sinceI worked with Informatica, but one of things I remember is the lack of a looping construct. If needed, it required some interesting coding to implement.

    I...

  • RE: schema view in sql server

    erics44 (5/15/2012)


    Hi

    Is there a way of viewing the tables in management studio by schema?

    Id like to be able to expand and collapse schemas to limit the number of tables i...

  • RE: SYSLanguages on SQL 2012

    Simon-413722 (5/14/2012)


    errr.. the explaination says you cant update system tables on sql 2005 onwards. is this description really true?

    I'm not saying its a good practice and Microsoft definitely doesnt support...

  • RE: Converting an integer to datetime

    Jeff Moden (5/14/2012)


    dan-572483 (5/14/2012)


    I stand corrected. Now why would a developer use anything other than a datetime to store a timestamp? It seems to lead to more complexity...

  • RE: improve performance of sp

    Tim Walker. (5/13/2012)


    I'm really sorry that my first post on this thread, which related to the lack of information from the OP, resulted in the thread going totally off topic!

    The...

  • RE: Query performance issue

    Well, we are still waiting for the DDL for the tables (including the index definitions), the code you are running, and the actual execution plans.

  • RE: How many tables indexes are too many?

    The downside to more indexes is increased time for inserts/updates/deletes as indexes have to be maintained. Hard to say if the impact will be noticable not since we can't...

Viewing 15 posts - 11,971 through 11,985 (of 26,486 total)