Forum Replies Created

Viewing 15 posts - 721 through 735 (of 2,647 total)

  • RE: How to ? Insert multiple records in a table from a single record in another table

    steve.clarke-1124563 (6/12/2012)


    I have a table that contains department and names ;

    Department char(20)

    Name1 char(20)

    Name2 char(20)

    Name3 char(20)

    Name4 char(20)

    Name5 char(20)

    Name6 char(20)

    I want to be able to read the above table and then insert...

    Jared
    CE - Microsoft

  • RE: Insert a record for every possible date within a range

    Adam Bean (6/12/2012)


    Eugene Elutin (6/12/2012)


    You don't need the cursor! If you have the calendar table, just select records you need filtering by date.

    Or you can use some run-time...

    Jared
    CE - Microsoft

  • RE: transactional replication issue

    AK1516 (6/12/2012)


    not yet ... after i saw the message above i monitored the replication for 1 hour.. saw no progress in the replication monitor screen....so dropped the article I...

    Jared
    CE - Microsoft

  • RE: Multiple Queries-Please Help

    3.I am Clear with the Point that INSERT\DELETE can causes the FRAGMENTATION.

    But How Does Update Affects can be cause of Fragmentation..It not even release any Space of Acquire any Space.Please...

    Jared
    CE - Microsoft

  • RE: Using a Separate Instance just for SSIS

    I'm pretty sure that both responses are the same for the poll. However, I chose "No." I see no good reason to separate SSIS onto its own instance.

    Jared
    CE - Microsoft

  • RE: transactional replication issue

    Start the logreader agent?

    Jared
    CE - Microsoft

  • RE: Insert a record for every possible date within a range

    Here is a quick sample.

    CREATE TABLE #testtally (n int)

    INSERT INTO #testtally

    SELECT 0

    UNION ALL

    SELECT 1

    UNION ALL

    SELECT 2

    UNION ALL

    SELECT 3

    DECLARE @startDate datetime

    DECLARE @endDate datetime

    DECLARE @dateDiff int

    SET @startDate = '2012-06-12'

    SET @endDate = '2012-06-14'

    SET...

    Jared
    CE - Microsoft

  • RE: Insert a record for every possible date within a range

    Adam Bean (6/12/2012)


    Thanks, I do have a calendar table; however the problem remains, inserting a new record based on a source data set with every possible date between a specified...

    Jared
    CE - Microsoft

  • RE: Error when viewing Registered server

    Looks like a permissions issue to me...

    Jared
    CE - Microsoft

  • RE: Insert a record for every possible date within a range

    Adam Bean (6/12/2012)


    Hey all,

    Trying to figure out the best course of action for taking a given data set that has a start date and inserting a record for all values...

    Jared
    CE - Microsoft

  • RE: Query that ran to use an Index

    GilaMonster (6/11/2012)


    SQLKnowItAll (6/11/2012)


    i.e. If you have an index on columna, and columnb... Will a qury filtering solely on columnb be able to use this index?

    Yes, actually it would, but...

    Jared
    CE - Microsoft

  • RE: Query that ran to use an Index

    Grizzly Bear (6/11/2012)


    Sorry, I should have been a little bit more explicit in my question

    I do not know which query uses which index to run the execution plan.

    I know there...

    Jared
    CE - Microsoft

  • RE: How to Select This Query

    Lynn Pettis (6/11/2012)


    SQLKnowItAll (6/11/2012)


    tamil.selvanmca (6/11/2012)


    CardNo DateTime GateEntry

    00000002012012-06-1108:34:23MainGateEntry-Big

    00000002012012-06-1108:38:30FF LAB-8...

    Jared
    CE - Microsoft

  • RE: How to Select This Query

    tamil.selvanmca (6/11/2012)


    CardNo DateTime GateEntry

    00000002012012-06-1108:34:23MainGateEntry-Big

    00000002012012-06-1108:38:30FF LAB-8 Entry ...

    Jared
    CE - Microsoft

  • RE: Query that ran to use an Index

    Grizzly Bear (6/11/2012)


    I know I can get when an Index was used last from sys.sm_db_index_usage_stats.

    But how can I figure out what query used that index , be it...

    Jared
    CE - Microsoft

Viewing 15 posts - 721 through 735 (of 2,647 total)