Viewing 15 posts - 49,291 through 49,305 (of 49,566 total)
My main hobbies are Aikido and computer graphics.
After a day at work it's great to step onto the mat and forget everything except the partner you're working with and the...
December 13, 2005 at 6:39 am
The traceflag is mentioned in Books Online under configuring database mirroring
| Important: |
|---|
| Microsoft support policies do not apply to the database mirroring feature in SQL Server 2005.... |
December 12, 2005 at 4:54 am
Turning off the rpc security didn't help. I was getting the error about not been able to enlist in the specified transaction coordinator until I made some changes in the...
December 5, 2005 at 11:34 pm
Could you give us a little bit broader description of tables involved and what fields are unique?
Ideally you shouldn't put more than one value in a field (doing so...
December 5, 2005 at 7:28 am
update order_header set order_header.total_weight = TotalOrder.TotalWeight from (SELECT order_no, sum(weight) AS TotalWeight FROM order_lines GROUP BY order_no) TotalOrder where order_header.order_number= TotalOrder.order_no
Not tested, but should be more-or-less right.
December 5, 2005 at 4:16 am
awww.. not a concatenated list...
that will be absolutely horrible to search through...
Search through? How about updating to remove a job. That goes...
December 5, 2005 at 4:13 am
You could check the syslocks and syslockinfo tables in the master database to see if there are any exclusive locks on the table in question. That would tell you if there's...
December 5, 2005 at 3:51 am
You don't. You normalise your database schema so that a single field stores a single value.
In your example use 3 tables. 1 to store details of the user. (id =...
December 5, 2005 at 3:43 am
Varchar - requires 2 bytes + the amount of characters entered per record. The two bytes is used to store the actual length.
If a field is defined VACHAR(5000) and I...
December 2, 2005 at 2:38 am
I'll add http://www.sqlskills.com
And don't forget the SQL Books Online. It's probably the best reference to SQL that you'll find.
December 2, 2005 at 1:07 am
You can't. You can only delete a record if you can identify it. (At least in sQL 2000. In SQL 2005 the DELETE TOP 3 ... might work.)
Your best bet...
December 1, 2005 at 4:21 am
A developer that codes a view as SELECT * FROM [Very Big Table]...that is what does not belong in the IT environment
True, but neither does a DBA who assumes that...
November 27, 2005 at 10:57 pm
Yeah, I guessed much that. I like to give the .NET develpers here a hard tme too, even though I'm also classified a developer
November 27, 2005 at 10:48 pm
REPLACE(@str,'''','''''')
Works in SQL 2000, can't say about 7.
November 25, 2005 at 5:38 am
Viewing 15 posts - 49,291 through 49,305 (of 49,566 total)