Forum Replies Created

Viewing 15 posts - 361 through 375 (of 1,048 total)

  • RE: Database Mail fails to send with no errors in sysmail_event_log

    Good point Lowell, I have seen that myself. He said he had restarted the services so assumed he had already done that.

    You can also use set NEW_BROKER if the db...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Database Mail fails to send with no errors in sysmail_event_log

    can you actually ping the SMTP server from the SQL server box? Are you going through a firewall?

    If service broker is running and you've set up the accounts and...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Unable to remove an empty filegroup!

    If you moved tables from the file group by rebuilding the clustered index to another file group that will not move any non-clustered indexes on the table(s). You'll have to...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Efficiency of a "Most Recent for Each" join

    I would probably use a cte, something like this:

    ;

    with MostRecentCalls as (

    select CustomerID, max(ID) as callID

    from CustomerCalls

    group by CustomerID

    )

    select a.CustomerID, a.CustomerName, ..., C.CallDate, C.CallerID, C.CallDuration, ...

    FROM Customers a

    ...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: BCP - Executing Stored procedure throwing error

    Are you using the same login for testing the stored proc as that being used to execute the BCP command?

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Interesting issue compiling/running stored-proc with a linked server in it

    That's just how it works. You could use dynamic SQL to avoid the issue, but make sure you use try - catch to handle any run time permission/connectivity issues.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: File rename saving as @MyFileNametxt

    try it this way:

    declare @execmd varchar(4000)

    set @execmd = 'execute master..xp_cmdshell ''RENAME "D:\WebFiles\Web Update File Out\*** Update Files\RASS_ASR_ALL.txt" "' + @MyFileNametxt +'"'

    exec(@execmd)

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: A Refreshing Break

    Good advice Steve. Too often I've found myself so caught up in work related and other issues to the detriment of being able to more fully appreciate and enjoy the...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Thinking Time

    Thinking time is important, but only by half. The other half is actually documenting the results of your thinking processes along with any conclusions you came up with.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1.

    change your severity to 11

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Virtualization skill and SQL Server

    I concur with perry that the pros and cons and pitfalls of virtualization need to be embraced by any well rounded DBA.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Carriage Return, Line Feed not working when trying to format the body of email

    For HTML use "

    " (that is lessThan BR greaterThan) for line break.

    as expected the HTML line break was implemented literally in my reply. 🙂

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: More SQL Injection

    I agree with your points Steve. Interestingly, I think this dovetails nicely into the "don't criticize the code" discussion. It seems easy to justify ("management made me do it...") release...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Don't Criticize Code

    L' Eomot Inversé (11/17/2011)


    sturner (11/16/2011)


    I despise poorly written code and the reasons are many:

    * usually consumes (wastes) precious resources (memory, CPU, I/O)

    * exhibits poor concurrency

    * poor scalability

    * poor documentation

    The typical...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Don't Criticize Code

    majorbloodnock (11/17/2011)


    That doesn't necessarily excuse the cludge, but it may not be the person who put it in who is ultimately at fault, and I refuse to damn someone...

    The probability of survival is inversely proportional to the angle of arrival.

Viewing 15 posts - 361 through 375 (of 1,048 total)