Forum Replies Created

Viewing 15 posts - 42,856 through 42,870 (of 49,566 total)

  • RE: database shrinking issue !!!!!!!

    bhuvnesh.dogra (11/28/2008)


    or you have any alternative to do database shrinking ?

    Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in...

  • RE: SQL Data and Log Files

    Why do you want to shrink? Databases tend to grow as more data gets put in them.

    Shrinking causes massive fragmentation and will just result in the data file growing...

  • RE: Cannot get value from SELECT statement

    The line SELECT BuildID AS [@BuildID] is actually naming the return column @BuildID, not assigning the value to the variable. To do the assignment, you need to do it like...

  • RE: SP error on run

    As a wild guess, you're trying to insert a duplicate primary key value. ie, you're trying to insert a value for ClientID that's already there. Primary key must be unique.

  • RE: Log shipping restore error

    You should only restore the log backups that were taken after the full backup. Not before.

    Why bulk-logged? Are you doing lots of bulk operations?

    If you create a DB in simple...

  • RE: SP error on run

    Truncation can occur any time you're inserting from a wider column into a narrower column. In the insert statement you posted, you're doing that 4 times.

    You're inserting a varchar(255) (Client)...

  • RE: Cant make col as unique key

    I read your first post just fine, thank you.

    Is the 2-column key just because of that, or is there another reason you can't have a 2-column unique key (with...

  • RE: Offline, Online and Single-User mode while restoration

    skyw (11/27/2008)


    Is taking the database offline and then deleting it an option at all? (rather than bringing it to the single-user mode and then deleting it.)

    Sure.

    ALTER DATABASE SomeDB SET OFFLINE...

  • RE: capture SQL statements before execution

    v.reddy (11/27/2008)


    I have one application, that accessiong SQL database, some reports are giving slow performance, so i wanted to catch those queries and improve some optimization then send to the...

  • RE: Cant make col as unique key

    I'm not sure there's a good way in SQL 2005.

    Why can't you make the combination of the two columns unique?

  • RE: capture SQL statements before execution

    rbarryyoung (11/27/2008)


    Actually, Plan Guides might be able to do this. Unfortunately, I missed that session at PASS.

    Only if a hint will help the query, and only if its one...

  • RE: The Ebb and Flow of Community

    lrams99 (11/27/2008)


    Hi Guys

    If you have any idea in this issue, Please give some tips onthis..and detailed process

    Please post a new thread with your question and don't hijack a completely unrelated...

  • RE: Transactional replication problem

    v.g.mujumdar (11/27/2008)


    Please tell me why this message occured? is this error? How can I understand that my replication is running normally?

    It's not an error. In transactional replication the snapshot's...

  • RE: get output columns of a proc without executing it....

    Yup, because a proc doesn't have a defined output. It's possible to have a procedure that returns various different resultsets (or none at all) depending on parameters passed.

  • RE: DB Backup

    Um... Did anyone notice that this thread is 4 and a half years old, and was answered accurately 10 days after it was posted?

Viewing 15 posts - 42,856 through 42,870 (of 49,566 total)