Viewing 15 posts - 1,891 through 1,905 (of 5,394 total)
This means that you have a bad plan in the cache. The bad plan could come from stale statistics at the moment the plan was calculated.
Try updating stats and issue...
February 15, 2012 at 8:18 am
I think that *real* replication (transactional IMHO) would suit better here.
Is this one way or you need data to be replicated bidirectionally?
February 15, 2012 at 8:16 am
Paul White blogged about simulating sequences in SQL Server here.
February 15, 2012 at 5:26 am
It can't be done exactly that way. A DML statement is executed completely or not executed at all.
However, you could check the values in advance and import valid rows only.
February 15, 2012 at 5:22 am
GilaMonster (2/15/2012)
Gianluca Sartori (2/15/2012)
Null_Bitmap = 2 + ((Num_Cols + 7) / 8)
This suggests it could change. I've never seen this happening...
February 15, 2012 at 3:11 am
paul.knibbs (2/15/2012)
GilaMonster (2/14/2012)
Adding a nullable column is the same.
Is it possible it would have to expand the size of the NULL bitmap to accommodate the extra column, or is that...
February 15, 2012 at 2:42 am
No need to write C# code.
A simple UPDATE will be enough:
DECLARE @sampleData TABLE (
telephone varchar(20)
)
INSERT INTO @sampleData VALUES('9217335621')
INSERT INTO @sampleData VALUES('9217854234')
INSERT INTO @sampleData VALUES('9217115526')
INSERT INTO @sampleData VALUES('9217418795')
INSERT INTO @sampleData VALUES('9217417896')
UPDATE...
February 15, 2012 at 1:50 am
chandrika.r 91171 (2/14/2012) via Private Message
February 14, 2012 at 6:55 am
You're welcome.
Glad I could help.
February 14, 2012 at 6:54 am
1. Download sp_WhoIasActive
2. Run the script to create the stored procedure
3. Start the SSIS package via job
4. Open a new query editor window in SSMS and type:
EXEC sp_WhoIsActive @get_outer_command =...
February 14, 2012 at 5:08 am
s_osborne2 (2/14/2012)
Thanks, i'll try your 2nd suggestion in a moment. In the meantime i thought you might find the attached amusing based on the first suggestion.
I mean that you could...
February 14, 2012 at 4:55 am
You could:
1) Start the browser from the command line and capture the output. Maybe there's something useful in there.
2) Trace the process with Sysinternals' Process Monitor and see if there's...
February 14, 2012 at 4:37 am
guruprasad1987 (2/14/2012)
Hi all,this is the question asked in my previous interview.. How to select column 11 to nth from a table..
This is one of the dumbest questions I have ever...
February 14, 2012 at 3:48 am
You could quey locks being held on the table in sys.dm_tran_locks.
I would not re-invent the wheel, however, I would rather pick a ready-made tool like Adam Machanic sp_WhoIsActive.
With that procedure,...
February 14, 2012 at 3:37 am
Viewing 15 posts - 1,891 through 1,905 (of 5,394 total)