Viewing 15 posts - 706 through 720 (of 1,271 total)
I only have one problem with this suggestion, why are you using uniqueidentifiers for your primary keys? This is bad, and here's why:
1. A uniqueidentifier is a lot larger than...
May 19, 2007 at 2:14 pm
This sounds a lot like the CLR code that was killing our system. If you want, I can send you a solution in nothing but TSQL.
May 16, 2007 at 10:57 pm
Don't be an enabler!! ![]()
May 16, 2007 at 10:08 pm
It will create a unique clustered non-null index. A primary key must be non-null and must be unique, however, you can add the keyword nonclustered if you don't want it...
May 15, 2007 at 1:12 am
You have an IO bottleneck. Review your disk configuration. Specific to this problem, make sure that the backup is being written to a different drive than the log file, data...
May 15, 2007 at 1:08 am
It probably exists as a different owner than dbo such as: mylogin.Patient_Dem2
May 15, 2007 at 12:57 am
Add the following column to your table:
Alter Table dbo.WebLog Add ilogWritten As Cast(Convert(varchar, logWritten, 112) as int)
Then do this query:
Declare @istartDate int, @iendDate int
Select @istartDate = Cast(Convert(varchar, @startDate, 112) as...
May 15, 2007 at 12:54 am
Perhaps I'm not understanding the question, but the number of days between the last day of the month and the previous last day of the month is the day of...
May 15, 2007 at 12:34 am
Post one of the queries that is known to cause this problem.
Have you reviewed the query plan?
Are the log files on the same drive as the data files? What about...
May 15, 2007 at 12:29 am
Use sp_reassign_dtspackageowner to change the owner of the package to an existing owner.
May 15, 2007 at 12:21 am
I think Anders gave the best answer!! The only other plausible reason is that he's trying to make you look better by intentionally doing bad things.
May 15, 2007 at 12:18 am
The lead developer at my former company had downloaded some canned code off of some website that used the CLR to access the Windows API for time zone information which...
May 15, 2007 at 12:10 am
Adding on to what Tim said, I would leave the FK out of the Subcategories table. Otherwise, you'll have to add a Size subcategory for every category that has a...
May 14, 2007 at 12:25 am
SSIS has its own service entry. However, it is only needed for the creation of the maintenance plan, not for running it. In fact, starting with SP2, you don't even...
May 14, 2007 at 12:14 am
CLR is there to allow you to do what you can not do in T-SQL. You should always prefer T-SQL over CLR when you can because it performs better.
Perhaps in...
May 14, 2007 at 12:07 am
Viewing 15 posts - 706 through 720 (of 1,271 total)