Viewing 15 posts - 316 through 330 (of 470 total)
Are you looking for something like this:
insert into products
select ProductLine, ProductCode, NULL, NULL
from products
where not exists (select 1 from products p2
...
June 6, 2011 at 1:44 pm
As to why something goes through and cleans up the ghost records instead of just allowing the space get reused, that way the data doesn't remain on disk so it...
June 2, 2011 at 9:00 am
You can create two different foreign keys but that won't require the two columns are on the same row. You could also create a trigger to enforce it or...
June 1, 2011 at 1:49 pm
forsqlserver (6/1/2011)
Thanks,...Trace is any command or Hint internally ?
There are a number of different things that trace flags can do. Here's an article with a list:
June 1, 2011 at 10:32 am
We saw this recently when the Windows team was doing some domain controller work. They had to fail the domain controller over to another node so there were some...
May 31, 2011 at 10:24 pm
This depends on a number of factors. I've seen recommendations to grow the files to fill the disk so autogrowth isn't needed. If possible, that would be preferred...
May 31, 2011 at 8:37 pm
Another recommendation I would throw in is to have your backups on a different location. I've seen a number of clients run out of disk space and keeping backups...
May 31, 2011 at 8:28 pm
To my knowledge the SQL engine has always worked like that. I'm not sure if there have been any changes on the SSIS side that could result in a...
May 31, 2011 at 8:03 pm
Try looking in the logs and see if anything pops up there. You can also look in the default trace if SQL Express has it. You'll be able...
May 28, 2011 at 6:58 am
Are you talking about a report in SSRS? I'm trying to reconcile what you're asking with what I know about SQL and that's the only thing that makes sense...
May 28, 2011 at 6:55 am
There are select times when adding in more data than is needed and then deleting makes more sense. I had to do that one place because the query that...
May 27, 2011 at 12:39 pm
It's a big question and if you want a quick answer it's, "It depends."
How often backups, integrity checks, and reindexing needs to be done depends on your environment. If...
May 27, 2011 at 12:27 pm
Peter Maloof (5/27/2011)
May 27, 2011 at 8:58 am
Thanks for the article. It's one I'll have to keep in my bag of tricks because it'll likely come in handy some day.
May 26, 2011 at 10:52 am
Viewing 15 posts - 316 through 330 (of 470 total)