Forum Replies Created

Viewing 15 posts - 2,191 through 2,205 (of 5,841 total)

  • RE: Troubleshoot sp that hangs

    You have given us exceptionally little to go on here, so this is just an educated guess (albeit backed up by 45000 man hours invested in SQL Server) 😎

    In your...

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

  • RE: Is their a variation on RBarry Young's function that allows you to get the cities and states X miles from a long and lat value ?

    What city data do you have? Given that this is SQL 2012, I would do this using Spatial data types and the NEAREST capability (or more likely Isaac...

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

  • RE: INSERT..SELECT - CPU single core bottleneck

    greg.bull (2/3/2014)


    Dear All,

    I'm using INSERT..SELECT to gather data from a complex query into a holding table, this happens right at the start of an SP. The data is then used...

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

  • RE: Searching all tables for a value, return table name

    RTaylor2208 (2/3/2014)


    If you use the extract string to search in google what Jeff added the 3rd result i found was this:

    http://gallery.technet.microsoft.com/scriptcenter/c0c57332-8624-48c0-b4c3-5b31fe641c58

    Looks like a solution indeed. Kinda spiffy functionality too!

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

  • RE: Old SQL Code and Compatibility

    SQL 2012 SP1 CU8 Dev edition, the first of these works fine, second throws the listed error:

    SELECT A.*, B.*

    FROM A, B

    WHERE A.A = B.a

    SELECT A.*, B.*

    FROM A, B

    WHERE A.A *=...

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

  • RE: Islands question - I cannot channel Itzik this morning...

    Douglas Osborne-229812 (1/30/2014)


    Guys,

    Those were great suggestions.

    I solved it in a different way - which I will post - thanks for all of examples.

    We are on 2008R ourselves, we are hopefully...

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

  • RE: Old SQL Code and Compatibility

    Jeff Moden (1/30/2014)


    ChrisM@home (1/30/2014)


    homebrew01 (1/30/2014)


    We haven't written any code like that in a while. It is easy to search for '*=' and find the left joins. Not so easy...

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

  • RE: tempdb data and log file locations

    PHXHoward (1/30/2014)


    Oh and as for sizes, server team gives us 50GB for C, and I usually request 250GB for data on D and 100GB for logs on L and 100GB...

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

  • RE: Data Directories configuration for AlwaysOn.

    Mani-584606 (1/30/2014)


    I always used to create and configure the Data Directories as below:

    Instance one on Node1:

    Instance Name: AlwaysOnAG1\INS1

    E:\SQLData\INS1

    F:\SQLLogs\INS1

    Instance two on node2:

    Instance Name: AlwaysOnAG2\INS2

    E:\SQLData\INS2

    F:\SQLLogs\INS2

    If we wanted to use Always on Availability...

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

  • RE: Always On: Backup on Secondary question

    DBANoobie (1/30/2014)


    Hello all-

    I was hoping someone can shed some knowledge on Always On for me when it comes to back up on the secondary.

    The four options are:

    1. Only on the...

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

  • RE: Do we need Quorum Disk or not

    DBANoobie (1/30/2014)


    I thought quorum rules indicate you need a odd number for your cluster for fail over or something like that? Then again I am still learning about Always On...

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

  • RE: Islands question - I cannot channel Itzik this morning...

    Luis Cazares (1/30/2014)


    Nevyn (1/30/2014)


    Using the analytic functions...

    I need a 2012 instance at work 😀

    SQL 2012 and the improved Windowing Functions TOTALLY ROCK from a functionality and coding perspective (once you...

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

  • RE: tempdb data and log file locations

    PHXHoward (1/30/2014)


    Building an answer file for unattended SQL Server installations. I have C:, D:, L:. and T: available.

    I was thinking of

    C: for OS

    D: for system and user data files

    L:...

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

  • RE: AlwaysOn sometimes becomes out of sync

    1) are the machines using name resolution of any kind to know who the other is? I would look there if so.

    2) do a file IO stall and wait...

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

  • RE: Restore succeeded but Data is different?? What? Is this possible?

    DominantDBA (1/29/2014)


    I ran a DBCC CHECKDB on B and its fine with different data(correct) in that row than on C. So Im happy with the data in the primary

    The same...

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

Viewing 15 posts - 2,191 through 2,205 (of 5,841 total)