Forum Replies Created

Viewing 15 posts - 496 through 510 (of 600 total)

  • RE: Index question for a monthly summary table

    Thanks for all the advice, guys.

    We'll get the populating procedure squared away first, and then maybe try some experiments to see which set up works best. It could be...

  • RE: Index question for a monthly summary table

    Eugene Elutin (9/29/2010)


    The best thing I would suggest is to try insert all 8000 rows once (or in batches) with all required data populated.

    If it is absolutely impossible in your...

  • RE: Index question for a monthly summary table

    Eugene Elutin (9/29/2010)


    Nevyn (9/29/2010)


    ...

    On the subject of non-clustered indexes, the issue would be the number of columns to be included. Even though they are only at the leaf level,...

  • RE: Index question for a monthly summary table

    Grant Fritchey (9/29/2010)


    I guess my question is, where does the slowdown occur? Is it in the insert? If so, are you getting lots of page splits or is it just...

  • RE: Index question for a monthly summary table

    Eugene Elutin (9/29/2010)

    Give it a TRY! Create the Identity Clustered PK, create and index for columns used for filtering (WHERE clauses) and JOINs to another table. You may want to...

  • RE: Convert datetime to varchar

    sandy-833685 (9/27/2010)


    Thx,

    But its not hardcoded its an value which is stored in variable which is having a datatype as datetime. and after going through certain select and execution stored procedure.And...

  • RE: Convert datetime to varchar

    sandy-833685 (9/27/2010)


    Hi i am having table with column name time data type as datetime

    And when i try to execute the select statement with convert like

    select * from tablename

    where convert(varchar(10),time,103)<'06/06/2010'

    as i...

  • RE: Conver to Date

    You could do a case statement that defaults them to a specific date if there isnt date information in the field ...

  • RE: Conver to Date

    A mini example I build. I think this does what you want:

    CREATE TABLE #test (myDate varchar(6))

    INSERT INTO #test (myDate) values ('200612')

    INSERT INTO #test (myDate) values ('200705')

    INSERT INTO #test (myDate) values...

  • RE: Conver to Date

    Its not a date if there's no day. Try appending '01' onto the field then converting.

  • RE: Complicated Subquery

    byrdmom2 (9/23/2010)


    The problem is that I will not actually know what the data is. The data I gave was just sample data to give an idea what it would look...

  • RE: Big Data and SQL

    Steve Jones - Editor (9/21/2010)


    So lazy people are eventually capable?

    Yeah, its TOTALLY on their to-do list.

  • RE: Big Data and SQL

    david_wendelken (9/21/2010)


    Eric Russell 13013 (9/21/2010)


    I hope society never advances to the point where an understanding of relational set theory by the average person is required just to get by; most...

  • RE: Updating Outlook Calendar Based on SQL Data

    Does it have to be from an SQL server stored procedure?

    The main way I know of doing this is using WebDAV, which you can use with .NET to...

  • RE: Big Data and SQL

    Gary Varga (9/21/2010)


    Is Googling for answers a big problem here?

    I think so. So many find an answer that appears to work but never ensure they understand why it does what...

Viewing 15 posts - 496 through 510 (of 600 total)