Viewing 15 posts - 49,066 through 49,080 (of 49,571 total)
It's generally reomended that sub queries go in the from clause, not in the select. Sub queries in the select get evaluated for every row of the result set and...
August 1, 2006 at 12:25 am
July 31, 2006 at 3:09 am
Where I live the term 'postal service' is a joke. It's more postal non-service Stuff takes a week or 2 weeks to get from one city to another (50km apart)....
July 28, 2006 at 2:20 am
It may also be that the indexes are fragmented. Performance degrades as indexes get more fragmented and it may be that recently the fragmentation reached a point where the query...
July 28, 2006 at 1:14 am
You can use a trigger to log inserts, updates and deletes. There's no way to audit selects though, not within SQL directly. Books online gives a good overview of trigger...
July 28, 2006 at 1:02 am
http://www.microsoft.com/learning/mcp/default.mspx
That'll give you a good overview of what certifications are available and what exams and courses exist for each.
July 27, 2006 at 2:39 am
Why do you say that? What exactly doesn't work? I've found it works in most places, missing a few irritating things (like picking up new tables, or when using 3-part...
July 26, 2006 at 12:28 am
As I said, it will force the database to grow again, when data is added. This grow may occur at a busy time, slowing the database down. It will fragment your indexes, possibly...
July 20, 2006 at 3:39 am
It's not considered good practice to shrink a production database.
If the database has been shrunk and new data is added then it has to grow again, probably at an...
July 20, 2006 at 12:10 am
I suggeested it as al alternative to a second table, which he said wasn't really what he was looking for.
A second thought, no need to do the update, can specify...
July 19, 2006 at 5:08 am
ALTER TABLE #Table
ADD Variable1 <data type>
ADD Variable2 <Data Type>
UPDATE #Table
SET Variable1 = @Var1, Variable2 = @Var2
Is that what you're looking for?
July 19, 2006 at 1:21 am
I would suggest you do an integrity check on your database. It looks like you might have allocation errors.
DBCC
CheckDB ('<YourDBName>')
July 18, 2006 at 1:15 am
That's users for you.
My pleasure, good luck hunting. If you do fnd the cause, please post your solution here.
July 13, 2006 at 11:02 am
It states 1 row inserted cause that's what you set @rowcount to...
SELECT @rowCount = Len(1) FROM inserted
Change that back to SELECT @rowCount = count(*) FROM inserted and the print will read...
July 13, 2006 at 8:46 am
Viewing 15 posts - 49,066 through 49,080 (of 49,571 total)