Forum Replies Created

Viewing 15 posts - 871 through 885 (of 5,841 total)

  • RE: Assistance with CROSS APPLY with multiple tables

    pietlinden (7/15/2016)


    Kevin,

    Does your computer automatically play Pink Floyd whenever you're forced to work on it...? The till working in the background might be good incentive...

    HAH!! Love that one! I...

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

  • RE: Migrating to AWS from on-premise.

    How can we (or you or the client) know if a database server-level time-zone change will affect any portion of a sql server database(s) or application(s) that hit said database(s)?...

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

  • RE: Execute Proc at Startup Question

    Make a sproc that does SELECT 1/0 and mark it as start up and start the instance. Voila, you will see what happens (and what is logged in the error...

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

  • RE: Assistance with CROSS APPLY with multiple tables

    I TOTALLY LOVE working with Cognos and Business Objects clients because I get to make GOBS OF MONEY trying to decipher and tune horrible stuff like that!!! 😎

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

  • RE: Unable to delete from the table, takes forever

    Why didn't you provide the query plan?!? I will ask again that you get the query plan for the DELETE and provide it here.

    Now that we have additional information that...

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

  • RE: Trigger Help

    You could do what you want to do and it will work just fine. There are many examples to be found of simple trigger code like you need.

    I would still...

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

  • RE: Compare multiple rows in same column

    assuming you have a guarantee that only 1 and 3 or the other possible values and you can't have more than one of either it is simply this:

    select person

    from table

    where...

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

  • RE: Unable to delete from the table, takes forever

    1) What is the estimated query plan for the delete? If you are doing a table scan of a billion row table to delete 6000 rows it could take a...

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

  • RE: SQL Server Latches and indication of performance issues

    Could you please help me as soon as possible.

    This seems to be a time-sensitive matter. You have gone back and forth for 3 days now and I promise you that...

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

  • RE: Nested quotes help

    Check out SET QUOTED_IDENTIFIER OFF. Now you no longer have to worry about how dang many single quotes you need to get your dynamic sql to be parsable! 😎

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

  • RE: Monthly Partition logic

    1) Going to be blunt here, sorry: You should absolutely not be responsible for this evolution. Partitioning is a VERY COMPLEX SUBSYSTEM, with LOTS of caveats, limitations, gotchas, provisos, etc....

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

  • RE: SQL Plan cache flushing issue.

    mbbalaji (7/14/2016)


    We have SQL Server 2012 SE in DR site. (log shipping configured every 15 min).

    Physical memory : 64 GB. allocated for instance 19GB.

    While monitored the server performance found that...

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

  • RE: Tempdb datafiles is getting full and not able shrink

    Your error message explicitly states that row versions are in play. Since you said no snapshot isolation, look into trigger usage, MARS usage or online indexing:

    https://technet.microsoft.com/en-us/library/ms175492(v=sql.105).aspx

    A simple web...

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

  • RE: Sync table in two different database (different Server)

    Minnu (7/14/2016)


    Hi Team,

    Below is my scenario.

    Server 1

    Database Name : UNIFY

    Table Name : User

    No.of Columns : 50

    String Datatype : Varchar

    No.of Records : 10000

    Server 2

    Database Name : UNIFY

    Table Name : User

    No.of Columns...

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

  • RE: Trigger Help

    Foreign Keys are an important part of the data integrity problem (and can also offer benefits to the optimizer in some cases).

    I agree with the other poster that a...

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

Viewing 15 posts - 871 through 885 (of 5,841 total)