Forum Replies Created

Viewing 15 posts - 721 through 735 (of 1,229 total)

  • RE: SSRS Quarterly and Monthly Dates

    You can also try getting the default value directly from the result of a dataset query. This is a fully dynamic way to get what you want :

    SELECTDATEADD(d, -1,

    DATEADD(q,DATEPART(q,getdate())-1,CAST(year(getdate()) AS...

  • RE: Need some help with this query

    Again, it is doing a clustered index scan (also known as a table scan) instead of using the nonclustered index you created on C6 (with no included columns) because the...

  • RE: Why does TRUNCATE TABLE hang?

    Try DBCC OPENTRAN to view any open transaction the machine you are currently connected to.

  • RE: Need some help with this query

    New Born DBA (5/8/2015)


    J Livingston SQL (5/8/2015)


    New Born DBA (5/6/2015)


    I have this query which runs every night pulls 800,000+ records. I just wanted to know if there is a way...

  • RE: Need some help with this query

    Lynn Pettis (5/8/2015)


    MMartin1 (5/8/2015)


    New Born DBA (5/7/2015)


    Lynn Pettis (5/7/2015)


    New Born DBA (5/7/2015)


    Sorry, but I actually spit soda out my nose on this comment:

    Well I hope you are OK. 😀

    It isn't...

  • RE: Tips to optimize your SQL statements

    Eric M Russell (5/8/2015)


    marcia.j.wilson (5/7/2015)


    Eric M Russell (2/10/2012)


    Another scenario is where the developer includes un-needed table joins and returns additional columns that are never referenced by the application or reporting...

  • RE: Need some help with this query

    New Born DBA (5/7/2015)


    Lynn Pettis (5/7/2015)


    New Born DBA (5/7/2015)


    Sorry, but I actually spit soda out my nose on this comment:

    Well I hope you are OK. 😀

    It isn't a system field,...

  • RE: Query with 85 Columns

    neeraj-344433 (5/6/2015)


    Hi all,

    Thanks for your valuable inputs, I was able to fix the performance of the select query using Vertical partitioning.

    Thanks again!

    For the rest of us who would like more...

  • RE: how to get the source code from .rdl file

    mohanraj.jsp (5/6/2015)


    Dear Friend,

    If you open the vs 2008 and add existing item also...

  • RE: Tips to optimize your SQL statements

    marcia.j.wilson (5/7/2015)


    Eric M Russell (2/10/2012)


    Another scenario is where the developer includes un-needed table joins and returns additional columns that are never referenced by the application or reporting tool. I've even...

  • RE: Integers in Time field

    I assume the tables are used directly instead of a view. Later, you could possibly add a view that combines date and time columns as one value. Any future uses...

  • RE: Reducing Index Fragmentaion during Inserts

    I wouldn't mind having some sample data to determine if the original primary key actually made sense. As Jeff mentioned a temporal based partition means having some sort of...

  • RE: Hi, first post! Interested in "Calls"

    I am wondering if the "#TEMPTABLE" you mention is created inside your code, in which this would fall into the realm of a stored procedure. For a simple lookup as...

  • RE: creating range between values in query

    I realise this has been answered but I did note in your example under options you list what appears to be the result of a triangular join.

    I produced exactly those...

  • RE: Adding Slicers to a Reporting Services Report

    It seems we are not aware what version of SQL Server is at play here. Thus the error messages some have encountered. Also no images are in the zip file,...

Viewing 15 posts - 721 through 735 (of 1,229 total)