Viewing 15 posts - 286 through 300 (of 442 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...
Cheers,
J-F
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...
Cheers,
J-F
April 22, 2009 at 7:01 am
Nicholas Cain (4/21/2009)
Cheers,
J-F
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,...
Cheers,
J-F
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...
Cheers,
J-F
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...
Cheers,
J-F
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,...
Cheers,
J-F
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...
Cheers,
J-F
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....
Cheers,
J-F
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!
Cheers,
J-F
April 21, 2009 at 7:43 am
Willem Tilstra (4/16/2009)
Cheers,
J-F
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()...
Cheers,
J-F
April 15, 2009 at 2:56 pm
Lynn Pettis (4/15/2009)
J-F Bergeron (4/15/2009)
He...
Cheers,
J-F
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...
Cheers,
J-F
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...
Cheers,
J-F
April 8, 2009 at 7:04 am
Viewing 15 posts - 286 through 300 (of 442 total)