Forum Replies Created

Viewing 15 posts - 376 through 390 (of 1,583 total)

  • RE: Catch Block with GOTO statement

    This should work for you (create a variable and set the @@ERROR to it, then test for it before you attempt the xp_cmdshell)DECLARE @Err INT

    BEGIN TRY

    BEGIN TRANSACTION

    <A whole bunch of...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Are there security issues with SQL Authentication for a read-only account?

    cafescott (3/6/2014)


    I understand how repeated querying can slow down a production server. In this case, the database is small enough that I don't think it will be a problem.

    The...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Index Operational stats?

    Furthermore, check out Brent Ozar's sp_BlitzIndex (as Jack mentioned) - it does a good job of isolating potential indexes that are not used, and/or ones that are potentially duplicated: http://www.brentozar.com/blitzindex/

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Are there security issues with SQL Authentication for a read-only account?

    First off I would recommend determining exact which data the analysts needed data to. Define this list clearly beforehand and obtain approval from the wary executive (who should be...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: AS A DBA WHAT I NEED TO CHECK WITH SQL SERVERS MY DAILY,WEEKLY,MONTHLY .

    And....Blitz! :w00t:

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: sp_create_trace script

    Weird. Have you tried just using an int?

    "Parameters of all SQL Trace stored procedures (sp_trace_xx) are strictly typed. If these parameters are not called with the correct input parameter data...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Index Operational stats?

    To aid what Jack has already said, use the DMV to get a better idea of whether or not the index is actually used...and remmber to keep in mind that...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: What's the best way to create/maintain a test database in development from Production?

    Lowell (3/5/2014)


    i thought log shipping was just building an always-in-recovery unaccessible copy of the database that is there in case of disaster recovery, and is not editable or...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: BCP quits

    What's your default remote connection timeout set to on the server?

    Please refer to the articles below, which may point you in the proper direction -

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5d79dd2b-9237-4f65-9f68-dadb347e329a/unable-to-complete-login-process-due-to-delay-in-opening-server-connection-in-sql-server-2008

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

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Replciation Monitor in RED State

    Right-clicking on the Agent should give you the option to "View Details", then switiching between tabs (of the Publisher/Distributor) you should see the last error that was recorded there).

    Since all...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: E-Mail notifications occurring on success despite configuration in job

    Glad to hear that!

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: sp_create_trace script

    Check the data type for your last parameter, per the link below it needs to match the value in the trace that you are looking up (which in this case...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Linked server to Access

    Did you set up an ODBC connection first from your machine, and reference that DSN in your linked server setup? If so, check that you created a System DSN and...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Pipe Row to Column

    I believe this is what you are looking for, check out this article by Jeff Moden - http://www.sqlservercentral.com/articles/T-SQL/63003/

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: compare records in tables

    Yes good effort, but what we really need is a script we can run to set everything up with little to no effort. Everyone here is willing to help...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

Viewing 15 posts - 376 through 390 (of 1,583 total)