Viewing 15 posts - 1,681 through 1,695 (of 9,641 total)
I have couple other recommendations that might help as well. I'd code this something like this:
IF EXISTS(Select 1 From Inventory where FlightNumber='F3241b' AND total >= sold + 1)
...
March 16, 2012 at 9:21 am
You could use a an UPDLOCK table hint on the select statement or you could use SERIALIZABLE as the Isolation LEVEL. I honestly don't know which one will work...
March 16, 2012 at 9:09 am
You mean something like this:
SELECT
OBJECT_NAME(I.object_id) AS table_name,
I.name AS index_name,
...
March 16, 2012 at 8:59 am
When connected to the SQL Server on the copy, what does SELECT @@SERVERNAME return?
Check out this article, http://msdn.microsoft.com/en-us/library/ms143799.aspx
March 16, 2012 at 8:45 am
Can you be more specific?
What do you mean by "it was not migrated full database"? Does that mean that you were missing data or that you need to migrate...
March 16, 2012 at 8:26 am
Sure there are lots of things that can cause this:
Other processes running on the server
Having to go to disk instead of memory to retrieve the data
Network latency
A better measure of...
March 16, 2012 at 8:22 am
Return values are rarely used to determine the status of a stored procedures execution. Normally you will either let the error bubble up to the client or handle the...
March 16, 2012 at 8:18 am
Grant Fritchey (3/15/2012)
Jack Corbett (3/15/2012)
herladygeekedness (3/15/2012)
March 15, 2012 at 3:11 pm
jcrawf02 (3/15/2012)
March 15, 2012 at 3:07 pm
herladygeekedness (3/15/2012)
March 15, 2012 at 10:53 am
L' Eomot Inversé (3/15/2012)
Paul's anti-marriage poison (which...
March 15, 2012 at 10:48 am
What about storage? What changed?
March 14, 2012 at 3:29 pm
Steve Jones - SSC Editor (3/13/2012)
I'd like to think that we aren't "parenting" newbies like this: http://online.wsj.com/article/SB10001424052702304450004577277482565674646.html?mod=wsj_share_tweet (about 15 paras in)
Wait, that was done in southern California, does that really...
March 14, 2012 at 3:24 pm
Have you checked index fragmentation? Have you updated statistics?
How many CPUs/cores on the new box?
Can you see what happens if you set MAXDOP = 1 to the query? ...
March 14, 2012 at 9:59 am
Joe,
I believe the OP needs a view that shows both PL and BS amounts in YTD, but the calculation is only needed for the PL amounts. Also, the OP...
March 14, 2012 at 9:35 am
Viewing 15 posts - 1,681 through 1,695 (of 9,641 total)