Viewing 15 posts - 13,591 through 13,605 (of 26,486 total)
Has something to do with the null value. Change it an integer value you get the first values inserted into @s-2.
March 22, 2012 at 3:40 pm
ColdCoffee (3/22/2012)
Mathew Abraham (3/22/2012)
Update D set j=s.j, k=s.k from @table_D D,@table_S s where d.i=s.i
The problem is the CROSS JOIN. why do u want to do a cross...
March 22, 2012 at 3:36 pm
I can't answer this myself. I can get the answer 2,4,7 if I flip the order of the inserts in the the table @s-2 such that 2,4,7 is inserted...
March 22, 2012 at 3:28 pm
What is your expected output and what are you getting. I cut/past the code and it appears to work fine for me. Not sure if the results are...
March 22, 2012 at 3:21 pm
From Books Online:
status
tinyint
The bitmask of the article options and status, which can be the bitwise logical OR result of one or more of these values:
1 = Article is...
March 22, 2012 at 3:14 pm
Two things. One, increase the amount of disk space available to the databases. Two, if tempdb is on its own disk(s) you may want to look at using...
March 22, 2012 at 3:06 pm
Since you are using DB Mirroring, you can't change from full recovery model to bull_logged model.
Only thing that comes to my mind is finding a way to spread out the...
March 22, 2012 at 3:04 pm
Mirror, mirror on the wall, just what could be wrong?
March 22, 2012 at 2:55 pm
Can't help you. We can't see from here what you see there. Please post the code, the whole code and nothing but the code.
March 22, 2012 at 2:53 pm
What do you test your code on during development? You don't have a development or test database to work with?
March 22, 2012 at 12:49 pm
But then again, he did just ask for a solution. Next I should probably be more explicit in a situation like this and be sure to provide info on...
March 22, 2012 at 12:48 pm
Well, true. But he went further than just what was suggested. That to me indicates that he wasn't necessarily thinking clearly and definately did a Ready, Fire, Aim....
March 22, 2012 at 12:46 pm
I made a minor change to the code, not sure how it will affect performance as I have nothing to test it against.
with t as
(
SELECT --COUNT(*)
...
March 22, 2012 at 12:38 pm
danielfountain (3/22/2012)
I have a percentage stored as a decimal as per this:
87.41 is 87.41%
It is stored in a decimal (10,7).
Now the majority are whole numbers. Some have two...
March 22, 2012 at 12:21 pm
Viewing 15 posts - 13,591 through 13,605 (of 26,486 total)