Forum Replies Created

Viewing 15 posts - 3,481 through 3,495 (of 7,429 total)

  • RE: Block the DBA?

    Also, with triggers there are no guarantees they will fire on system tables and that they might not cause your server heartburn so to speak within system transactions. Good concepts...

  • RE: NoCount

    No it is not a DB option it is a connection option. You can go into Server properties and on the Connections tab set the default connection properties to "No...

  • RE: Finding the Mode

    This is the base code I use to determine mode.

    SELECT [id] AS MODE FROM tblHA GROUP BY [id] HAVING COUNT(*) = (

    SELECT MAX(CNT) AS MaxCNT FROM (

    SELECT count(*) AS CNT...

  • RE: Table/Column Naming Conventions (Opinions Wanted)

    As long as it makes sense to you and you are sure the next person coming along will understand convention is always up to you. Personally I prefer to use

    tbl_Employees

    simply...

  • RE: How to create multiple backup files for a db

    Zip is still limited to 4GB for any version I have seen for an uncompressed file. However the SQL thrid party backups SQLZip and SQL Litespeed both support compression without...

  • RE: How can I get around using ntext data type in SP?

    Unfortunately, you hit on the one thing we all have tried to figure out. You can put the data into a varchar(8000) but if it goes over 8000 you cannot...

  • RE: How can I get around using ntext data type in SP?

    Unfortunately you cannot declare a variable for use of those types for use. You will have to use a char or varchar type if possible for your data.

  • RE: Worst Practice - Bad Comments

    Some of the early products are this way. They changed almost everyday depending on who called you and none of the code had documentation or comments so you were left...

  • RE: Progress on long queries?

    The way you wrote it may not work right and in fact may be setting the value to every value in header or to itself. We have found quarks with...

  • RE: Copy of table to test

    Try using TRANSACTIONS.

    BEGIN TRANSACTION

    make you change

    check your change

    ROLLBACK TRANSACTION or COMMIT TRANSACTION

    They have to all happen on the same connection. Losing the connection will autocommit. I usually test UPDATE statements...

  • RE: Progress on long queries?

    46 hours seems long, could have stalled. One thing tha can give you a clue is if your Transaction log is set to grow and happens to do so. But...

  • RE: BACKUP STRATEGY.

    I originally did backup to tape Full once a week then diff other days. Then it wss moved to full everyday. But the problem was the same I was running...

  • RE: restoring a differntial backup

    Ok, on the Options table of the Restore database dialog then is an option the exact wording in 2000 and I believe 7 is

    "Leave database nonoperational but able to restore...

  • RE: [?] dbcc inputbuffer

    I am pretty sure it is not possible. Trace I don't believe even uses inputbuffer if you read all the sections on it in SQL BOL. In SQL 2000 you...

  • RE: restoring a differntial backup

    If doing the FULL restore thru QA add WITH NORECOVERY to it then do the Diff. If thru EM then on the second tab of the restore dialog you will...

Viewing 15 posts - 3,481 through 3,495 (of 7,429 total)