Viewing 15 posts - 286 through 300 (of 441 total)
moramoga (5/5/2009)
In a query I need to multiply a int with a decimal(18,2)....but the result is always giving me 6 decimals.....like 1500.000000. How can I cast it or format...
May 5, 2009 at 10:58 am
Grant Fritchey (4/21/2009)
That is a fantastic document isn't it?
Ok, thanks guys for the link, I started reading the document, and it looks really interesting. I'll have probably have to have...
April 22, 2009 at 7:01 am
Nicholas Cain (4/21/2009)
April 21, 2009 at 2:30 pm
J-F Bergeron (4/21/2009)
Nicholas Cain (4/21/2009)
oops, sorry
DBCC SQLPERF(WAITSTATS, CLEAR);
Ahhh!! Looks a lot more accurate now!
Here are the results...
LAZYWRITER_SLEEP222200010000
SQLTRACE_BUFFER_FLUSH52000040000
LOGBUFFER5001248412546
SLEEP_BPOOL_FLUSH5357421780
WRITELOG2413903750
PAGEIOLATCH_SH41671780
PAGELATCH_UP129629615
PAGEIOLATCH_EX462150
PAGEIOLATCH_UP246310
Can you see clearer in those? How do I know what they do,...
April 21, 2009 at 12:36 pm
Nicholas Cain (4/21/2009)
oops, sorry
DBCC SQLPERF(WAITSTATS, CLEAR);
Ahhh!! Looks a lot more accurate now!
Here are the results...
LAZYWRITER_SLEEP222200010000
SQLTRACE_BUFFER_FLUSH52000040000
LOGBUFFER5001248412546
SLEEP_BPOOL_FLUSH5357421780
WRITELOG2413903750
PAGEIOLATCH_SH41671780
PAGELATCH_UP129629615
PAGEIOLATCH_EX462150
PAGEIOLATCH_UP246310
Can you see clearer in those? How do I know what they do, is there...
April 21, 2009 at 12:20 pm
The query DBCC DropCleanBuffers does not seem to be reseting those counters to 0, ... is that Normal?
I just run DBCC DropCleanBuffers; select * from ...Stats.. and it still has...
April 21, 2009 at 12:04 pm
Nicholas Cain (4/21/2009)
DBCC FREEPROCCACHE;
DBCC DROPCLEANBUFFERS;
Run your query, then look at the wait stats (this is a very basic version,...
April 21, 2009 at 11:52 am
I've used the master database for the query to show how it's not the query that is the problem, but really something on the server itself. I can run...
April 21, 2009 at 11:33 am
I checked to see what was the bottleneck on this operation, and got the same time when trying to push from the dev environnement, and insert into the QA Server....
April 21, 2009 at 9:00 am
Thanks Dave, I'll look into the script component to do a Big select case in Vb.net, that should do it! Thanks again!
April 21, 2009 at 7:43 am
Willem Tilstra (4/16/2009)
April 16, 2009 at 12:51 pm
Florian Reischl (4/15/2009)
If you try to use the SCOPE_IDENTITY() to get the id of your currently inserted record this is not correct. The SCOPE_IDENTITY()...
April 15, 2009 at 2:56 pm
Lynn Pettis (4/15/2009)
J-F Bergeron (4/15/2009)
He...
April 15, 2009 at 1:53 pm
I have seen a script where someone set up a "Database level trigger" and caught the sql text that was being sent to the server.
He used it to prevent...
April 15, 2009 at 1:44 pm
xgcmcbain (4/7/2009)
as long as i row_number works in a where statment thats golden thank u
You can create a procedure that will take @Start and @End as parameters, and query your...
April 8, 2009 at 7:04 am
Viewing 15 posts - 286 through 300 (of 441 total)