Viewing 15 posts - 766 through 780 (of 1,065 total)
That's it, something like
ALTER TABLE UserProfileInfoDetails DROP CONSTRAINT fk_Country
Then
ALTER TABLE UserProfileInfoDetails ADD CONSTRAINT fk_Country
...
July 4, 2008 at 11:53 am
Just use the "NOT FOR REPLICATION" clause when you create the constraints.
July 4, 2008 at 10:46 am
Try this:-
select reqno, v.empno, deptno, fromdate, vac_days
from vacation v
inner join (select empno, sum(vac_days) as vacdays
...
July 4, 2008 at 9:05 am
I'm surprised that the performance is poor just firing the trigger.
What is the "clause" you have put in the trigger to recognize the stored procedure... is this clause causing the...
July 4, 2008 at 7:58 am
You are checking for the existence of the column in the [Promotion] table, and then inserting into the [PromotionSchedule] table... is that correct?
July 4, 2008 at 6:37 am
If your update query decides to scan the whole table, then it's not going to take any longer with or without the complex criteria.
The difference in the time is due...
July 4, 2008 at 4:40 am
Steve,
Just think of the transaction log backups as being independent of the full log backups.
As long as you have an unbroken "chain" of these, any full backup taken somewhere...
July 3, 2008 at 8:07 am
If you have one database per survey, you'll have a lot of fun trying to produce any consolidated reports...
July 3, 2008 at 7:44 am
I hope you aren't wrong Mr Irish!!
Take the following backup sequence:-
Full Backup 1
Txn Log Backup 1
Txn Log Backup 2
Txn Log Backup 3
Full Backup 2
Txn Log Backup 4
Txn Log Backup 5
Txn...
July 3, 2008 at 6:57 am
I'm sure someone will come up with a more elegant solution, but this should work (where @s-2 is the string you're looking to extract from)
select reverse(substring(reverse(@s),0,charindex('|',reverse(@s))))
July 3, 2008 at 4:43 am
I know every case is different, but deleting 20,000 doesnt sound as though it should be taking anything like 5 minutes.
A few thoughts:-
Assuming you are doing a DELETE... WHERE..., are...
June 30, 2008 at 7:32 am
I also did a lot of interviewing recently for experienced DBA's, and gave each candidate the same list of 20 questions. Just as in Grant's post, these were simple e.g....
June 30, 2008 at 7:19 am
I assume your columns are tab delimited, and each line is CR delimited. If so you had /t instead of \t), and had an additional space after the /t:, same...
June 30, 2008 at 6:24 am
Viewing 15 posts - 766 through 780 (of 1,065 total)