Viewing 15 posts - 1 through 15 (of 16 total)
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...
January 27, 2012 at 8:36 am
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...
September 21, 2011 at 10:12 am
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,...
September 21, 2011 at 10:04 am
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...
September 16, 2011 at 1:40 pm
Yes, its possible. Try suser_name() instead of user_name.
Example:
select
user_name() [user_name]
,suser_name() [suser_name]
September 16, 2011 at 9:10 am
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...
September 15, 2011 at 9:21 am
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...
September 14, 2011 at 1:27 pm
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...
September 14, 2011 at 1:20 pm
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? ...
September 14, 2011 at 12:57 pm
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...
April 8, 2011 at 12:06 pm
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...
July 1, 2008 at 12:01 pm
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...
April 28, 2008 at 1:16 pm
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...
April 16, 2008 at 6:18 pm
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...
March 7, 2008 at 9:33 am
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...
March 7, 2008 at 6:09 am
Viewing 15 posts - 1 through 15 (of 16 total)