Viewing 15 posts - 28,201 through 28,215 (of 39,961 total)
It could be a disk issue, then. It isn't a large database, so even on a workstation, it shouldn't take that long. If you run an ad hoc backup, is...
June 28, 2008 at 2:29 pm
There are complicated ways, but honestly I'd just use a dates table, since then you can account for holidays, weekend work, etc. in that table. I'd actually use the dates...
June 28, 2008 at 2:19 pm
Often there's some OS error, maybe file not available or something like that, which causes suspect mode. The error log often pinpoints this, so post the error, as suggested above,...
June 28, 2008 at 2:17 pm
Is the job still doing something? Is it still running or is it running for 12 hours continuously?
I'd run a trace to be sure that something didn't get hung up...
June 28, 2008 at 2:16 pm
There's not enough information here. What was the difference between the scenarios or was this just two different tests?
I could guess that the first time it's possible that your secondary...
June 28, 2008 at 8:42 am
You need a subquery to get the top 5. You could use a CTE as well or a view.
Basically get the top 5 records
select top 5 xx from table yyyyy...
June 28, 2008 at 8:39 am
What's the Error number? It sounds like a hardware issue on your system. are backups completing?
June 28, 2008 at 8:38 am
The log size also depends on how often you run log backups.
If I can generate 100MB of logs in a day from my database, if I backup every hour, I...
June 27, 2008 at 9:46 pm
I'm not sure what calculation you are looking for here. 3 and 4 give either 125% or 75%, how do you calculate 57%?
If you can give the algorithm, we can...
June 27, 2008 at 9:44 pm
There also won't be a deleted table on an insert. Be sure that's the behavior you are looking for.
June 27, 2008 at 9:42 pm
Do you mean new data inserted into a table? There isn't really an "append" in SQL Server. You have no ideas where the rows physically live, so there isn't a...
June 27, 2008 at 9:41 pm
Is this a LIKE search?
I'm not sure you'll get faster than full-text. I suppose you could try some type of hash, but that might not work better. Perhaps breaking into...
June 27, 2008 at 10:04 am
If you add a NEWID() column to your select and then order by it, you'll get some pseudo random results.
June 27, 2008 at 10:01 am
DMO/SMO is what you need to examine. You can create a handle to a SQL Server object and then perform various actions.
A few resources:
http://msdn.microsoft.com/en-us/library/ms162169.aspx
http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=259
June 27, 2008 at 9:47 am
varchar(max) is recommended as text will go away. It doesn't affect your use of SSMS.
you can change the limits, but not sure if they'll get above 65k. Why do you...
June 27, 2008 at 9:43 am
Viewing 15 posts - 28,201 through 28,215 (of 39,961 total)