Forum Replies Created

Viewing 15 posts - 10,996 through 11,010 (of 22,214 total)

  • RE: Unable to create a plan guide for a SELECT statement inside a stored procedure

    From what you described, it doesn't sound like you need a plan guid. Just add the query hint directly to the query.

    Creating plan guides, every single bit of white space,...

  • RE: can i use replication ? what is your idea?

    You could use merge replication to ensure that the same data goes to all three servers, regardless of which one inputs the data. But that requires changes to your table...

  • RE: Trace a particular sp

    If you're working in 2008 or better in SQL Server, I strongly recommend you use Extended Events. That's the least intrusive way to gather metrics. There's no GUI available unless...

  • RE: Dead logs while log backup is running

    You're getting deadlocks from your backup software? That's really not good. Contact the vendor. If they don't have an immediate fix, find another vendor. I have a suggestion on...

  • RE: User Activity

    Monitoring the server generally means gathering different kinds of performance metrics. SQL Server comes with four tools that allow you to set this up on your own, Performance Monitor, Server-Side...

  • RE: Custom backup filename

    You will have to use T-SQL and set it up to execute in a dynamic manner as noted above. Use GETDATE() to get the date and time and format it...

  • RE: Are the posted questions getting worse?

    Another topic shift:

    WHOOP! I'm getting to publish my article on catastrophic data loss wherein I get to call companies out by name! Yippee! Includes one link to my favorite,...

  • RE: Please help with my data data model design.

    Dev (4/25/2012)


    I feel interim table is unnecessary here. We can simplify the relationship between person & address as one-to-many. With this we will lose the flexibility to map one address...

  • RE: Too low on free pages

    Free pages isn't really a great performance counter for monitoring the server. It just indicates how the buffer manager is moving stuff around. You'd be better off looking at page...

  • RE: timeout even after (NoLock)??

    Using NOLOCK can reduce blocking (and introduce all kinds of cool errors) but it doesn't eliminate resource contention. If you have other queries on the system that are using up...

  • RE: How to get insert query..?

    manoj_lanser (4/25/2012)


    I don't want that insert generate script.I want to see which insert query is used in inserting data into the table.

    Totally different.

    If the inserts have already happened, the only...

  • RE: Table Indexing

    Agree with what everyone said regarding the clustered index on the ID column. I don't think it's the way to go.

    As far as getting index scans goes, it really comes...

  • RE: How to get insert query..?

    You can get a generated query. Within SQL Server Management Studio (SSMS) right click on the table and select "Script Table As" from the context menu. You'll see a second...

  • RE: Database translog backup when database offline

    You'll get an error. Whether or not it stops the process, I can't say, not knowing what kind of code you have, error trapping, etc.

    I would suggest that it's more...

  • RE: Executing function on 2008 Server from 2005 Server

    Since that data type isn't supported in 2005, you need to get all the data to filter first on the 2008 server. Have you tried running the same query using...

Viewing 15 posts - 10,996 through 11,010 (of 22,214 total)