Forum Replies Created

Viewing 15 posts - 28,006 through 28,020 (of 39,769 total)

  • RE: Shrink or not to shrink? VERY Large database.

    Gail is correct. You need enough space to reindex, and if you shrink, you might undo all the efforts you've done in reindexing as a shrink might move things around.

    Leave...

  • RE: Native Backup Failure

    Please post the script. I understand you're a new DBA, but you're not giving us enough of a picture.

    Can you log in as SA and try the job?

    Anything that is...

  • RE: How can i insert multiple rows with multiple clumns

    It's not clear what you want. Please explain what you want to do, and break your sentences so we can understand the process you want to consider.

    If you want to...

  • RE: Database backup takes long

    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...

  • RE: Retreiving a count by date including dates with no data.

    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...

  • RE: Databases in Suspect Mode

    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,...

  • RE: SQL Server job taking abnormally long time - all of a sudden

    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...

  • RE: Doubt on LogShipping

    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...

  • RE: select avg(top 5 columnname) where condition???

    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...

  • RE: Got Error !!!

    What's the Error number? It sounds like a hardware issue on your system. are backups completing?

  • RE: Why is my backup file so much larger than my mdf

    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...

  • RE: Calculating a Percentage 2

    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...

  • RE: Update Trigger

    There also won't be a deleted table on an insert. Be sure that's the behavior you are looking for.

  • RE: Detecting Database Append from .NET Application

    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...

  • RE: Search System

    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...

Viewing 15 posts - 28,006 through 28,020 (of 39,769 total)