Forum Replies Created

Viewing 15 posts - 61 through 75 (of 312 total)

  • RE: AG Failover alert

    still no luck.

    EXEC msdb.

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Ola hallengren script for DBIntegritycheck

    I ran the same script on another server running on the same version of SQL Server and it is running just fine.

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: SSIS package + issues with scheduling a package.

    That path doesn't exist on the server. We normally don't create any packages on the server. We use some network location where all the packages are. I was thinking about...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Extended events to capture login info, tablename, DB name, application name...

    Got it.
    select top 10
    xevents.event_data.value('(event/action[@name="sql_text"]/value)[1]', 'nvarchar(max)') AS [sql_text],
    xevents.event_data.value('(event/action[@name="username"]/value)[1]', 'nvarchar(max)') AS [UserName],
    xevents.event_data.value('(event/action[@name="database_id"]/value)[1]', 'nvarchar(max)') AS [DBName],
    xevents.event_data.value('(event/action[@name="client_hostname"]/value)[1]', 'nvarchar(max)') AS [client_hostname],
    xevents.event_data
    from sys.fn_xe_file_target_read_file
    ('D:\ExtendedEvents\Query.xet',
    'D:\

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Extended events to capture login info, tablename, DB name, application name...

    So I found something useful on MSSQLTIPS.com but I am wondering if we can insert the result from this event into a SQL table?

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Need help with SQL trace

    GilaMonster - Wednesday, October 31, 2018 3:50 PM

    A .trc file is a binary file, so you should expect to get garbage when...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Move old DBs to new existing servers.

    Grant Fritchey - Thursday, October 25, 2018 1:43 AM

    Strong recommendation, turn on query store on the databases you migrate from pre-2014 servers...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Move old DBs to new existing servers.

    goher2000 - Wednesday, October 24, 2018 2:07 PM

    b4 u begin, make sure apps are not using depreciated features.

    Ah ha, didn't think about...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Move old DBs to new existing servers.

    Chris Harshman - Wednesday, October 24, 2018 2:02 PM

    Are you doing these steps during off hours when no one is in the...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Move old DBs to new existing servers.

    chuck.forbes - Wednesday, October 24, 2018 1:08 PM

    Determine if you want to alter the compatibility level to match with your 2016 install....

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Need to change the connection string because the app is pointing to an old server

    Thanks for the reply but the problem is (and trust me, its a really strange situation) that the connection string doesn't have the server name. I think all I saw...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Unable to start the trace

    GilaMonster - Tuesday, October 16, 2018 11:31 AM

    SELECT * FROM sys.traces (fn_trace_getinfo has been deprecated for years)

    Thanks!

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Unable to start the trace

    GilaMonster - Tuesday, October 16, 2018 9:15 AM

    Again, you don't have to run the setstatus separately (and you probably shouldn't), the script...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Unable to start the trace

    GilaMonster - Tuesday, October 16, 2018 9:08 AM

    What error are you getting?

    Note that you don't have to run sp_trace_setstatus separately. It's part...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

  • RE: Unable to start the trace

    jasona.work - Tuesday, October 16, 2018 9:05 AM

    And what is the error you're getting, either when you run the code or in...

    "He who learns for the sake of haughtiness, dies ignorant. He who learns only to talk, rather than to act, dies a hyprocite. He who learns for the mere sake of debating, dies irreligious. He who learns only to accumulate wealth, dies an atheist. And he who learns for the sake of action, dies a mystic."[/i]

Viewing 15 posts - 61 through 75 (of 312 total)