Forum Replies Created

Viewing 15 posts - 2,071 through 2,085 (of 5,841 total)

  • RE: update query very slow sql server

    Jeff Moden (4/28/2014)


    Just a thought...

    The looping is going to cause a full table scan of a 100 Million row table for each and every loop. That's a shedload of...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Server In memory OLTP

    I would also check out SQLSaturday.com and View All Events there. Open each event's Schedule Page and anything you see with an Orange download button is FREE content for...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Need assistance with making a sproc SQL Injection proof

    MarbryHardin (4/24/2014)


    ... And you'll have to come saw my foot off to get me to write dynamic SQL. 😉

    Then you are discounting one of the best tools for dealing...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Need assistance with making a sproc SQL Injection proof

    Sorry MarbryHardin, but your solution is totally awful from a query optimization standpoint and you are guaranteed to get suboptimal performance. Read Gail's blog posts. Also, scale...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Server Maximum Write Performance

    Good observations Jeff. I believe a lot of it is in the masses thinking that Google/Twitter/Facebook/EBay/Amazon et al storing kajigabytes of information and retrieving it nearly instantaneously make developers...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Database monitoring

    Yes, but it isn't cheap (at least some years back when I evaluated it for a client).

    http://www.whitesands.com

    They have some really cool and useful capabilities.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Optimizing Query

    ...interesting" table design?

    That's a very diplomatic way to phrase that question. Very well done! 😀

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Server Maximum Write Performance

    That is a VERY low-end machine, esp. the one 7200 rpm disk issue. And there are SOOO many things in SQL Server that need to be changed to get...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Need assistance with making a sproc SQL Injection proof

    See Books Online for details about sp_executesql. You need to be using the fully parameterized capabilities:

    EXEC sp_executesql [ @statement = ] statement

    [

    { , [...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: TEMPDB High avg write wait time(145ms) on Data files. Suspect Sharepoint might be the culprit any advice appreciated.

    mattmc (4/15/2014)


    Hi all,

    I am currently investigating aa high avg write time ms issue (145ms) which seems to be only occuring on the tempdb data files.

    Please note that I...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Calculate tempdb size for Read commited snapshot enabled

    vkundar (4/14/2014)


    Thanks Kevin.

    Yes I agree I do see many transacations ( data loading runs for a long time with open_tran value euther 1 or 2)

    I have asked the team...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Calculate tempdb size for Read commited snapshot enabled

    could be any number of things causing full tempdb: improper Cartesian products blowing up rowcounts, version store (possibly bloated due to suboptimal design/coding practices), massive sorts, massive hashes (often...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Cluster 2012 AlwaysOn-Two Secondary Replicas

    I don't click links like that, sorry. But a) what are you trying to accomplish and b) what error are you getting exactly?

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How do i change a string key to an int - normal methods not working!

    Riddle me this: what integer do you expect from this value: 'cht6p575l7ry61k1npt'??

    any non-integer values need to be discarded. Unfortunately that is really not that easy BEFORE SQL 2012....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: To find the SQL Statement

    Try out Grant Fritchey's free ebook on execution plans: https://www.simple-talk.com/books/sql-books/sql-server-execution-plans,-second-edition,-by-grant-fritchey/

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 2,071 through 2,085 (of 5,841 total)