Viewing 15 posts - 31 through 45 (of 79 total)
http://msdn.microsoft.com/en-us/library/ms173763.aspx
It is SET at the connection level as stated in Books On line.
By default SSIS tasks like [Execute SQL] or [Data Flow], open a connection upon start and close...
John Miner
Crafty DBA
www.craftydba.com
April 2, 2013 at 9:53 am
Well you did not specify that it was not sorting in the order you wanted, numeric first by value, character next. It sounded like it was an issue with...
John Miner
Crafty DBA
www.craftydba.com
December 18, 2012 at 8:19 am
It sounds like you have the data in both a csv file and in a MS Access table.
If I am wrong, please tell me.
1 - Use the import / export...
John Miner
Crafty DBA
www.craftydba.com
December 17, 2012 at 9:21 pm
There is not guarantee to order with a union or selecting from a heap.
Use separate inserts to make sure order is preserved as below.
-- Create table
CREATE TABLE #varchar_field1
(
ID...
John Miner
Crafty DBA
www.craftydba.com
December 17, 2012 at 8:55 pm
Hi Sharky,
I do not totally agree with you!
A - Did you even look at Glenn Barry's scripts?
-- Top Cached SPs By Total Worker time (SQL 2008). Worker...
John Miner
Crafty DBA
www.craftydba.com
December 17, 2012 at 2:51 pm
Again, a job is one way to do this.
See "Set Job Step Success or Failure Flow" - http://msdn.microsoft.com/en-us/library/ms177461.aspx - Conditions for optional execution.
I tried to elaborate more on...
John Miner
Crafty DBA
www.craftydba.com
December 17, 2012 at 1:44 pm
It all depends upon the target database server. http://msdn.microsoft.com/en-us/library/ms188279.aspx
This link has a nice diagram for linked servers. As you can see, the provider can be anything. With...
John Miner
Crafty DBA
www.craftydba.com
December 17, 2012 at 1:34 pm
Hi shatrughna,
Interesting idea from Oralce to use a select to do the lock first. Look at the note section since this applies to SQL Server.
---
Link:
http://docs.oracle.com/cd/E17952_01/refman-5.1-en/innodb-locking-reads.html
Note:
Locking of rows for update...
John Miner
Crafty DBA
www.craftydba.com
December 16, 2012 at 9:51 pm
Hi All,
First, I am assuming that you are using at least the standard or higher version of SQL Server.
I think the Express version does not have the agent.
The SQL Server...
John Miner
Crafty DBA
www.craftydba.com
December 16, 2012 at 9:33 pm
Hi vijayarani
I took the liberty of changing the table aliases to a two character abreviation to make the code simple.
I reformatted the select statement. The condition of the table...
John Miner
Crafty DBA
www.craftydba.com
December 16, 2012 at 9:12 pm
Hi Guys,
I took a look at the MSDTC article. I have been down that path before during setup.
I guess the question is why use a transaction at all when...
John Miner
Crafty DBA
www.craftydba.com
December 15, 2012 at 9:18 pm
Create a job named J. Schedule each call as a seperate Step.
As a default, the error in the Stored Procedure will be returned to the job.
Use the conditions on...
John Miner
Crafty DBA
www.craftydba.com
December 15, 2012 at 9:03 pm
Take a look at Brent Ozars article on "playing doctor".
It lists a bunch of free scripts out there to help identify problems such as high CPU.
http://www.brentozar.com/sql-server-training-videos/playing-doctor-with-dmvs/
Take a look at the...
John Miner
Crafty DBA
www.craftydba.com
December 15, 2012 at 8:58 pm
This renaming of a server article has a code snipet to find all the instances.
John Miner
Crafty DBA
www.craftydba.com
December 15, 2012 at 8:46 pm
I agree with sgmunson that most of these posts do not have enough information to make a judgement call.
However, this is what I am thinking.
1 - You said that when...
John Miner
Crafty DBA
www.craftydba.com
December 15, 2012 at 8:42 pm
Viewing 15 posts - 31 through 45 (of 79 total)