Forum Replies Created

Viewing 15 posts - 22,321 through 22,335 (of 39,961 total)

  • RE: Hacked - what's the best way to restore?

    You could restore, or you could also issue an update to remove this data.

    Update mytable

    set mycol = replace( '<script src=http://www.bannerdriven.ru/ads.js></script>', '')

    You definitely want to examine the code where this...

  • RE: SQL Server did not release space

    Aside from Jeffrey's nice explanation, if you shrink, shrink to the level (target) that holds your data AND has space for a reindex of your largest table, AND leaves some...

  • RE: T-SQL and UPDATE - How smart is SQL with UPDATEs?

    In addition to Matt's note, a WHERE clause definitely helps. At the very least it's less log records to write and then backup, store on disk, etc.

    However indexing matters, and...

  • RE: Using master,Transaction table how to write a single query

    I too cannot follow what you are looking for. You either need a CASE in the SELECT list, or something in the WHERE clauses, but it's not clear.

    When you show...

  • RE: Audit Log Question - May be silly

    I'm a bigger fan of #2. You can join to the main table, but I've seen performance problems with this when you have people doing a lot of auditing....

  • RE: SQL server 2008 Build List

    If you are installing SQL Server 2008 on the production server, I'd recommend you install Service Pack 1 for SQL Server 2008 and stop. The cumulative updates are not regression...

  • RE: Mr or Mrs 500

    I like baseball 🙂

    Open to suggestions for better names. I think I set these up during the playoffs in 2005 or 2006

  • RE: Hacking attempts

    No idea, I'm deleting them as I find them, or they get reported.

    Mostly I think it's a few people behaving badly.

  • RE: spam posts and duplicate registrations

    Feel free to report these with the "report" button. No comment needed, I'll delete them.

  • RE: Joining Multiple Select Queries From the Same Table

    I was thinking the multiple CTEs. The idea being to abstract out those subqueries and make them easier to code without having to create a view. I think it works...

  • RE: Database Mirroring Issue

    Mirrored on this same server? I'm worried that the firewall or network is limiting the comm back from the DR server to the production server. That's why I'd test a...

  • RE: Examples of Reporting Services

    I saw a produce recently that would move SSRS into Silverlight, so I'm sure that it is used as web reporting. It's that I don't know anyone touting it as...

  • RE: Need a named instance to act as a default instance

    Are they saying they have a hard coded connection string? I'd ream the vendor if this is the case.

    The alias could be anything. You give it a name and then...

  • RE: Different kind of PROBLEM with the PROC...

    I don't see a logical reason in there either. Have you tried grabbing @@TRANCOUNT in between all the try..catches to see if it's actually being increased and you have an...

  • RE: Database Mirroring Issue

    I would lean towards a bug, or a network issue. Can you try this? Create a small db, say 1MB, mirror it to the DR server. Create a table in...

Viewing 15 posts - 22,321 through 22,335 (of 39,961 total)