Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)

  • RE: Retrieving Deadlock Graphs with SQL Server 2008 Extended Events

    I'm a little late getting into Extended Events but the code provided by Jonathan is great. I needed to trace some deadlock events on a SQL 2008 SP1 server...

  • RE: Weird grouping requirement

    Could you re-post the question in a manner which makes the desired result a little more clear. It looks like some of the results rows have commas and some...

  • RE: Issue Merge and Trace Flag 610

    The table being inserted into is empty, so no pages have been allocated to the table As for the data being order in the order of the clustered index,...

  • RE: Permissions

    Sunny,

    Maybe I don't understand your question, are you sure you want to use BCP for migration? How about creating a backup the current version of the database and restore...

  • RE: Retrieve User Network Name

    Yes, its possible. Try suser_name() instead of user_name.

    Example:

    select

    user_name() [user_name]

    ,suser_name() [suser_name]

  • RE: Reverse Engineer SQL Scrpts

    Depending on what kind of information you need sp_depends presents a good amount of information on what is being used in a procedure and to some degree how it is...

  • RE: Cluster failover

    Does the drive that SQL Server backing up to fail over with the SQL Cluster instance? Is there an existing physical drive on the new node with the same...

  • RE: Best Practice - What makes the most sense?

    David,

    No sorry I don't have know of any good doc's on how to do this, I normally turn to Books Online for this kind of thing. Snapshot Replication is...

  • RE: Best Practice - What makes the most sense?

    David,

    Is real-time access to the production data a requirement? If not how about snapshot replication? Or how about database mirroring with a database snapshot every few hours/days? ...

  • RE: creating an event class look up table

    I had the exact same need. Here is the code I wrote based on the 2008 R2 command sp_trace_setevent

    /**********************************************************************

    *Created by:sfibich

    *Created on:4/8/2011

    *ScriptName:trace.traceEventIDDesc.sql

    *Pupose:this creates a table named eventIDDesc in the trace...

  • RE: theSystem - Part III

    The plan is to allow users access to a set of stored procedures and other database objects that they will use to execute all game play. A front end...

  • RE: How to Handle NULL Values Loaded by SSIS from Excel Files

    I have to agree with David, IMEX=1 is a much easier solution and we use this at where I work with excel for a number of different packages. The...

  • RE: theSystem - Part II

    Sorry about any scripting issues, I ran a test in my development environment before posting. I thought I cleared everything out and built it from scratch but I must...

  • RE: Linked Server Optimization

    OpenQuery is a good way to go as well but this requires that this method is opened up to more than just the sysadmin role, something that we may not...

  • RE: Linked Server Optimization

    Good article, I would have liked to seen the exploration of a linked server in a openrowset subquery where you can have the where clause logic run on the remote...

Viewing 15 posts - 1 through 15 (of 16 total)