Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 5,841 total)

  • RE: Why blocking issue resolves by UPDATE STATISTICS?

    get sp_whoisactive from SQLBlog.com (v11.11 is latest last I heard) and use that to get all KINDS of important information about executions on your sql server

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

  • RE: Scalar user defined execution fails - Invalid object name 'fnContactFullName'.

    Smash125 (7/15/2012)


    Have created Scalar User Defined Function and when i try to execute the function it fails.What could be the problem

    Please find the function as below.

    CREATE FUNCTION fnContactFullName(@ID INT)

    RETURNS NVARCHAR(100)

    AS

    BEGIN

    DECLARE...

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

  • RE: What is the best way to encrypt SSNs and FEIN Numbers (Employer Tax ID Number) in SQL Server 2008?

    1) If you don't need true ENCRYPTION, then using a hash will be much better since you can still get seeks against a NC index on the column. This...

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

  • RE: pages/sec question

    chewychewy (7/15/2012)


    Hi Guys,

    Let's say my server has 16 GB physical ram. I have set the sql server max memory setting to 4 GB to cap it.

    If my sql server doesn't...

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

  • RE: Updating Unique Sequential NUmber

    Didn't fully read all posts here, but since this is a SQL 2008 forum, I would think MERGE would be the obvious solution that completely eliminates all concurrency/locking issues that...

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

  • RE: SQL Server 2008 Query Optimizing (alternate Method)

    You have views AND a table valued function in play here. There is no telling how complex and messed up the actual query is given those two things. ...

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

  • RE: update tigger not fire working

    1) As Jack pointed out, you REALLY need to do SET BASED processing in your triggers

    2) I would absolutely have THREE triggers for this stuff - one each for INSERT/UPDATE/DELETE....

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

  • RE: Best way to implement partitioning

    SQLKnowItAll (7/10/2012)


    TheSQLGuru (7/10/2012)


    SQLKnowItAll (7/10/2012)


    TheSQLGuru (7/10/2012)


    GilaMonster (7/9/2012)


    Couple steps back... Why are you partitioning? What's the purpose and expected gain?

    Spot-on Gail, as always.

    See this post: http://www.sqlservercentral.com/Forums/Topic1301588-1550-1.aspx#bm1302471

    Well, I might have made an...

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

  • RE: Best way to implement partitioning

    SQLKnowItAll (7/10/2012)


    TheSQLGuru (7/10/2012)


    GilaMonster (7/9/2012)


    Couple steps back... Why are you partitioning? What's the purpose and expected gain?

    Spot-on Gail, as always.

    See this post: http://www.sqlservercentral.com/Forums/Topic1301588-1550-1.aspx#bm1302471

    Well, I might have made an @$$ out...

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

  • RE: Best way to implement partitioning

    GilaMonster (7/9/2012)


    Couple steps back... Why are you partitioning? What's the purpose and expected gain?

    Spot-on Gail, as always.

    See this post: http://www.sqlservercentral.com/Forums/Topic1301588-1550-1.aspx#bm1302471

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

  • RE: Store Procedure Optimization

    rocky_498 (7/8/2012)


    Jeff,

    Thanks for your reply and advice, if you can show me right path/ articles/tutorials that you can think is good learning for me that would be great, if...

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

  • RE: Stripping off the time

    anthony.green (7/9/2012)


    This will do the trick

    DECLARE @d DATETIME = '1984-08-13 00:00:00.000'

    SELECT CONVERT(NVARCHAR(10),@d,120)

    Why are you converting to Nvarchar?? 2 bytes of storage for nothing there, isn't it?

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

  • RE: When to mess with CPU affinity?

    I will guess that you are on VERY old hardware given your OS and SQL Server version. The best thing you can do in that case is to move...

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

  • RE: SQL + PGP = head aching

    weevil (7/5/2012)


    Some great suggestions here guys, its a great help. I have a workshop with the client in a few days. It seems there is indeed more than...

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

  • RE: Transaction Log Shipping setup with transaction log restores?

    ronald.dirkx (7/3/2012)


    hi all,

    we need to set up Transaction Log Shipping on a production server. The issue we are facing upfront is that it will be virtually impossible to make a...

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

Viewing 15 posts - 2,851 through 2,865 (of 5,841 total)