Viewing 15 posts - 3,631 through 3,645 (of 7,187 total)
Mark
I'm not sure what your point is. The question is about compressed databases (not compressed disks), as was my reply. I apologise if I didn't word mine clearly.
I...
January 30, 2014 at 8:24 am
I think you're assuming this question is more complicated than it actually is. What it's actually saying is this: "I have two databases that take up the same size...
January 30, 2014 at 5:21 am
pmadhavapeddi22 (1/30/2014)
I too agree with patrick, When we are compressing already compressed db we wont get much space in it. That is why i feel option C is correctthanks
Precisely. ...
January 30, 2014 at 3:24 am
OK, so fix that. When you set the value of a scalar variable, you can only pass a single value to it. If the SELECT statement you use...
January 28, 2014 at 3:29 am
The first thing to try is to put a SELECT @ADR3 statement in just after you set the value of the variable. Then you can see whether the problem...
January 28, 2014 at 3:04 am
Happy to help, and I'm glad it turned out so well. Please will you share your solution, in case anyone else has a similar issue and wonders how you...
January 28, 2014 at 2:20 am
Jeff's and Lynn's queries return the last value, which, as was pointed out, isn't necessarily the largest. Depending on what the exact requirement here is, it may be worth...
January 27, 2014 at 9:57 am
I remember once having a conversation with the support team of another vendor of third-party backup software, and resigning myself to the fact that I was going to have to...
January 24, 2014 at 8:04 am
If you take a differential backup, you'll need the original backup as well. But yes, your differential is likely to be almost as large as a full backup. ...
January 24, 2014 at 5:37 am
You can write your stored procedure with a table-valued parameter instead of scalar parameters. You'd need to use an OUTPUT clause on your INSERT statement instead of relying on...
January 24, 2014 at 4:48 am
Here's one way, but I'm not sure that it's the best. Create a table called ForbiddenPatterns with columns Size, Colour, Pattern. Insert one row for each forbidden combination....
January 24, 2014 at 4:41 am
You can check the authentication mode in the registry. If it's set to Windows only, change it to Mixed and try sa again. If that doesn't work, you...
January 23, 2014 at 9:56 am
So the answer to your original question is no, it's not overkill. You can't rely on the clustered index for sorting query results. Parallelism, advanced scans and other...
January 23, 2014 at 3:13 am
Fairly simple in T-SQL, as well:
SELECT
a.RowNumber
,a.name
,a.dQty
,a.Price
,b.RowNumber
,b.name
,b.dQty
,b.Price
FROM
MyTable a
LEFT JOIN
MyTable b ON a.RowNUmber + 1 = b.RowNumber and a.RowNumber%2 = 1
John
January 23, 2014 at 2:41 am
Viewing 15 posts - 3,631 through 3,645 (of 7,187 total)