Forum Replies Created

Viewing 15 posts - 106 through 120 (of 1,079 total)

  • RE: The target database, '', is participating in an availability group and is currently not accessible for queries.

    Run Profiler against the secondary non-readable instance to catch attempted sessions and logins being made to the instance.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: The target database, '', is participating in an availability group and is currently not accessible for queries.

    Are you doing this on your non-readable secondary database? If yes, then you are seeing the correct message. 
    It has to be the Primary (RW) or at least Readable Secondary...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: The target database, '', is participating in an availability group and is currently not accessible for queries.

    That error will only present itself if you have an AG, and applications/users are trying to run update/delete/inserts to the secondary instance/replica DB. 
    Trace where those queries are coming from,...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Availability Groups in 5 Minutes

    https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/creation-and-configuration-of-availability-groups-sql-server
    https://www.brentozar.com/sql/sql-server-alwayson-availability-groups/

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Struggling with bcp on a particular file...

    Eric Mamet - Friday, May 19, 2017 9:01 AM

    Had never heard of the RAW option.

    I'll give that a shot (on Monday!)

    Thanks

    It...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Struggling with bcp on a particular file...

    Have you tried the -C options with RAW?

    -C { ACP | OEM | RAW | code_page }

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Rename server after renaming host

    Did you restart SQL after sp_drop and sp_addserver? You need to. 
    Be sure to perform the SP steps:

    sp_dropserver <old_name>;GO
    sp_addserver <new_name>, local;GO

    When checking...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: basic qn about tlog files

    No, but you will lose the option to backup Transaction logs and restore from thereon.
    Recovering might end up in data loss.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: query GROUP BY with multiple columns

    Provide the table DDL and insert script for some sample data please.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Query to fill in parent

    Please post DDL and sample data for quicker assistance.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: tempdb: filegroup is full while space is available both in filegroup & transaction log

    I've seen 'dbo.SORT' being full specifically when you have set to sort an index rebuild to SORT_IN_TEMPDB.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: SQL Server 2016 Enterprise Edition

    From your post I assume you have some layer of virtualization, and all VMs running on this one host. 
    If you have an EA, you should fully license all the...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Batch Preceding

    TomThomson - Tuesday, May 16, 2017 3:01 AM

    Simple enoough, but the fact that the newly created stored procedure will fail if it's...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: DB size grown from 180 GB to 340GB in 3 months. Wants to bring back to 200GB DB size.

    Have you considered data compression?

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: How can I have multiple cubes based on the same structure where the underlying data that is sub divided by company?

    RonKyle - Friday, April 28, 2017 12:40 PM

    Use one cube and apply dimension permissions to each company for their data only....

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

Viewing 15 posts - 106 through 120 (of 1,079 total)