Viewing 15 posts - 1,096 through 1,110 (of 1,315 total)
A couple of suggestions:
1. Don't query the same table twice if you can get both results in one pass
2. Group the "many" side of a one-to-many relation before joining
3. Compare...
July 27, 2005 at 12:02 pm
The description-concatenation function could be:
CREATE FUNCTION dbo.ufnConcatDescription (@number as varchar(30))
RETURNS varchar(8000)
AS BEGIN
DECLARE @varDescription varchar(8000)
SET @varDescription = ''
SELECT @varDescription = @varDescription + dbo.cm3ra4.[description] + char(13) + char(10)
FROM...
July 27, 2005 at 11:36 am
To select, for example, the 4th "page" of 10,000 records you could use:
SELECT * FROM (
SELECT TOP 10000 * FROM (
SELECT TOP 50000 *
FROM Customers
ORDER BY...
July 27, 2005 at 7:13 am
One database should be manageable with Enterprise Manager. You could still use my steps for the final migration (single user, final backup, then multi-user readonly) through Enterprise Manager.
July 26, 2005 at 2:02 pm
Assuming you have multiple databases to migrate and a limited maintenance window, trying to use Enterprise Manager is risky unless you enjoy trying to work quickly under pressure with no mistakes. ...
July 26, 2005 at 9:05 am
July 25, 2005 at 8:35 pm
I've got users who insist on linking Access to exported text files (because that's how they did it 10 years ago), instead of linking to exactly the same data in...
July 25, 2005 at 5:14 pm
A case of rampant curiousity, I understand the symptoms. It's an interesting enough question that I attempted a web search or two, but came up empty.
July 25, 2005 at 3:57 pm
If you're under the impression that this is some kind of a permanent setting, it's not. The rollback option only applies to the ALTER DATABASE statement it is part of. Both WITH...
July 25, 2005 at 3:52 pm
Again, I don't know the query for that, but it raises some other questions.
Did you issue the ALTER TABLE yourself, and forget what the time limit was? I hope not,...
July 25, 2005 at 3:37 pm
I don't think SQL Server is going to have any idea what to do with a REFCURSOR object. I'm guessing because I've never worked with Oracle, but it sounds impossible.
I...
July 25, 2005 at 1:29 pm
Certainly caution in letting users write ad-hoc queries is warranted, but is there some inefficiency built into Access that makes it a bad idea? Wouldn't the same users be able...
July 25, 2005 at 1:23 pm
I am not aware of any way to tell the server to rollback a transaction at some point in the future, usually when an error occurs that requires a rollback...
July 25, 2005 at 1:05 pm
There's a big gotcha lurking in the table-rebuild script generated by Enterprise Manager. It uses transactions, but I believe the whole thing is running in some outer transaction that is...
July 22, 2005 at 9:58 am
I feel I should clarify that my post was about the general case of when the server won't start because it can't find a required system database (other than master). ...
July 22, 2005 at 9:39 am
Viewing 15 posts - 1,096 through 1,110 (of 1,315 total)