Forum Replies Created

Viewing 15 posts - 211 through 225 (of 345 total)

  • RE: Update with Coalesce. Select one employee only.

    Try assigning the value of Employee_PK_ID to a variable in your first select statement.

    Then in the where clause of the update statement, have:

    [font="Courier New"]WHERE @Employee_PK_ID_variable = tbl_EmployeeWageRates.Employee_PK_ID[/font]

    As it is currently...

  • RE: 18456 error, again

    SQL accounts (in SQL 2005) can be locked out if you are enforcing password policies & password expiration (only applicable if you have installed on Windows Server 2003).

    When connecting to...

  • RE: BackupExec and SQL 2005 backup folders:

    Please don't cross-post. I replied to this in another area.

  • RE: Specific Grant addition to sql login base server role

    Check out link below in BOL for GRANT syntax. You can restrict it to columns if you really want.

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/c001c2e7-d092-43d4-8fa6-693b3ec4c3ea.htm

  • RE: BackupExec and SQL 2005:

    Has he actually stated that he wants to run a Backup Exec SQL Agent? From what you've written, he just wants to do what you want him to -...

  • RE: Best practices for shrinking transaction log file

    If you must backup the log with truncate_only, make sure you immediately do a full database backup. Otherwise you risk losing any data since the last backup if the...

  • RE: Remove timestamp from DB backups?

    Since you know what the filename is going to be, you could construct the restore statement with that in mind & use EXEC or sp_executesql:

    [font="Courier New"]DECLARE @BackupFile varchar(100),

    ...

  • RE: RESTORE IN SQL 2005

    It won't matter who you are logged in as - when SQL Server runs a backup/restore command, it uses the credentials of the account the SQL Server service is started...

  • RE: Database exists but name is not legal ?

    Yep, that was one of our biggest hurdles - sorting out the account references, because they weren't consistent between the documents.

    MS obviously need to do more blind testing - hand...

  • RE: SQL Server 2005 Instance

    Just watch out for removing things like Management Tools. I removed an instance (think it was 2000, not 2005) on a multi-instance server and was left with the other...

  • RE: Good SQL Backups, problem with SQL Server Backup

    What Matt said. At my last job, (with an outsourcer), I had to know about Legato, Tivoli, ARCserve & Backup Exec agents. And restoring from them can be...

  • RE: 2005 Maintenance Plans and 2000 Databases

    Like the error implies, there is no xp_create_subdir in SQL 2000.

    You're pretty much asking for trouble trying to get SQL 2005 maintenance plans working with 2000 servers, especially given how...

  • RE: DDL trigger for RESTORE DATABSE

    In lieu of a trigger, have you considered scripting the restore process, including post-restore steps of creating the user you require? If it is a regular occurrence, maybe implement...

  • RE: SQL Server installation practise server

    There are the Microsoft TechNet Virtual Labs. I think you need to have a subscription to TechNet to be able to use them. The URL is here if...

  • RE: Database exists but name is not legal ?

    I had a similar issue with our SharePoint setup. Only I managed to catch it before it went into production. Took one look at the GUID in the...

Viewing 15 posts - 211 through 225 (of 345 total)