Forum Replies Created

Viewing 15 posts - 361 through 375 (of 3,221 total)

  • RE: Best Practices to import excel data into sql server?

    Here is the difference in the OPENROWSET command:

    The latest version of EXCEL

    SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=d:\dasdgigs.xls',

    'SELECT * FROM [dasdgigs$]')

    ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Best Practices to import excel data into sql server?

    I have seen that error when EXCEL is not installed on the server you are using, or your OPENROWSET command is using the incorrect driver with a relatively new release...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Anyone know of example/graph how page splits impact performance?

    Try this blog post by Paul Randal, as a starting point.

    http://www.sqlskills.com/blogs/paul/post/Inside-the-Storage-Engine-Using-DBCC-PAGE-and-DBCC-IND-to-find-out-if-page-splits-ever-roll-back.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: "Question of the Day" is about:

    SQLRNNR (7/27/2012)


    Not sure I agree with the "correct" answer.

    +1

    Each of us access the QOD for their own particular reason(s).

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: "Question of the Day" is about:

    Sean Lange

    This one was a bit silly but not a bad reminder for some people who been getting pretty tense around the QOTD lately.

    + 1

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: "Question of the Day" is about:

    iBar

    And as per moderator understanding and the points assigned to this question by SSC clearly means that this really worth it and this is what they also understand from their...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Contained Databases

    L' Eomot Inversé (7/25/2012)


    Nice straightforward question, thanks.

    I could remember 3 of the four answers, but on the mirroring one I was racking my brains to no avail, and...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Batch Data Update

    You might want to read this posting and test if it applicable to your situation.

    http://sqlserver-tips.blogspot.com/2006/09/mimicking-merge-statement-in-sql.html

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Which is Best to use, #Temp Table or @Table Variable?

    Jeff Moden (7/21/2012)


    SQLCrazyCertified (7/20/2012)


    Jigneshal (7/20/2012)


    I usually use #table in y stored proc. Which is the best to use in SP, #table or @Table variable?

    Thanks

    If you are using this for small...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Literal Dates

    Nice question ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Snapshots

    Stewart "Arturius" Campbell (7/19/2012)


    anthony.green (7/19/2012)


    I also read it as being Yes as the question didnt specify needing to delete or not delete the other snapshots, so in theory Yes I...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: DBCC CHECKDB WITH TRY/CATCH

    Nice question ... is actual straight forward .. no gimmicks .. no gotchas ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: NULLIF 1

    L' Eomot Inversé (7/17/2012)


    Nice straightforward question, clearly worded, no tricks.

    It's a pity so many who can't be bothered to read the question think that that's a fault in the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Deleting Duplicate Records Made Easy in 2005

    rhythmk (7/16/2012)


    weblorquins (7/16/2012)


    Delete From TableName

    Where ID Not IN

    {

    Select MAX(ID) From TableName

    Group By Col1, Col2...

    }

    By The help of Table name useing ID and the Group By we can delete the duplicate...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How do I get the all columns of a row for the row with the highest value of a column

    Is this what you desire ?

    CREATE TABLE #T(ID INT, Unit INT)

    INSERT INTO #t

    SELECT 1,33 UNION ALL

    SELECT 2,33 UNION ALL

    SELECT 3,25 UNION ALL

    SELECT 4,55 UNION ALL

    SELECT 5,55

    SELECT MAX(ID)AS 'id', Unit FROM...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 361 through 375 (of 3,221 total)