Forum Replies Created

Viewing 15 posts - 706 through 720 (of 1,246 total)

  • RE: Where clause prevents index seek

    PHXHoward (11/30/2015)


    I get it that they look the same but I did not know that SQL Server was smart enough to use an NCI on a computed column that is...

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

  • RE: Data Flow Task working very slow due to left join in source

    Try to get the actual query plan attached here. A couple of people have mentioned that before, plus your table definitions. That will go further in helping us to help...

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

  • RE: Data Flow Task working very slow due to left join in source

    It looks like that Left Join is essentially an inner join... you are filtering the results back down AFTER you are first putting together the bigger recordset. Make this

    tbl_documents...

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

  • RE: Where clause prevents index seek

    So you are able to change the index on the table and not a query? If you knew for a fact that changing the query will not break anything else...

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

  • RE: Replication issue - invalid column name

    siugoalie78 (11/25/2015)


    I am not sure if this is the exact same issue, but I was getting the same error. In my organization, every time there is a schema change we...

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

  • RE: Staging table population - advice needed

    his part works but everytime I look at all the IFs I get confused so I thought there might be a better way to achive the same result.

    Having before and...

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

  • RE: Not able to insert data in table

    You mentioned you have tons of indexes. I hope on of them is a clustered? Lots of indexes ( lets say half the number of columns on the table) can...

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

  • RE: Query on a large database

    As mentioned in the blog, in a DW with over 100 Million rows , most of the queries will end up performing scans

    I dont know what qualifies as "most queries."...

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

  • RE: ORDER BY in a cursor

    rjuarez71 (11/24/2015)


    Good morning,

    Just to ADD, I saw that adding

    DECLARE x_cursor CURSOR STATIC READ_ONLY FOR ...

    Solves the issue

    best regards 🙂

    From MSDN,

    "STATIC

    Defines a cursor that makes a...

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

  • RE: .rdl opens to XML code. Need Report Layout view.

    Glad that you were able to get a resolution. Only that uninstalling apps and the pain that goes with all that might get irritating if you run into this situation...

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

  • RE: Rename a network file using xp_cmdshell

    Thanks Ed, I had to look at it for a minute to figure it out. It looks like that single quote is closing the first one in front of ren.....

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

  • RE: Rename a network file using xp_cmdshell

    "export_File_IMG_'

    I dont work with this a whole lot so I was wondering if the single quote closing the double quote is valid, or if it is just covering the...

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

  • RE: SSRS 2008 exported reports excel sheet tab name issue.

    Are you referring to exporting the data in a SSRS report to Excel ? OR are you referring to a report subscription ?

    Please see if the below link helps...

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

  • RE: Pie Chart to Show top5 Collect all others

    I would approach this by using the SQL in your report (preferably the stored procedure that the report calls).

    WITH myTop5 as (

    select top 5 customer

    from...

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

  • RE: Something just is not clicking with me

    Typically a SCD type 2 has those validFrom and validTo fields in the dimension table. You can create your DSV by filtering on only those that have the validTo be...

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

Viewing 15 posts - 706 through 720 (of 1,246 total)