Viewing 15 posts - 10,186 through 10,200 (of 26,489 total)
SQLJocky (8/9/2012)
August 9, 2012 at 12:14 pm
Suresh B. (8/9/2012)
Please run this:
DBCC OPENTRAN()SELECT name, log_reuse_wait_desc FROM sys.databases WHERE name = 'dbname'
Have you done this yet? If so, what are the results?
August 9, 2012 at 12:05 pm
And it gets worse if the views your are joining together are based on views joined together.
You can imaging how this can expand to views joining views, joining views...
August 9, 2012 at 10:45 am
HowardW (8/9/2012)
Lynn Pettis (8/9/2012)
August 9, 2012 at 10:41 am
Looking at the execution plan, group by version looks simplier, 4 operators versus 6. The table scan and sort have the same cost associated in both.
August 9, 2012 at 10:36 am
CELKO (8/9/2012)
You also need to start using the ANSI Standard row constructor syntax instead of the old Sybase 1970's stuff you had:
INSERT INTO QA_Tests
VALUES (123, '001', 4),
(123, '002', 4),...
August 9, 2012 at 10:30 am
SQLRNNR (8/9/2012)
Lynn Pettis (8/9/2012)
SQLRNNR (8/9/2012)
Lynn Pettis (8/9/2012)
Here we go again. Let's berate an OP because of things he/she may not even have any control over. ...
August 9, 2012 at 10:24 am
SQLRNNR (8/9/2012)
Lynn Pettis (8/9/2012)
Here we go again. Let's berate an OP because of things he/she may not even have any control over. I will agree...
August 9, 2012 at 10:13 am
That's where you build a database agnostic DAL and your actual database layer is written to support the RDBMS of choice. To provide a system that performs well on...
August 9, 2012 at 10:10 am
Yes. It has everything that the Enterprise Edition has, just that its license is restricted to development/testing.
It has one drawback to be aware of when developing solutions. If...
August 9, 2012 at 10:01 am
Curious, which is the more scalable solution?
DECLARE @persons TABLE(
personid INT,
version INT);
INSERT @persons
VALUES(1,1),(1,2),(1,3),(2,1),(2,2),(3,1),(4,1),(4,2);
SELECT
personid,
maxversion = MAX(version)
FROM
@persons
GROUP BY personid
ORDER BY personid;
WITH BaseData AS (
SELECT
personid,
version,
...
August 9, 2012 at 9:58 am
< rant on >
Here we go again. Let's berate an OP because of things he/she may not even have any control over. I will agree that the OP...
August 9, 2012 at 9:39 am
To start, you will need to run a RESTORE HEADERONLY against the file to determine which file to restore.
Here is the entry in Books Online that should help you with...
August 9, 2012 at 9:01 am
MysteryJimbo (8/9/2012)
Lynn Pettis (8/9/2012)
August 9, 2012 at 8:51 am
Sean Lange (8/9/2012)
August 9, 2012 at 8:48 am
Viewing 15 posts - 10,186 through 10,200 (of 26,489 total)