Viewing 15 posts - 24,166 through 24,180 (of 59,099 total)
pretea (3/13/2014)
It is how the vendor sent in the script?Other thing I can try is to ask them to load data into text file and use BCP.
Heh... I can...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 11:06 am
pretea (3/13/2014)
I have multiple (individual) insert statement to insert around 2 million rows (using sqlcmd because the insert stament is around 8 thou lines).
It took about an hr to insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 10:20 am
gfoulks (3/13/2014)
Anyway I created the trigger suggested replacing my example data with the data that I want to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 10:16 am
GilaMonster (3/13/2014)
Jeff Moden (3/12/2014)
Using "Statistics TIME, IO" will also be way off if there are any non iTVF functions in the mix.
IO will be. Time, if you look at the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 8:53 am
GilaMonster (3/13/2014)
Jeff Moden (3/12/2014)
Yes... according to MS definitions... which I happen to disagree with and only because they cause so much confusion. 😉
According to how things behave. Adding a third...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 8:46 am
simflex-897410 (3/13/2014)
Thanks so much for your help sir.
Yes, you are right; I should know better - sorry about that.
I am trying to test your code but keep getting errors.
First...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2014 at 8:38 am
sqlbuddy123 (3/12/2014)
fsession12 39949 (3/12/2014)
Just had a potential reduce right here so my site may well not been employed before, all...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:51 pm
rajemessage 14195 (3/3/2014)
I have to call few strored precedure like sp1 sp2 sp3 from spmain.
spmain will be scheduled and it will run on time basis.
i want to trap each...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:44 pm
Although it's a bit dated, I still consider the following article to be one of the best on the subject of Temp Tables vs Table Variables.
http://www.sqlservercentral.com/articles/Temporary+Tables/66720/
My personal feeling, especially when...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:39 pm
I'd send them their requirements back with a % (0-100%) with 0% having no clue and 100% being an absolute master on the requirement for each requirement they have. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:31 pm
pietlinden (3/12/2014)
That's not a pivot.Easiest way to do what you are describing is to use Reporting Services and add a Grouping level to your table.
So let's see the easiest way....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:10 pm
simflex-897410 (3/12/2014)
When I run the following query:
SELECT ElectionName, Position, CandidateName, c.PositionId,CurrentOfficeHolder,AnswerType FROM Candidates c
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 11:08 pm
SQLRNNR (3/4/2014)
In addition, you could use statistics time and statistics IO.
Examining the execution plan can really help to determine if...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 9:01 pm
It could be that you're clearing the cache but not the execution plan. Try adding a CHECKPOINT and DBCC FREEPROCCACHE before the DBCC DROPCLEANBUFFERS and see what you get.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 8:56 pm
Partitioning helps on something like this but not when you change 50% of the table, which is exactly what you're doing with the Client2 insert. Change that to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 12, 2014 at 8:49 pm
Viewing 15 posts - 24,166 through 24,180 (of 59,099 total)